Date: Fri, 9 Sep 2005 15:49:02 +0000 From: David O'Brien <obrien@FreeBSD.ORG> To: Eric Anderson <anderson@centtech.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Broken buildkernel (cvsup from this morning) Message-ID: <20050909154902.GA74907@hub.freebsd.org> In-Reply-To: <4321843D.80400@centtech.com> References: <4321843D.80400@centtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 09, 2005 at 07:46:53AM -0500, Eric Anderson wrote:
> cvsup from about 10 minutes ago, buildkernel yields:
> [..snip..]
> /usr/src/sys/kern/kern_tc.c:74: warning: redundant redeclaration of 'th0'
> /usr/src/sys/kern/kern_tc.c:64: warning: previous declaration of 'th0'
> was here
> *** Error code 1
>From /usr/src/UPDATING:
To just build a kernel when you know that it won't mess you up
--------------------------------------------------------------
This assumes you are already running a 5.X system. Replace
${arch} with the architecture of your machine (e.g. "i386",
"alpha", "amd64", "ia64", "pc98", "sparc64", etc).
cd src/sys/${arch}/conf
config KERNEL_NAME_HERE
cd ../compile/KERNEL_NAME_HERE
make depend
make
make install
If this fails, go to the "To build a kernel" section.
This failed for you. So you should use the procedure below which says
"with a fresh buildworld".
To build a kernel
-----------------
If you are updating from a prior version of FreeBSD (even one just
a few days old), you should follow this procedure. With a
/usr/obj tree with a fresh buildworld,
make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
Note you can shorten this to make -DALWAYS_CHECK_MAKE kernel
KERNCONF=YOUR_KERNEL_HERE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050909154902.GA74907>
