• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get details of link errors with Xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: ow to get details of link errors with Xcode? (From: Stefan Werner <email@hidden>)

  • Prev by Date: Re: Still doesn't work - Re: Launch failed with error code -2857
  • Next by Date: Re: How to get details of link errors with Xcode?
  • Previous by thread: Re: ow to get details of link errors with Xcode?
  • Next by thread: sourcecode.cpp vs. sourcecode.cpp.cpp?
  • Index(es):
    • Date
    • Thread