Re: Missing lock.h and others
Re: Missing lock.h and others
- Subject: Re: Missing lock.h and others
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 27 Sep 2002 15:17:44 +0200
On Friday, September 27, 2002, at 01:29 AM, Justin C. Walker wrote:
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...
While speaking of missing headers, does someone know what headers
should be in:
/System/Library/Frameworks/Kernel.Framework/Versions/A/Headers/netinet
and netinet6
I already added the missing headers in /usr/include and now I'm trying
to compile Darwin code and it's not working of course.
_______________________________________________
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.