• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
maformed library error with NEXT_ROOT set?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: maformed library error with NEXT_ROOT set?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: how to modify bundle properties
  • Next by Date: Re: XCode, Java and Main
  • Previous by thread: MIssing file or directory error on build
  • Next by thread: Re: maformed library error with NEXT_ROOT set?
  • Index(es):
    • Date
    • Thread