• 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
Re: Xcode 2.5 linker undefined symbols for PowerPlant application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.5 linker undefined symbols for PowerPlant application


  • Subject: Re: Xcode 2.5 linker undefined symbols for PowerPlant application
  • From: John Brownie <email@hidden>
  • Date: Thu, 01 Nov 2007 18:28:04 +1100

On 1/11/07 16:04 Chris Espinosa wrote:

On Oct 31, 2007, at 9:25 PM, John Brownie wrote:

    setenv MACOSX_DEPLOYMENT_TARGET 10.2

    setenv NEXT_ROOT /Developer/SDKs/MacOSX10.4u.sdk

    /usr/bin/g++-3.3 -o


What happens if you set the Deployment Target to 10.3 instead of 10.2?

If you can possibly use gcc 4.0 instead of 3.3, we recommend it.

Yes, but I still have users on Jaguar! The next version is being totally rewritten, and will be 10.4 or 10.5, but I need to get the current version working on Leopard, hence the move to Xcode 2.5.


Anyway, I'm not sure what I've done in changing parameters, but it's linking OK for PPC now, but I now get a problem with the i386 build: various libraries are missing the i386 binaries. The error message is:

/Developer/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning /System/Library/Frameworks/Carbon.framework/Carbon cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/Developer/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.1/libstdc++.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/Developer/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/Developer/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning fat file: /usr/lib/libSystem.B.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)


After that, it seems that basically every symbol is undefined, so something is going badly wrong. I checked /usr/lib/libSystem.B.dylib, and it has only ppc and ppc64:

libSystem.B.dylib: Mach-O fat file with 2 architectures
libSystem.B.dylib (for architecture ppc): Mach-O dynamically linked shared library ppc
libSystem.B.dylib (for architecture ppc64): Mach-O 64-bit dynamically linked shared library ppc64


Is this an effect of the 2.5 install?

John (growing more confused by the hour)

--
John Brownie, email@hidden or email@hidden
Summer Institute of Linguistics      | Mussau-Emira language, Mussau Is.
Ukarumpa, Eastern Highlands Province | New Ireland Province
Papua New Guinea                     | Papua New Guinea
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Xcode 2.5 linker undefined symbols for PowerPlant application
      • From: John Brownie <email@hidden>
  • Prev by Date: Re: Xcode 3.0 - editor much slower then in 2.5 - any tuning tips???
  • Next by Date: Re: Xcode 2.5 linker undefined symbols for PowerPlant application
  • Previous by thread: Re: Xcode 3.0 - editor much slower then in 2.5 - any tuning tips???
  • Next by thread: Re: Xcode 2.5 linker undefined symbols for PowerPlant application
  • Index(es):
    • Date
    • Thread