From owner-freebsd-stable Wed Nov 21 23:13: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id ACF6737B416 for ; Wed, 21 Nov 2001 23:13:01 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id XAA22463; Wed, 21 Nov 2001 23:13:00 -0800 Message-ID: <3BFCA575.7060004@owt.com> Date: Wed, 21 Nov 2001 23:12:53 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: C J Michaels Cc: freebsd-stable@FreeBSD.ORG Subject: Re: -STABLE buildkernel broke! (linux module) References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG C J Michaels wrote: > As of 1:10am EST I: > > 1. cvsup'd to RELENG_4 (from cvsup3) > 2. rm -rf /usr/src/sys/compile/MYKERNEL > 3. cd /usr/src/sys/i386/conf/ > 4. config -r MYKERNEL (just to be safe) > 5. cd ../../compile/MYKERNEL > 6. make depend > 7. make > > I am getting the errors on linux_proto.h. Did I miss something? A make buildworld and buildkernel because you did a cvsup. Kent > > Thanks, > --Chris > > > /usr/local/src/sys/modules/linux/linux_proto.h: > ident warning: no id keywords in > /usr/local/src/sys/modules/linux/linux_proto.h > /usr/local/src/sys/alpha/linux/linux_proto.h: > $FreeBSD: src/sys/alpha/linux/linux_proto.h,v 1.9.2.3 2001/11/05 > 19:10:58 marcel Exp $ > /usr/local/src/sys/i386/linux/linux_proto.h: > $FreeBSD: src/sys/i386/linux/linux_proto.h,v 1.32.2.9 2001/11/05 > 19:12:29 marcel Exp $ > > > -----Original Message----- > From: owner-freebsd-stable@freebsd.org > [mailto:owner-freebsd-stable@freebsd.org]On Behalf Of Crist J. Clark > Sent: Monday, November 19, 2001 3:09 PM > To: Warner Losh > Cc: Bjarne Wichmann Petersen; Dave Tweten; freebsd-stable@freebsd.org > Subject: Re: -STABLE buildkernel broke! (linux module) > > > On Mon, Nov 19, 2001 at 09:21:07AM -0700, Warner Losh wrote: > >>In message <20011118234134.H69555@blossom.cjclark.org> "Crist J. Clark" >> > writes: > >>: On Sun, Nov 18, 2001 at 09:09:18PM -0700, Warner Losh wrote: >>: > In message <20011118131749.B69555@blossom.cjclark.org> "Crist J. >> > Clark" writes: > >>: > : On Sun, Nov 18, 2001 at 08:46:04AM +0100, Bjarne Wichmann Petersen >> > wrote: > >>: > : > On Saturday 17 November 2001 23:28, Crist J. Clark wrote: >>: > : > >>: > : > > > Removing /usr/obj/ doesn't help on my machine. Kernelbuild >> > still bails > >>: > : > > > out at linux. >>: > : > > With those errors? >>: > : >>: > : Could you do a, >>: > : >>: > : # find / -name linux_proto.h -exec ident {} \; >>: > : >>: > : So we can find where this old linux_proto.h file is hiding then? >>: > >>: > The problem appears to be that these files used to be generated, but >>: > now are committed to the tree, so we pick up the wrong ones with the >>: > build now. >>: >>: And those "wrong ones" were not being cleaned out of the build tree. >> >>I'm not sure the exact problem, but did find multiple copies in the >>tree before I took out the rm nukes. >> > > It was. I wanted to make sure the fix put into /usr/src/Makefile.inc1 > was actually working, so I checked out a set of RELENG_4_4_0_RELEASE > and did a 'buildkernel' on it. I then updated the tree to an affected > RELENG_4 and did the 'buildkernel' again. There were, IIRC, three > files left over from the first kernel build, and one was the h-file > making trouble. I then updated source to after matusita put the > 'cleandir's in the Makefile.inc1, and did the 'buildkernel' again. It > clean out those three files and LINT built without errors. > > The only people who should now be having problems with this are those > who "manually" build kernels and don't 'rm -rf /sys/compile/MYKERNEL' > or 'config -r MYKERNEL' regularly. > -- > Crist J. Clark | cjclark@alum.mit.edu > | cjclark@jhu.edu > http://people.freebsd.org/~cjc/ | cjc@freebsd.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > . > > -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message