• 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 insanity after upgrading to Xcode 2.1...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undefined symbols insanity after upgrading to Xcode 2.1...


  • Subject: Re: Undefined symbols insanity after upgrading to Xcode 2.1...
  • From: "James Larcombe" <email@hidden>
  • Date: Wed, 27 Jul 2005 09:01:08 +0100

Sailesh Agrawal wrote:

I think you're running into the same problem I've been having for a while now. I had symbols that were obviously being exported from a static library but I would still get link errors. Strangely, moving those functions from one file to another file would sometimes fix the
error.


It turns out that the reason was the order I was linking my libraries.
I just had to move the library that was the source of the error down a
bit in the link order and the problem went away.

Another problem I had is that I was mixing dynamic and static libraries in my link order. You need to put all the static ones before the dynamic ones, otherwise they will attempt to be linked with the dynamic linker. This is odd, but documented (not terribly obvious though!).

James
_______________________________________________
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 insanity after upgrading to Xcode 2.1... (From: Dave Thorup <email@hidden>)
 >Re: Undefined symbols insanity after upgrading to Xcode 2.1... (From: Sailesh Agrawal <email@hidden>)

  • Prev by Date: Re: multi-character character constant and CFString
  • Next by Date: Warning question - correct or not?
  • Previous by thread: Re: Undefined symbols insanity after upgrading to Xcode 2.1...
  • Next by thread: Xcode 1.5 program on Panther not working in Xcode 2.1 in Tiger
  • Index(es):
    • Date
    • Thread