Date: Sun, 6 Jan 2002 17:47:42 -0500 From: Brian T.Schellenberger <bts@babbleon.org> To: parv <parv_@yahoo.com>, f-stable <freebsd-stable@FreeBSD.ORG> Subject: Re: building kernel problem w/ linux_proto.h Message-ID: <0cf3d2048220612FE5@mail5.nc.rr.com> In-Reply-To: <20020106152858.GA12180@moo.holy.cow> References: <20020106152858.GA12180@moo.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 06 January 2002 10:28 am, parv wrote: > hi, > > i cvsup'd old sources (4-stable oct 13 2001) to current (4-stable > 2002.01.05.15.45.19). at this point i am stuck at errors w/ > linux_proto.h -- which had been reported at least since nov. 2001 > to this month. > > first i ran make cleandir in /usr/src, removed /usr/obj/*, and tried > to build kernel. after first snag, i searched the internet which > indicated to read src/UPDATING. > > well, first i did "make modules-clean" in > src/sys/compile/$KERNCONF as i do not have MODULES_WITH_WORLD=yes in > /etc/make.conf. after that when i tried again, it failed. so i > tried again after running "make cleandir" in src/sys/modules/linux > w/o any success. > > at this point would above two steps help if i revert to earlier > sources, and then back to current -stable? any other pointers? This is probably a more subtle fix than this, but the following is what finally worked for me: rm -r /usr/obj rm -r /usr/src cvsup /root/sup/conf ln -s /root/BTS /usr/src/sys/i386/conf CAUTION1: This wipes out your kernel configuration. I keep mine in /root all the time (I back up /root but not /usr/src), so I could just re-link it after the wipe (my kernel config is called BTS). If you don't, stuff it away someplace safe. CAUTION2: Without a broadband, this would be tiresome--it causes the entire source to be re-downloaded from the net. NOTE: There is almost certainly a more subtle solution. But if you have a fast connection, just doing the above is probably a lot easier & less frustrating than tracking it down. -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org -------> Free Dmitry Sklyarov! (let him go home) <----------- http://www.eff.org http://www.programming-freedom.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?0cf3d2048220612FE5>