Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2010 14:45:01 +0600
From:      Max Khon <fjoe@samodelkin.net>
To:        Doug Barton <dougb@freebsd.org>
Cc:        "E. O." <enginbsd@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: kernel build failed
Message-ID:  <5a816ea1001030045o2091ea09r2060082d993515c4@mail.gmail.com>
In-Reply-To: <4B3FBA9B.5020706@FreeBSD.org>
References:  <86095ec11001021301i25e91191kdcc2a1673795dce7@mail.gmail.com> <4B3FBA9B.5020706@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

On Sun, Jan 3, 2010 at 3:28 AM, Doug Barton <dougb@freebsd.org> wrote:


> > cd /usr/src
> >
> > make cleandir && make cleandir && rm -rf /usr/obj
> >
> > make buildkernel
>
> FreeBSD is not like Linux in the sense that you don't just want to
> update the kernel independently of the rest of the base system. You
> want to update the whole thing. Try this instead:
>
> make buildworld &&
> make buildkernel
>
> You should also read
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mak<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html>;
> eworld.html<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html>;
> to get a better idea of the overall process.
>

Actually it is enough to do "make kernel-toolchain" instead of "make
buildworld" prior to building kernel.

Max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5a816ea1001030045o2091ea09r2060082d993515c4>