Re: Link errors
Re: Link errors
- Subject: Re: Link errors
- From: Chris Espinosa <email@hidden>
- Date: Wed, 12 Apr 2006 14:49:11 -0700
On Apr 12, 2006, at 2:40 PM, Steve Mills wrote: Today, Xcode started failing to link a project that has worked in the past. I see lots of these in the build transcript:
symbol _acosl used from dynamic library /Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libstdc++.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _tanl used from dynamic library /Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libstdc++.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
The failed link is the ppc build of a Universal Binary. The ppc build uses the 10.3.9.sdk and deployment target is 10.3. Those errors look to me like one thing using libstdc++.dylib from the 10.3.9.sdk and another thing is using libSystem.B.dylib from /usr/lib. I don't understand what that means. The main project and all subprojects use the same sdk and deployment target settings, and all libraries and frameworks were added from the /usr/lib or /System/Library/Frameworks/ directories, NOT from the .sdk directories. I just double-checked these things and didn't notice anything using the wrong lib/framework. Any ideas? The Debug config builds fine (but probably doesn't complain because ZeroLink is on).
It looks like one of your executables was built for ppc64 along with ppc and i386. You probably didn't want that.
Chris |
_______________________________________________
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 errors (From: Steve Mills <email@hidden>) |