Re: illegal reference to symbol: _IOIteratorNext
Re: illegal reference to symbol: _IOIteratorNext
- Subject: Re: illegal reference to symbol: _IOIteratorNext
- From: Eric Albert <email@hidden>
- Date: Sun, 24 Oct 2004 23:44:04 -0700
On Oct 24, 2004, at 10:52 PM, CK subscriptions wrote:
My application builds and runs fine in development mode. However, when
I switch to the deployment build style, everything still compiles but
I get the following error during linking:
ld: .../Objects-normal/ppc/Ethernet.o illegal reference to symbol:
_IOIteratorNext defined in indirectly referenced dynamic library
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
Umm, what?
You need to add the IOKit framework to your project (or if it's already
part of your project, add it to your target).
I got this code from one of the DTS example code applications. Why
would it link in debug mode but not in deployment mode? Could it be
because zero-link is turned off in deployment mode?
It could be, yes.
Hope this helps,
Eric
_______________________________________________
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