Date: Thu, 22 Nov 2001 14:35:39 -0500 (EST) From: "Christopher J. Michaels" <cjm2@earthling.net> To: <freebsd-stable@freebsd.org> Subject: Re: -STABLE buildkernel broke! (linux module) Message-ID: <1949.141.149.144.106.1006457739.squirrel@www.27in.tv>
next in thread | raw e-mail | index | archive | help
Left that out.. I did a make buildworld, that's why I had to rebuild the kernel. --Chris Kent Stewart said: > > > 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/ -- Chris "I disagree with what you say, but I will defend to the death your right to say it." -- Voltaire -- Chris "I disagree with what you say, but I will defend to the death your right to say it." -- Voltaire 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?1949.141.149.144.106.1006457739.squirrel>