• 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: Bill Northcott <email@hidden>
  • Date: Thu, 18 Aug 2005 10:48:27 +1000

On 18/08/2005, at 5:14 AM, Sean McBride wrote:
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?
Not to answer to answer your question directly, but the proximate cause of this error is invoking ld or libtool directly to link an executable.

The correct way to link code is using the gcc compiler driver which automatically includes the necessary system libraries and invokes libtool, ld, and even lipo repeatedly if needed.

Why it is happening in your project, I don't know without a lot more detail.

Bill Northcott _______________________________________________
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: Mark Dalrymple <email@hidden>
    • Re: How to get details of link errors with Xcode?
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: The XCode + JavaDoc question again
  • Next by Date: Re: strange link error: ld: Undefined symbols: _sprintf$LDBLStub
  • Previous by thread: Re: How to get details of link errors with Xcode?
  • Next by thread: Re: How to get details of link errors with Xcode?
  • Index(es):
    • Date
    • Thread