Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: illegal reference to symbol: _IOIteratorNext



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >illegal reference to symbol: _IOIteratorNext (From: CK subscriptions <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.