maformed library error with NEXT_ROOT set?
maformed library error with NEXT_ROOT set?
- Subject: maformed library error with NEXT_ROOT set?
- From: "Mike Pinkerton" <email@hidden>
- Date: Thu, 20 Nov 2003 17:12:35 -0500 (EST)
- Organization: AOL
To get mozilla to build, we have to set
CFLAGS="-I/Developer/SDKs/MacOSX10.1.5.sdk/usr/include"
LDFLAGS="-L/Developer/SDKs/MacOSX10.1.5.sdk/usr/lib"
NEXT_ROOT="/Developer/SDKs/MacOSX10.1.5.sdk"
MACOSX_DEPLOYMENT_TARGET=10.1
manually so our makefiles can find the correct sdks (and not pick up
nspr/nss that's in panther already).
however, when we then go to build any xcode project in the tree from the
command line, we get the following error if NEXT_ROOT is set:
/usr/bin/xcodebuild -project DefaultPlugin.xcode -target "Default
Plugin" -buildstyle Development
dyld: /usr/bin/xcodebuild malformed library:
/Developer/SDKs/MacOSX10.2.7.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/CarbonCore
(not a Mach-O library file, bad filetype value)
The project has a native target and is targeting the 10.1 SDK. The same
thing happens with the pbproj version of the same project. The project
builds fine from the UI.
Is this a known issue? Are we doing something incorrectly?
--
Mike Pinkerton
Mac Weenie
email@hidden http://people.netscape.com/pinkerton/
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.