From owner-freebsd-current@FreeBSD.ORG Fri Sep 9 18:20:56 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10EA016A41F for ; Fri, 9 Sep 2005 18:20:56 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9891443D46 for ; Fri, 9 Sep 2005 18:20:54 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j89IKrZ3024273 for ; Fri, 9 Sep 2005 13:20:53 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4321D28D.8070004@centtech.com> Date: Fri, 09 Sep 2005 13:21:01 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050904 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG References: <4321843D.80400@centtech.com> <20050909154902.GA74907@hub.freebsd.org> In-Reply-To: <20050909154902.GA74907@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1073/Fri Sep 9 10:13:08 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: Subject: Re: Broken buildkernel (cvsup from this morning) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 18:20:56 -0000 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. ------------------------------------------------------------------------