<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Startup problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi all,<BR>
<BR>
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:<BR>
<BR>
MacBook-Pro:xnu root# ls<BR>
.build BuildRoot Headers Logs Roots Sources Symbols<BR>
<BR>
I moved the kernel sources that I had downloaded previously from <A HREF="http://www.opensource.apple.com/">http://www.opensource.apple.com/</A> to a directory under the Sources directory as shown:<BR>
<BR>
MacBook-Pro:xnu root# ls sources<BR>
xnu-1504.9.26<BR>
<BR>
When I tried to start the build, the following occurred:<BR>
<BR>
MacBook-Pro:xnu root# /opt/local/bin/darwinbuild xnu<BR>
*** Attaching build root disk image ...<BR>
/dev/disk1 GUID_partition_scheme <BR>
/dev/disk1s1 EFI <BR>
/dev/disk1s2 Apple_HFS /Volumes/BuildRoot_xnu_20110504142913<BR>
ERROR: project not found: xnu<BR>
<BR>
Would somebody please tell me what I've done wrong? Thanks.<BR>
<BR>
David Lee<BR>
</FONT>
</P>
</BODY>
</HTML>