OS X build problems

"yarivvv" <[email protected]> 9 Jun 2005 13:30:53 -0700
Newsgroups gmane.comp.mozilla.devel.macosx
Organization http://groups.google.com
Message-ID <[email protected]>
hello,

I'm trying to build Mozilla on OS X 10.4 Tiger. I followed the OS X
build instuctions on the mozilla website and everything went pretty
smoothly, except that it broke during the compilation stage. These are
the last few lines from the build log:

MoreFilesX.c
gcc -o MoreFilesX.o -c -DOSTYPE=\"Darwin8.1.0\" -DOSARCH=\"Darwin\"
-I../../dist/include/macmorefiles -I../../dist/include
-I/Users/yariv/Documents/dev/mozilla/dist/include/nspr        -fPIC
-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_yariv
-DTRACING -g   -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.framework/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.framework/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[3]: *** [MoreFilesX.o] Error 1
make[2]: *** [libs] Error 2
make[1]: *** [tier_2] Error 2
make: *** [default] Error 2


It appears as though the Mozilla file MoreFilesX.h has redefines
symbols that are in Files.h in CarbonCore. I'm not sure how to proceed
at this point. Any help would be greatly appreciated.

Thanks,
Yariv