Re: How to get details of link errors with Xcode?
Re: How to get details of link errors with Xcode?
- Subject: Re: How to get details of link errors with Xcode?
- From: Bill Northcott <email@hidden>
- Date: Fri, 19 Aug 2005 08:24:23 +1000
On 19/08/2005, at 12:28 AM, Sean McBride wrote:
ld: Undefined symbols:
_sprintf$LDBLStub
Not very useful. :( Is there any way to get Xcode to give useful
I'm afraid you have me quite confused... :) I don't use ld or libtool
at all, I use Xcode. Of course I know Xcode may use these things
under
the hood, but I have done nothing special to my xcode projects. My
static libs are added by drag and drop, settings are set with the GUI
(I've never added any 'other flags' kind of things).
If Xcode is using gcc-3.3 but tries to link a function from a static
library built with gcc-4 that calls the sprint() function you will
get that error. The reason is that printf() and friends are actually
macros in gcc-4 that call underlying library functions like sprintf
$LDBLStub.
Bill
_______________________________________________
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