you must buildworld before you buildkernel. why ?

Daniel Bond db at danielbond.org
Mon Oct 12 03:26:16 PDT 2009


Hi,

build of world and kernel are coupled. If you had done a full rebuild  
of DragonFly previously (ie, upgraded from a previous version),
your world would allready be built, and you could just build a custom  
kernel.

The important part, is that the same source (in /usr/src) is used for  
building both world and userland.

See build(7) for more information (man 7 build).

Best regards,

Daniel Bond.

On Oct 12, 2009, at 12:04 PM, Saifi Khan wrote:

Hi:

i'm trying to compile a custom kernel on my AMD64 X2 box, and in
encouter the notification shown below.
"""
# make buildkernel KERNCONF=SYNERGY
You must buildworld before buildkernel.  If you wish
to build a kernel using native tools, config it manually
or use the nativekernel target if you are in a rush
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
#
"""
As i'm a newbie, can some of the more experienced folks share
the reason for the requirement to 'buildworld' before
'buildkernel' ?
Additionally, there doesn't seem to be this requirement when
compiling a custom kernel on FreeBSD. Any pointers ?
Thanks in advance.

thanks
Saifi.

Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 203 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20091012/af835313/attachment-0021.obj>


More information about the Users mailing list