• 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: undefined symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undefined symbols


  • Subject: Re: undefined symbols
  • From: Nathan Sturtevant <email@hidden>
  • Date: Wed, 10 Dec 2008 11:06:51 -0700

1) Prove to yourself it's in the util library with nm.
2) Pass through -t to the linker to make sure the right libutil is being picked up (The linker will by default prefer libuitl.dylib; if you want libutil.a, you need to specify it by absolute path and full name)
3) Make sure the callers are including the util header wrapped in extern "C" { } or else the linker will be looking for mangled names in libutil

Thanks for the suggestions! #2 was the issue; everything works fine now.

		Nathan

_______________________________________________
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: 
 >undefined symbols (From: Nathan Sturtevant <email@hidden>)
 >Re: undefined symbols (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Static and Dynamic libraries for iPhone apps ?
  • Next by Date: Newbie Question - #include scope
  • Previous by thread: Re: undefined symbols
  • Next by thread: RE: Xcode - GDB console trouble (SOLVED but still puzzled)
  • Index(es):
    • Date
    • Thread