Re: SDK 10.3.9, XCode 3 symbol(s) not found
Re: SDK 10.3.9, XCode 3 symbol(s) not found
- Subject: Re: SDK 10.3.9, XCode 3 symbol(s) not found
- From: Chris Espinosa <email@hidden>
- Date: Thu, 8 Nov 2007 09:08:45 -0800
On Nov 8, 2007, at 8:46 AM, Philippe Devallois wrote: It seems there's an issue with the SDK 10.3.9 from xcode 3.
It seems there's a lack of semaphore_wait() and semaphore_signal() symbols in the libSystem when using this SDK. When I use the 10.4u or 10.5 SDKs, my project links normally.
But:
nm -g /Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.B.dylib | grep semaphore_wait
gives: 9001478c T _semaphore_wait
I don't know why I got the link error.
Is someone aware of such issue ?
Please show the part of the build transcript of your project where linking occurs, and what specific link error you're getting.
The typical reason for problems like this is accidentally including a C header from a C++ file and not protecting it with extern "C" { } . That causes your program to expect to link with the "mangled" C++ symbol instead of the normal C one.
But there could be other reasons that the actual link transcript and error would disclose.
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