Date: Mon, 19 Nov 2001 12:09:23 -0800 From: "Crist J. Clark" <cristjc@earthlink.net> To: Warner Losh <imp@harmony.village.org> Cc: Bjarne Wichmann Petersen <mekanix@privat.dk>, Dave Tweten <tweten@nas.nasa.gov>, freebsd-stable@FreeBSD.ORG Subject: Re: -STABLE buildkernel broke! (linux module) Message-ID: <20011119120923.Q69555@blossom.cjclark.org> In-Reply-To: <200111191621.fAJGL7773267@harmony.village.org>; from imp@harmony.village.org on Mon, Nov 19, 2001 at 09:21:07AM -0700 References: <20011118234134.H69555@blossom.cjclark.org> <20011118131749.B69555@blossom.cjclark.org> <200111132342.fADNgVd40197@gilmore.nas.nasa.gov> <20011117221724.MXOR395.fepZ.post.tele.dk@there> <20011117142815.G63067@blossom.cjclark.org> <20011118074547.OYHL16766.fepD.post.tele.dk@there> <20011118131749.B69555@blossom.cjclark.org> <200111190409.fAJ49I767336@harmony.village.org> <20011118234134.H69555@blossom.cjclark.org> <200111191621.fAJGL7773267@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011119120923.Q69555>