Re: Error on Firefox build of 1.0.4 for Mac OS X Tiger

Ginn Chen <[email protected]> Fri, 13 May 2005 10:37:16 +0800
Newsgroups gmane.comp.mozilla.devel.mac
Message-ID <[email protected]>
[Bug 292530] Build on Mac OS X "Tiger" (10.4) (don't ask about gcc 4 here)
https://bugzilla.mozilla.org/show_bug.cgi?id=292530

Peter Sadlon wrote:

>I followed all the instructions at the Mozilla the site to build myself an
>optimized version of Firefox for my G3 running Mac OS X 10.4 Tiger. However
>when I try to run the command "make -f client.mk build" it will get so far
>and fail when it get to this point.
>
>gcc -o MoreFilesX.o -c -DOSTYPE=\"Darwin8.0.0\" -DOSARCH=\"Darwin\"
>-I../../dist/include/macmorefiles -I../../dist/include
>-I/Users/peter/Downloads/mozilla/dist/include/nspr     -I/usr/X11R6/include
>-fPIC -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align
>-Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common
>-I/Developer/Headers/FlatCarbon -pipe  -DDEBUG -D_DEBUG -DDEBUG_peter
>-DTRACING -g  -I/usr/X11R6/include -include ../../mozilla-config.h
>-DMOZILLA_CLIENT -Wp,-MD,.deps/MoreFilesX.pp MoreFilesX.c
>In file included from MoreFilesX.c:80:
>MoreFilesX.h:1341: error: conflicting types for 'FSLockRange'
>/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.fram
>ework/Headers/Files.h:3373: error: previous declaration of 'FSLockRange' was
>here
>MoreFilesX.h:1364: error: conflicting types for 'FSUnlockRange'
>/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.fram
>ework/Headers/Files.h:3427: error: previous declaration of 'FSUnlockRange'
>was here
>MoreFilesX.c: In function 'GetTempBuffer':
>MoreFilesX.c:2654: warning: comparison between signed and unsigned
>make[4]: *** [MoreFilesX.o] Error 1
>make[3]: *** [libs] Error 2
>make[2]: *** [tier_2] Error 2
>make[1]: *** [default] Error 2
>make: *** [build] Error 2
>
>Does anyone know how to resolve this error?
>
>_______________________________________________
>mozilla-mac mailing list
>[email protected]
>http://mail.mozilla.org/listinfo/mozilla-mac
>  
>