From owner-freebsd-questions Wed Sep 13 14:17:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from outmail1.pacificnet.net (outmail1.pacificnet.net [207.171.0.246]) by hub.freebsd.org (Postfix) with ESMTP id 1C3DA37B424; Wed, 13 Sep 2000 14:17:22 -0700 (PDT) Received: from beelzebub.inside.killermartian.com (usr3-20.pacificnet.net [207.171.38.149]) by outmail1.pacificnet.net (8.9.3/8.9.3) with ESMTP id NAA28973; Wed, 13 Sep 2000 13:58:18 -0700 (PDT) Date: Wed, 13 Sep 2000 14:17:12 -0700 (PDT) From: Stephen Krauth X-Sender: stephenk@beelzebub.inside.killermartian.com To: Mark Ovens Cc: Kent Stewart , vedette@iconnect.co.ke, freebsd-questions@freebsd.org Subject: Re: 4.1: Can't compile kernel, even as GENERIC! In-Reply-To: <20000913095157.B257@parish> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 13 Sep 2000, Mark Ovens wrote: > On Tue, Sep 12, 2000 at 08:19:58PM -0700, Stephen Krauth wrote: > > On Tue, 12 Sep 2000, Kent Stewart wrote: > > > > > If you haven't done a cvsup, you probably should be doing a config and > > > make depend. The build[install]kernel depends on code in /usr/obj that > > > the buildworld creates. > > > > > > Kent > > > > Ah, thank you for that important bit of information. The handbook makes > > it seem as if the old method won't work under 4.x, but still, I should > > have tried it anyway... > > Maybe your copy of the handbook is a bit old, as the latest version > states: > > # cd /usr/src > # make buildkernel KERNEL=MYKERNEL > # make installkernel KERNEL=MYKERNEL > > ["not" is emphasized] > If you have not upgraded your source tree in any way (you have not > run CVSup, CTM, or used anoncvs), then you should use the config, > make depend, make, make install sequence. > > Warning: If you have upgraded your sources since your last > kernel build, you must use the make buildkernel method to build > your kernel. Otherwise, old utilities will be used to build the > kernel, which will probably fail. Do not use the config/make > sequence to build your kernel if you have updated the sources! Hmmm... my handbook doesn't state that, though it is fairly new (installed by 4.1). Looking back, it does say "if you are using a release-version of FreeBSD and your /usr/src/ directory only contains the sys/ sub-directory [type the following, ie. do it the 'old way']". If I was reading very carefully I should have caught that. :) Steve K. U.F.O. - "For the feeler gauge in you." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message