Giter Site home page Giter Site logo

Comments (6)

cbakgly avatar cbakgly commented on July 21, 2024

You can safely remove that rsync statement. Neither does that folder exist nor build need. :)

from crossbridge.

stopiccot avatar stopiccot commented on July 21, 2024

OK, I commented this line. Now I'm getting error while building stdlibs target:

In file included from /Users/stopiccot/code/flash/crossbridge/avm2_env/usr/src/kern/kern_umtx.c:41:
/Users/stopiccot/code/flash/crossbridge/sdk/usr/platform/darwin/bin/../../usr/include/sys/mutex.h:49:27: error: machine/mutex.h: No such file or directory

Where I can get missing files?

from crossbridge.

cbakgly avatar cbakgly commented on July 21, 2024

This comes from folder avm2_env. Please try to search for that file, and copy it to the location prompted.
Well, a better way to do this, is manually build each target to see if anything wrong.
And may need to remove the folder where output files are laying at. Or modify the Makefile, since is very big, and tends to be error-prone.
Some targets on branch futures still fail. Either need to modify the compiler or the library code.
It's not completed yet.

from crossbridge.

stopiccot avatar stopiccot commented on July 21, 2024

I've found machine/mutex.h in avm2_env only on master branch. On futures branch there is only sys/mutex.h file. Can I just copy machine/mutex.h from master branch? As for building each target manually I don't know which targets I need. I just want to build whole sdk to test it on my C++11 code and provide you some feedback.

from crossbridge.

cbakgly avatar cbakgly commented on July 21, 2024

Uploaded. Thanks for your feedback!
After pull it, you still have to copy it from avm2_env/usr/include/machine to sdk/usr/include/machine, if you want to continue with your current build.

And yes, most of files are the same on both branches. You surely can borrow one.
If you want to try clang, you have to change the variable to 3.2 (searching for "2.9") in the Makefile.
But the compiler is partially workable. And may not be successfully to do what you want. FYI.

from crossbridge.

stopiccot avatar stopiccot commented on July 21, 2024

I've copied machine/mutex.h from master branch (still not sure it is OK). Now I'm getting another error while building stdlibs target:

--- sigwait.o ---
/Users/stopiccot/code/flash/crossbridge/build/mac/lib/src/lib/libc/sys/sigwait.c:34: error: ‘_sigwait’ undeclared here (not in a function)
cc1: warnings being treated as errors
/Users/stopiccot/code/flash/crossbridge/build/mac/lib/src/lib/libc/sys/sigwait.c:34: warning: type defaults to ‘int’ in declaration of ‘sigwait’
/Users/stopiccot/code/flash/crossbridge/build/mac/lib/src/lib/libc/sys/sigwait.c:34: error: ‘sigwait’ redeclared as different kind of symbol
/Users/stopiccot/code/flash/crossbridge/build/mac/lib/src/lib/libc/../../include/signal.h:87: error: previous declaration of ‘sigwait’ was here
*** [sigwait.o] Error code 1

from crossbridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.