Re: Link Error after upgrading to Xcode 2.5
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