• 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: development / deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: development / deployment


  • Subject: Re: development / deployment
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Wed, 19 Jan 2005 13:50:02 +0100

At 23:29 Uhr -0700 18.01.2005, James Hannigan wrote:
I get the following linker error when switching to deployment build style.

ld: /logDADS/build/GPSLog.build/DADSLog.build/Objects-normal/ppc/SerialController.o illegal reference to symbol: _IOIteratorNext defined in indirectly referenced dynamic library /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit

Do I need to link differently for deployment style? I shouldn't think so. Any way around this?

When you link for development, you get ZeroLink, which doesn't link until it's actually used. If you forget to explicitly link to a library, it may have been loaded by some framework by the time your app uses it, and ZeroLink will automatically look up the library, thus not causing an error.


When you switch to deployment, all linking has to be resolved at startup, and thus you (correctly) get an error.

So, judging from the error above, you forgot to link in the IOKit.framework.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
       "The Witnesses of TeachText are everywhere..."
                   http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >development / deployment (From: James Hannigan <email@hidden>)

  • Prev by Date: Re: Can I subclass text field in NSForm? Drawing 3D rectangle
  • Next by Date: Re: NSSplitView Messing Up Custom Views
  • Previous by thread: Re: development / deployment
  • Next by thread: Binding a text field's editable binding to a matrix
  • Index(es):
    • Date
    • Thread