• 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: Link Error after upgrading to Xcode 2.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link Error after upgrading to Xcode 2.5


  • Subject: Re: Link Error after upgrading to Xcode 2.5
  • From: John Brownie <email@hidden>
  • Date: Tue, 29 Jan 2008 15:34:11 +1000
  • Organization: SIL

On 29/1/08 10:45 AM Wyatt Webb wrote:
We've just finished a project, so I thought I'd start moving our tools to 2.5 so we could let developers upgrade to Leopard if they wanted to. So, this product builds fine in 2.4.x and I simply installed 2.5 and built our two debug builds. Intel built fine. PPC gives a link error that I'm having a hard time tracking down. Please let me know what library I'm missing or if I'm pointing at the wrong one.

<snip>

Then I get a long list of errors that are repeats of two errors for many files:

[...] reference to undefined __ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm
[...] reference to undefined __ZNSt24__default_alloc_templateILb1ELi0EE8allocateEm


Any clues would be appreciated.

I've been bitten by this, too, but haven't found a good solution yet. Someone pointed me to add "_GLIBCPP_EXTERN_TEMPLATE=0" to the preprocessor macros, which solves that immediate problem. However, I then get other link errors which seem to be saying that it's trying to link with libstdc++.dylib, which it shouldn't be doing with gcc 3.3.


Nobody has given me a solution other than use gcc 4, which shuts out pre-10.3.9 systems, which is a problem - I'd like to continue supporting 10.2 with this release. Running 10.4 and Xcode 2.4.1 seems to be the only way around it, unless someone else can suggest a solution.

John
--
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


References: 
 >Link Error after upgrading to Xcode 2.5 (From: Wyatt Webb <email@hidden>)

  • Prev by Date: Re: How to make atos give symbols?
  • Next by Date: Re: How to make atos give symbols?
  • Previous by thread: Re: Link Error after upgrading to Xcode 2.5
  • Next by thread: How to make atos give symbols?
  • Index(es):
    • Date
    • Thread