[darwinbuild-dev] Startup problem

David Lee david.lee at vicom.com
Thu May 5 09:40:35 PDT 2011


Unfortunately, I no longer have the output.  If i remember correctly, however, I did make an error in following the procedure.  After creating the build directory, I moved the kernel sources into a subdirectory of the build directory and typed:

# opt/local/bin/darwinbuild xnu

Without having prepped the build directory.  This failed, of course. I then typed:

# opt/local/bin/darwinbuild -init xnu
# cd xnu
# opt/local/bin/darwinbuild xnu

and received the output provided before.  Should I just clean up and start over without this error?  I didn't think much about it at the time.  It didn't seem important to me.

David Lee

-----Original Message-----
On May 4, 2011, at 3:27 PM, David Lee wrote:

> Hi all,
> I have downloaded DarwinBuild with the intention to use it to build my own copy of the 10.6 kernel.  I believe this will help me to be more effective at debugging my own driver and user-client code.  I am experiencing a problem getting started.  I downloaded and installed DarwinBuild (after first downloading and installing MacPorts).  I did fine (as far as I could tell) until I got to the point of actually trying to build a kernel.  DarwinBuild is installed in /opt/local/bin/.  I prepared /root/xnu/ to be my build directory as shown:

What exact commands did you run and what did they output?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-dev/attachments/20110505/91871e26/attachment.html>

More information about the darwinbuild-dev mailing list