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: Saifi Khan <saifi.khan@xxxxxxxxxxxxxxx>
Date: Tue, 13 Oct 2009 16:33:15 +0530 (IST)

On Mon, 12 Oct 2009, Daniel Bond wrote:

> 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.
> > 
> 
> 

Daniel, thanks for build(7) info.

Yes, the build of world and kernel are coupled, as you rightly mention.

The DragonFlyBSD CD ship with src-sys.tgz which is the kernel
sources and as i learnt, i need to build a 'nativekernel' to
compile a custom kernel.


thanks
Saifi.




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