Closed Bug 292526 Opened 20 years ago Closed 20 years ago

firefox does not compile using gcc 4 on os x tiger

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 292266

People

(Reporter: dave.chand.mailinglist, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

I am trying to compile firefox from cvs tree, but I get the following compile
errors.

../../dist/include/macmorefiles/MoreFilesX.h:1341: error: declaration of C
function 'OSErr FSLockRange(SInt16, SInt32, SInt32)' conflicts with
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:3373:
error: previous declaration 'OSStatus FSLockRange(SInt16, UInt16, SInt64,
UInt64, UInt64*)' here
../../dist/include/macmorefiles/MoreFilesX.h:1364: error: declaration of C
function 'OSErr FSUnlockRange(SInt16, SInt32, SInt32)' conflicts with
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:3427:
error: previous declaration 'OSStatus FSUnlockRange(SInt16, UInt16, SInt64,
UInt64, UInt64*)' here
/Users/dave/src/mozilla/xpcom/io/nsLocalFileOSX.cpp: In member function `virtual
nsresult nsLocalFile::InitWithFSSpec(const FSSpec*)':
/Users/dave/src/mozilla/xpcom/io/nsLocalFileOSX.cpp:1477: warning:
'PBGetCatInfoSync' is deprecated (declared at
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7595)
/Users/dave/src/mozilla/xpcom/io/nsLocalFileOSX.cpp:1477: warning:
'PBGetCatInfoSync' is deprecated (declared at
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7595)
/Users/dave/src/mozilla/xpcom/io/nsLocalFileOSX.cpp: In member function `virtual
nsresult nsLocalFile::GetFSSpec(FSSpec*)':
/Users/dave/src/mozilla/xpcom/io/nsLocalFileOSX.cpp:1562: warning:
'FSMakeFSSpec' is deprecated (declared at
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:8967)
/Users/dave/src/mozilla/xpcom/io/nsLocalFileOSX.cpp:1562: warning:
'FSMakeFSSpec' is deprecated (declared at
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:8967)
make[4]: *** [nsLocalFileOSX.o] Error 1
make[4]: Leaving directory
`/Users/dave/src/mozilla/obj-powerpc-apple-darwin8.0.0/xpcom/io'
make[3]: *** [libs] Error 2
make[3]: Leaving directory
`/Users/dave/src/mozilla/obj-powerpc-apple-darwin8.0.0/xpcom'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory `/Users/dave/src/mozilla/obj-powerpc-apple-darwin8.0.0'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/Users/dave/src/mozilla/obj-powerpc-apple-darwin8.0.0'
make: *** [build] Error 2


Reproducible: Always

Steps to Reproduce:
1.compile firefox official release or cvs with gcc 4 on os x tiger
2.
3.

Actual Results:  
build fails
Please always search before you file a bug. Found it with "gcc 4" as search term.


*** This bug has been marked as a duplicate of 292266 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
i searched for os x gcc 4.0 and did not find it. 
You need to log in before you can comment on or make changes to this bug.