DragonFly BSD
DragonFly users List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: you must buildworld before you buildkernel. why ?

From: Daniel Bond <db@xxxxxxxxxxxxxx>
Date: Mon, 12 Oct 2009 12:23:35 +0200


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:


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
Description: This is a digitally signed message part

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]