Re: Problem building darwin kernel
Re: Problem building darwin kernel
- Subject: Re: Problem building darwin kernel
- From: mstpfh <email@hidden>
- Date: Fri, 01 Jun 2007 00:28:37 +0100
Terry Lambert wrote:
On May 31, 2007, at 12:53 PM, Billy Lau wrote:
Hi,
As I am following through the instructions on how to build the darwin
kernel, I was stuck with an error that I cannot resolve.
The manual for the kernel building is at
http://developer.apple.com/DOCUMENTATION/Darwin/Conceptual/KernelProgramming/build/chapter_18_section_3.html
When i am at this step:
make RC_OS=macos kld_build
I stumbled upon an error which says
seg_hack __KLD ./prehack_libkld.a -o ./static_libkld.o
make[1]: seg_hack: Command not found
make[1]: *** [libkld.a] Error 127
make: *** [kld_build] Error 2
Can anyone help? Thanks
You either skipped this step:
"Also, make sure that /usr/local/bin is in your PATH environment
variable..."
Or this step:
"Get the bootstrap_cmds, Libstreams, kext_tools, IOKitUser, and
cctools packages
from http://www.opensource.apple.com. Extract the files from
these .tar packages..."
...probably the second one, since the current Makefile infrastructure
directly references it by path.
-- Terry
Billy,
Upon receiving your email, and reading what Terry has said, I
think the matter is simple. It's a matter of you acquiring the sources
from www.opensource.apple.com and extract the files (including cctools)
from it's gzipped archive.
This isn't very complicated. Just apply yourself.
Best regards.
Mustapha 'mstpfh' Abiola
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden