Closed Bug 513673 Opened 16 years ago Closed 15 years ago

firefox 3.5.2 fails compiling on mac os x 10.6 snow leopard because of missing ComponentDescription

Categories

(Firefox :: General, defect, P1)

3.5 Branch
x86
macOS
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dave.chand.mailinglist, Unassigned)

Details

(Whiteboard: [CLOSEME 2011-2-25])

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6; en-us) AppleWebKit/532.0+ (KHTML, like Gecko) Version/4.0.3 Safari/531.9 Build Identifier: I am trying to compile firefox 3.5.* branch on mac os x 10.6 snow leopard. Inorder for the compilation to proceed as far as it had the following flags were set: CFLAGS="-arch i386 --save-temps" CXXFLAGS="$CFLAGS" LDFLAGS="-arch i386" The compilations fails due in the libsydneyaudio section of the source due to missing "ComponentDescription". Bellow is a summary of the compilation output: /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c: In function ‘sa_stream_open’: /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c:182: error: ‘ComponentDescription’ undeclared (first use in this function) /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c:182: error: (Each undeclared identifier is reported only once /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c:182: error: for each function it appears in.) /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c:182: error: syntax error before ‘desc’ /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c:183: error: ‘desc’ undeclared (first use in this function) /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c:189: error: ‘Component’ undeclared (first use in this function) /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c:189: error: syntax error before ‘comp’ /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c:190: error: ‘comp’ undeclared (first use in this function) /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c:194: warning: implicit declaration of function ‘OpenAComponent’ /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c: In function ‘sa_stream_destroy’: /Users/dave/src/mozilla-1.9.1-branch/media/libsydneyaudio/src/sydney_audio_mac.c:283: warning: implicit declaration of function ‘CloseComponent’ make[5]: *** [sydney_audio_mac.o] Error 1 make[4]: *** [libs] Error 2 make[3]: *** [libs_tier_gecko] Error 2 make[2]: *** [tier_gecko] Error 2 make[1]: *** [default] Error 2 make: *** [build] Error 2 Reproducible: Always Steps to Reproduce: 1. Get the latest firefox 3.5 sources 2. Compile sources on mac os x 10.6 snow leopard 3.
Priority: -- → P1
Version: unspecified → 3.5 Branch
To the best of my knowledge Firefox 3.5.x will not be supported for building on 10.6. For building on 10.6 you will need to use http://hg.mozilla.org/mozilla-central/
The correct way to do a 32-bit cross compile on 10.6 is outlined in bug 491774. I believe you can compile 3.5.2 that way.
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode or a fresh profile? If not, please close. These links can help you in your testing. http://support.mozilla.com/kb/Safe+Mode http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2011-2-25]
This is ancient, and MacPorts has firefox 3.6.x and 4.0 building fine.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.