Re: Missing lock.h and others
Re: Missing lock.h and others
- Subject: Re: Missing lock.h and others
- From: "Justin C. Walker" <email@hidden>
- Date: Thu, 26 Sep 2002 16:29:37 -0700
On Thursday, September 26, 2002, at 03:23 PM, Michael Cashwell wrote:
Greetings all,
I'm trying to be good and not include userland headers in my NKE.
I'd think that was enlightened self-interest (since doing so would
likely cause problems in your NKE and the kernel).
Is that not a complete setup for doing NKEs? Do I need to download
something else, possibly from the Darwin repository)? If so, what (and
what tag) would ensure I get files compatible with Apple's released
kernels?
Roughly speaking, what you need to do is check out the appropriate
version of the kernel (project 'xnu', with a tag "Apple-xxxx" matching
what your kernel says (uname -a) in the form "xnu-xxxx"). Then use the
headers from that kernel. Your best bet is to get the missing headers
from there and put them in a convenient place, and reference them with
an additional "-I" flag. If you are building for the system you are
running on, it's OK to put them in the "proper" place.
I've also noted that KNE samples (NKEMgr, SharedIP and TCPLogger) also
don't compile due to missing system headers.
We're just trying to protect you from shooting yourself in the foot with
the half-cocked gun we lent you :-}. You can check the archives for
discussions regarding missing headers...
Regards,
Justin
--
/~\ The ASCII Justin C. Walker, Curmudgeon-at-Large
\ / Ribbon Campaign
X Help cure HTML Email
/ \
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.