Giter Site home page Giter Site logo

Failing to build about crossbridge HOT 7 CLOSED

adobe-flash avatar adobe-flash commented on July 3, 2024
Failing to build

from crossbridge.

Comments (7)

liaocheng avatar liaocheng commented on July 3, 2024

Hi, you can check build/logs/basictools.txt to see what's the error.

from crossbridge.

stopiccot avatar stopiccot commented on July 3, 2024

The problem is that I don't have this file and logs folder at all:

stopiccot-macbook:crossbridge stopiccot$ cd build/
stopiccot-macbook:build stopiccot$ ls -al
total 0
drwxr-xr-x 6 stopiccot staff 204 Jun 27 18:30 .
drwxr-xr-x 56 stopiccot staff 1904 Jun 27 18:26 ..
drwxr-xr-x 46 stopiccot staff 1564 Jun 27 18:30 apidocs
drwxr-xr-x 2 stopiccot staff 68 Jun 27 18:26 extra
drwxr-xr-x 12 stopiccot staff 408 Jun 27 18:30 mac
drwxr-xr-x 44 stopiccot staff 1496 Jun 27 18:30 tempdita
stopiccot-macbook:build stopiccot$

from crossbridge.

stopiccot avatar stopiccot commented on July 3, 2024

Probably you ment "build/mac/logs/basictools.txt"? This is what I have in it:

/Users/stopiccot/code/flash/crossbridge/tools/noenv/noenv.c: In function 'main':
/Users/stopiccot/code/flash/crossbridge/tools/noenv/noenv.c:29:3: warning: passing argument 1 of 'execvp' from incompatible pointer type [enabled by default]
In file included from /Users/stopiccot/code/flash/crossbridge/tools/noenv/noenv.c:21:0:
/usr/include/unistd.h:475:6: note: expected 'const char ' but argument is of type 'const int *'
/Users/stopiccot/code/flash/crossbridge/tools/noenv/noenv.c:29:3: warning: passing argument 2 of 'execvp' from incompatible pointer type [enabled by default]
In file included from /Users/stopiccot/code/flash/crossbridge/tools/noenv/noenv.c:21:0:
/usr/include/unistd.h:475:6: note: expected 'char * const
' but argument is of type 'const int *'
/Users/stopiccot/code/flash/crossbridge/tools/as/as.cpp: In function 'FILE
tmpfile(std::string_, const string&)':
/Users/stopiccot/code/flash/crossbridge/tools/as/as.cpp:223:37: error: 'mkstemps' was not declared in this scope
/Users/stopiccot/code/flash/crossbridge/tools/as/as.cpp: In destructor 'Unlinker::~Unlinker()':
/Users/stopiccot/code/flash/crossbridge/tools/as/as.cpp:260:25: error: 'unlink' was not declared in this scope
make[3]: *_* [avm2-as] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [basictools] Error 2

from crossbridge.

stopiccot avatar stopiccot commented on July 3, 2024

Seems that I found the reason. I was building with gcc 4.7 from macports. Everything seems to be OK with llvm-gcc 4.2 from Apple.

from crossbridge.

stopiccot avatar stopiccot commented on July 3, 2024

Now I have another error. This time while building "gcclibs" target:


Making install in po
Making install in testsuite
make[6]: warning: -jN forced in submake: disabling jobserver mode.
/bin/sh: Gaming: command not found
make[3]: *** [libobjc] Error 127
make[2]: *** [gcclibs] Error 2

from crossbridge.

stopiccot avatar stopiccot commented on July 3, 2024

"/bin/sh: Gaming" error was caused by:

export PATH=/Applications/Adobe\ Gaming\ SDK\ 1.1/Utilities/ATF\ Tools/Mac:$PATH

in my bash profile. Seems that spaces in PATH are not supported.

from crossbridge.

stopiccot avatar stopiccot commented on July 3, 2024

After switching to llvm-gcc42 and removing spaces from PATH I finally compiled master branch of crossbridge

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.