Re: Missing lock.h and others
On Sunday, September 29, 2002, at 12:39 PM, Jim Magee wrote: Actually, in this particular case, kern/lock.h is included in the Kernel.framework headers. The problem is more likely that Michael was looking for the header in /usr/include. It will not be there. It is a kernel-only header. If you want to look at the header, it will be in: /System/Library/Frameworks/Kernel.framework/Headers/kern/lock.h and the Kernel.framework will be included when you tell Project Builder that you are building a KEXT. Thanks Jim. I found this header the next day. One contributing factor was that I'd search my entire disk via a Finder search for any file called lock.h and it didn't find it. Then, after checking out xnu somehow it could. I still can't explain this. The other factor was that I did tell PB that my new project was to be a kernel module. (I used the "Generic Kernel Extension" assistant.) I would have expected that to have populated the project with whatever paths or frameworks were appropriate for such a product. In any event, I've got the header working now and am again making progress. Thanks! Mike _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Michael Cashwell