• 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: getting symbol not found _IOSleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting symbol not found _IOSleep


  • Subject: Re: getting symbol not found _IOSleep
  • From: Tommy Nordgren <email@hidden>
  • Date: Mon, 2 Feb 2009 05:49:32 +0100


On Feb 1, 2009, at 9:06 PM, Ken G. Brown wrote:

I'm trying to do a short delay in a user level C program for sending bytes out to a serial port using IOSleep().
I'm getting _IOSleep symbol not found error when building.
I am including


#include <IOKit/IOKitLib.h> in the program and do not get any compile errors.

And I have IOKit.framework in the project. It seems like _IOSleep is in IOKit.h but that does not seem to be in the IOKit.framework.
Now I'm not sure how to resolve the issue.
Which framework should I have in my project?


Should I be using something else for my delay?

This is running on 10.5.6, Xcode 3.1.2, building for i386, and base SDK Mac OS X 10.4.

Thx for any tips.
Ken G. Brown

The symbol IOSleep is not defined in any header in the IOKit framework.
Set your project to require function prototypes, and you will see that your code won't compile.
----------------------------------
Skinheads are so tired of immigration, that they are going to move to a country that don't accept immigrants!
Tommy Nordgren
email@hidden




_______________________________________________
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


References: 
 >getting symbol not found _IOSleep (From: "Ken G. Brown" <email@hidden>)

  • Prev by Date: Re: getting symbol not found _IOSleep
  • Next by Date: Re: getting symbol not found _IOSleep
  • Previous by thread: Re: getting symbol not found _IOSleep
  • Next by thread: Setting build product path in project NOT user?
  • Index(es):
    • Date
    • Thread