Date: Fri, 09 Sep 2005 13:21:01 -0500 From: Eric Anderson <anderson@centtech.com> To: freebsd-current@FreeBSD.ORG Subject: Re: Broken buildkernel (cvsup from this morning) Message-ID: <4321D28D.8070004@centtech.com> In-Reply-To: <20050909154902.GA74907@hub.freebsd.org> References: <4321843D.80400@centtech.com> <20050909154902.GA74907@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien wrote:
> 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
Oh. Oops. I'm ashamed of myself. :(
Thanks,
Eric
--
------------------------------------------------------------------------
Eric Anderson Sr. Systems Administrator Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4321D28D.8070004>
