From owner-freebsd-questions Tue Mar 6 21:48:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id A7BCD37B719 for ; Tue, 6 Mar 2001 21:48:21 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 52407 invoked by uid 100); 7 Mar 2001 05:48:20 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15013.52132.717979.427346@guru.mired.org> Date: Tue, 6 Mar 2001 23:48:20 -0600 To: "Jeremiah Gowdy" Cc: questions@freebsd.org, oscars@mail.utexas.edu Subject: Re: Failure on compile of new kernel in 4.2-RELEASE In-Reply-To: <51310456@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jeremiah Gowdy types: > > >Typical message from doing a buildkernel with out doing a buildworld > > >first. Buildkernel depends on /usr/obj being populated by the > > >buildworld. > > If I did a fresh install, would /usr/obj be populated with anything? I > > want to keep the system at 4.2-RELEASE and don't think I need to do a > 'make > > buildworld' before recompiling the kernel. Also, why does the failure > > appear to be in building the components of 'wi'? In the other question, > > the failure also seemed to occur in 'wi'. > > > > Any help would be appreciated. > > As he said > "Buildkernel depends on /usr/obj being populated by the buildworld" > which disagrees with your statement That was true for 4.2-RELEASE, but has since been fixed. On stable, "make buildkernel" will use the installed world if /usr/obj isn't populated. If the installed world and the kernel are out of sync and /usr/obj isn't populated, that won't work any better than doing the config/make depend/make sequence. > "[I] don't think I need to do a 'make buildworld' before recompiling > the kernel" If the kernel sources and the installed system are out of sync, you should do "make buildworld" to make sure the kernel build has tool versions that are up to date. You should also do "make buildkernel" in that case, and not config/make depend/make. > If you don't want STABLE (god knows why not though), you can simply > buildworld, buildkernel, installkernel, without installworld, but honestly, > why aren't you going to STABLE ? RELEASE is 4 months old. Think of all the > commits between November and March. You can do this, but you're liable to find that not everything works properly. Most notable are things like top and ps, but other things might also break. Updating just the kernel - or just the world - is not supported, and not recommended. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message