#22546: XULRunner Compilation Error on Snow Leopard 10.6.2 ---------------------------------+------------------------------------------ Reporter: acgrissom@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: xulrunner ---------------------------------+------------------------------------------ Comment(by acgrissom@…): I have compiled the dependencies with +universal (when possible). sydney_audio_mac.c /usr/bin/gcc-4.2 -o sydney_audio_mac.o -c -fvisibility=hidden -DOSTYPE=\"Darwin10.2.0\" -DOSARCH=Darwin -I. -I. -I../../../dist/include -I../../../dist/include/sydneyaudio -I/opt/local/include/nspr -I/opt/local/include/nss -I/opt/local/include -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_xulrunner/work/mozilla-1.9.1/dist/sdk/include -I/opt/local/include -fPIC -I/opt/local/include -I/opt/local/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -Wno-long-long -O2 -arch i386 -fno-strict-aliasing -fpascal-strings -fno-common -I/Developer/Headers/FlatCarbon -pthread -pipe -DNDEBUG -DTRIMMED -O2 -I/opt/local/include -I/opt/local/include -include ../../../mozilla- config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/sydney_audio_mac.pp sydney_audio_mac.c sydney_audio_mac.c: In function 'sa_stream_open': sydney_audio_mac.c:182: error: 'ComponentDescription' undeclared (first use in this function) sydney_audio_mac.c:182: error: (Each undeclared identifier is reported only once sydney_audio_mac.c:182: error: for each function it appears in.) sydney_audio_mac.c:182: error: expected ';' before 'desc' sydney_audio_mac.c:183: error: 'desc' undeclared (first use in this function) sydney_audio_mac.c:189: error: 'Component' undeclared (first use in this function) sydney_audio_mac.c:189: error: expected ';' before 'comp' sydney_audio_mac.c:190: error: 'comp' undeclared (first use in this function) sydney_audio_mac.c:194: warning: implicit declaration of function 'OpenAComponent' sydney_audio_mac.c: In function 'sa_stream_destroy': sydney_audio_mac.c:283: warning: implicit declaration of function 'CloseComponent' make[4]: *** [sydney_audio_mac.o] Error 1 make[3]: *** [libs] Error 2 make[2]: *** [libs_tier_gecko] Error 2 make[1]: *** [tier_gecko] Error 2 make: *** [all] Error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for xulrunner): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/22546#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS