Re: development / deployment
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