• 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
Losing my mind over dylib linker errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Losing my mind over dylib linker errors


  • Subject: Losing my mind over dylib linker errors
  • From: Mark Stultz <email@hidden>
  • Date: Fri, 21 Apr 2006 11:50:30 -0500

Guys, I need some help.

I've been stressing over this linker error for the past hour now, and I
cannot figure it out.  I've been working on a few projects, and I have just
noticed that one of my dylibs in a project will not link.  Everything
compiles great, but when it links with some other dylibs from the project, I
see errors like:

libsnd3d.dylib(single module) reference to undefined __ZN9SubsystemD2Ev
expected to be defined in libplatform

Or even:

libthread.dylib(single module) reference to undefined _pthread_key_create
expected to be defined in libSystem

I get these errors in a "final" dylib that calls upon lower-level dylibs.
Such as the final dylib calls on the sound dylib (seen above) which calls
upon code from a platform dylib.  I could almost justify it not finding
functions in other dylibs in the project, but libSystem?  I thought it could
be a UB issue, but this happens under both ppc & i386, and I have confirmed
that the previously built dylibs are built under UB.

This compiled great for the past few weeks, and seemingly out of nowhere it
breaks and complains at link time.  This is under the _latest_ version of
Xcode.

Any help is appreciated.  I get a strong feeling that it is a stupid user
error, but I am blind to it.

Mark

 _______________________________________________
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: Losing my mind over dylib linker errors
      • From: Roy Lovejoy <email@hidden>
  • Prev by Date: Re: Why no execinfo.h?
  • Next by Date: Re: Losing my mind over dylib linker errors
  • Previous by thread: Re: 10.3 for PPC but 10.4.1 for Intel, how?
  • Next by thread: Re: Losing my mind over dylib linker errors
  • Index(es):
    • Date
    • Thread