Mailing Lists: Apple Mailing Lists

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

IOHIDFamily compilation under 10.4.1



Well, for a project, I have to modify IOHIDFamily sources. I've
downloaded the IOHIDFamily-164 which is the package for 10.4.1.

When I try to build it(without modifications in source code) under
Xcode 2 with gcc4.0, I obtain the followings errors :

OHIDSystem/IOHIKeyboard.cpp:399: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIKeyboard.cpp:402: error: cannot convert 'AbsoluteTime'
to 'uint64_t' for argument '1' to 'void
clock_absolutetime_interval_to_deadline(uint64_t, uint64_t*)'
IOHIDSystem/IOHIKeyboard.cpp:404: error: cannot convert 'AbsoluteTime'
to 'uint64_t' for argument '2' to 'boolean_t
thread_call_enter_delayed(call_entry*, uint64_t)'
....
IOHIDSystem/IOHIDSystem.cpp:2164: error: 'CMP_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:2167: error: 'ADD_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:2201: error: 'SUB_ABSOLUTETIME' was not

and it is repeated a lot of times. I have at the end 77 errors.
It seems that it's not a problem of include. How can I do to compile it succesfully ? Will explicit casts or redeclaration of constants be sufficient ?

Thanks all for your help
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to 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.