Re: kld_build Error on Darwin 6.5
Re: kld_build Error on Darwin 6.5
- Subject: Re: kld_build Error on Darwin 6.5
- From: Quinn <email@hidden>
- Date: Fri, 2 May 2003 11:31:30 +0100
At 20:33 +1200 2/5/03, Michael A. Williams wrote:
I am not sure why some of these additional steps are required, must be
my installation related.
It's not just your installation. I had exactly the same problem the
last time I did this. I believe that the instructions in "Kernel
Programming" are suffering from 'bit rot'. I've filed a bug
<rdar://problem/3246832> against "Kernel Programming" so that we
remember to update these instructions the next time we revise the
document.
btw Most people don't know that we track documentation problems
via the same system as other bug reports. If you encounter bugs
in our documentation, feel free to write up a bug report (URL below).
<
http://developer.apple.com/bugreporter/>
I understand the includes issue. This relates to Apple's ongoing
efforts to enforce some degree of binary compatibility within the BSD
parts of the kernel. We're trying to make it so that
Kernel.framework only contains header files that third party
developers can rely on. So certain headers, such as <sys/unistd.h>,
which a third party KEXT shouldn't be using, are no longer in
Kernel.framework. Of course, the kernel itself shouldn't be subject
to this restriction.
My solution to the problem is to copy the appropriate headers from
"xnu/bsd/sys" into "Kernel.framework/Headers/sys".
The seghack error obvious relates to seghack not being in the path
used by the build system. I applied the same solution as you
(changing the make file to use an absolute path), so I don't know
what the full story is.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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.