• 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: Chris Espinosa <email@hidden>
  • Date: Wed, 17 Aug 2005 12:18:19 -0700


On Aug 17, 2005, at 10:58 AM, Sean McBride wrote:

Hi again!


I'm having some link problems, and they illustrate an another Xcode

annoyance.  I maintain CodeWarrior and Xcode builds of my project and

both are having this link problem (discussed in a different thread), but

it makes a good example:


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?



If you add:

-Wl,_sprintf$LDBLStub

to your Other Linker Flags it'll tell you.

But see responses to your other post as to why the answer will be uninformative.  You're mixing code linked to different static and dynamic versions of the Standard C++ Library.

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

  • Follow-Ups:
    • Re: How to get details of link errors with Xcode?
      • From: "Sean McBride" <email@hidden>
    • The XCode + JavaDoc question again
      • From: Gavin Eadie <email@hidden>
References: 
 >How to get details of link errors with Xcode? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Debug Problem with Simple Pgm
  • Next by Date: Re: ow to get details of link errors with Xcode?
  • Previous by thread: How to get details of link errors with Xcode?
  • Next by thread: The XCode + JavaDoc question again
  • Index(es):
    • Date
    • Thread