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: "Sean McBride" <email@hidden>
- Date: Thu, 18 Aug 2005 10:28:04 -0400
- Organization: Rogue Research
On 2005-08-17 21:28, Stefan Werner said:
>> CW 9.5 complains like so:
>>
>> Link Error : undefined: 'sprintf$LDBLStub' (code)
>> Referenced from 'print_system_error' in libvolume_io.a
>> Referenced from 'execute_decompress_command' in libminc.a
>> Referenced from 'get_clock_ticks_per_second' in libvolume_io.a
>>
>> Xcode 2.2 says:
>>
>> ld: Undefined symbols:
>> _sprintf$LDBLStub
>>
>>
>> Not very useful. :( Is there any way to get Xcode to give useful
>> info,
>> like CodeWarrior does?
>
>Add "-Xlinker -Y -Xlinker 100" to the "other linker flags" setting.
>Yes, it's that obious :(
:)
>Feature request for the next release: Can we have at least checkbox
>for this? Or, how IMHO the IDE should ideally handle it:
>List the undefined symbols as it does already, a (double?) click on a
>symbol reveals the list of references.
Thanks Stefan, that worked, now it says:
ld: Undefined symbols:
_sprintf$LDBLStub
/Users/sean/RogueSVNWorkingCopy/3rdParty/MINC/trunk/Release//lib/
libminc.a(netcdf_convenience.o) reference to undefined _sprintf$LDBLStub
Still not as good as CodeWarrior (no info on which function calls it)
but much better.
I wonder, why is this not on by default? Does it do any harm to have
this setting all the time???
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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