• 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
IOHIDFamily compilation under 10.4.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IOHIDFamily compilation under 10.4.1


  • Subject: IOHIDFamily compilation under 10.4.1
  • From: Nicolas Diez <email@hidden>
  • Date: Mon, 23 May 2005 16:07:09 +0200

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: IOHIDFamily compilation under 10.4.1
      • From: Nicolas Diez <email@hidden>
  • Prev by Date: Re: Filesystem View
  • Next by Date: Darwin and garnome
  • Previous by thread: Re: all HFS+ CLIs
  • Next by thread: Re: IOHIDFamily compilation under 10.4.1
  • Index(es):
    • Date
    • Thread