Mailing Lists: Apple Mailing Lists

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

Compilation of IOHIDFamily 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/IOHIKeyboard.cpp:438: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIKeyboard.cpp:480: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIKeyboard.cpp:652: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIKeyboard.cpp:871: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '1' to 'void
clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIKeyboardMapper.cpp:1511: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '3' to 'void
clock_interval_to_absolutetime_interval(uint32_t, uint32_t,
uint64_t*)'
IOHIDSystem/IOHIKeyboardMapper.cpp:1524: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '3' to 'void
clock_interval_to_absolutetime_interval(uint32_t, uint32_t,
uint64_t*)'
IOHIKeyboardMapper.cpp:1694: error: cannot convert 'AbsoluteTime*' to
'uint64_t*' for argument '1' to 'void clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIKeyboardMapper.cpp:1700: error:
'AbsoluteTime_to_scalar' was not declared in this scope
IOHIDSystem/IOHIKeyboardMapper.cpp:1729: error: cannot convert
'AbsoluteTime' to 'uint64_t' for argument '1' to 'void
clock_absolutetime_interval_to_deadline(uint64_t, uint64_t*)'
IOHIDSystem/IOHIPointing.cpp:422: error: cannot convert 'AbsoluteTime'
to 'uint64_t' for argument '1' to 'void
absolutetime_to_nanoseconds(uint64_t, uint64_t*)'
IOHIDSystem/IOHIPointing.cpp:423: error: cannot convert 'UnsignedWide'
to 'uint64_t' for argument '1' to 'void
absolutetime_to_nanoseconds(uint64_t, uint64_t*)'
IOHIDSystem/IOHIPointing.cpp:641: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '1' to 'void
clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIPointing.cpp:655: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '1' to 'void
clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIPointing.cpp:672: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '1' to 'void
clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIPointing.cpp:686: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '1' to 'void
clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:100: error: cannot convert 'UnsignedWide'
to 'uint64_t' for argument '1' to 'void
absolutetime_to_nanoseconds(uint64_t, uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:107: error: cannot convert 'AbsoluteTime*'
to 'uint64_t*' for argument '2' to 'void
nanoseconds_to_absolutetime(uint64_t, uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:162: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIDSystem.cpp:163: error: cannot convert 'AbsoluteTime*'
to 'uint64_t*' for argument '1' to 'void clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:165: error: 'CMP_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:463: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIDSystem.cpp:475: error: cannot convert 'AbsoluteTime*'
to 'uint64_t*' for argument '2' to 'void
nanoseconds_to_absolutetime(uint64_t, uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:476: error: cannot convert 'AbsoluteTime*'
to 'uint64_t*' for argument '2' to 'void
nanoseconds_to_absolutetime(uint64_t, uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:663: error: cannot convert 'AbsoluteTime*'
to 'uint64_t*' for argument '1' to 'void clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:664: error: 'ADD_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp: In static member function `static bool
IOHIDSystem::handleTerminateNotification(void*, IOService*)':
IOHIDSystem/IOHIDSystem.cpp:760: error: cannot convert 'AbsoluteTime*'
to 'uint64_t*' for argument '1' to 'void clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:1054: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '2' to 'void
nanoseconds_to_absolutetime(uint64_t, uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:1056: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIDSystem.cpp: In member function `virtual int
IOHIDSystem::registerScreen(IOGraphicsDevice*, Bounds*)':
IOHIDSystem/IOHIDSystem.cpp:1120: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '3' to 'void
clock_interval_to_absolutetime_interval(uint32_t, uint32_t,
uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp: In member function `void IOHIDSystem::initShmem()':
IOHIDSystem/IOHIDSystem.cpp:1244: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '3' to 'void
clock_interval_to_absolutetime_interval(uint32_t, uint32_t,
uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:1246: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '3' to 'void
clock_interval_to_absolutetime_interval(uint32_t, uint32_t,
uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:1247: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIDSystem.cpp:1273: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '1' to 'void
clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:1390: error: 'CMP_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:1421: error: cannot convert 'AbsoluteTime'
to 'uint64_t' for argument '1' to 'void
absolutetime_to_nanoseconds(uint64_t, uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:1434: error: cannot convert 'AbsoluteTime'
to 'uint64_t' for argument '1' to 'void
absolutetime_to_nanoseconds(uint64_t, uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:1469: error: 'SUB_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:1470: error: 'CMP_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:1631: error: 'CMP_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:1635: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '1' to 'void
clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:1636: error: 'ADD_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp: In member function `void
IOHIDSystem::periodicEvents(IOTimerEventSource*)':
IOHIDSystem/IOHIDSystem.cpp:1674: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '1' to 'void
clock_get_uptime(uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:1707: error: 'CMP_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:1712: error: 'CMP_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:1828: error: 'ADD_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:1839: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIDSystem.cpp:1849: error: 'ADD_ABSOLUTETIME' was not
declared in this scope
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
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:2259: error: 'ADD_ABSOLUTETIME' was not
declared in this scope
IOHIDSystem/IOHIDSystem.cpp:2839: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIDSystem.cpp:2846: error: 'AbsoluteTime_to_scalar' was
not declared in this scope
IOHIDSystem/IOHIDSystem.cpp:2954: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '2' to 'void
nanoseconds_to_absolutetime(uint64_t, uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:3361: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '2' to 'void
nanoseconds_to_absolutetime(uint64_t, uint64_t*)'
IOHIDSystem/IOHIDSystem.cpp:3608: error: cannot convert
'AbsoluteTime*' to 'uint64_t*' for argument '1' to 'void
clock_get_uptime(uint64_t*)'

It seems that it's not a problem of include. How can I do to compile
it succesfully ?

Thnaks all for your help
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/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.