Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2000 14:17:12 -0700 (PDT)
From:      Stephen Krauth <stephenk@stephenk.com>
To:        Mark Ovens <marko@freebsd.org>
Cc:        Kent Stewart <kstewart@urx.com>, vedette@iconnect.co.ke, freebsd-questions@freebsd.org
Subject:   Re: 4.1: Can't compile kernel, even as GENERIC!
Message-ID:  <Pine.BSF.4.21.0009131412150.281-100000@beelzebub.inside.killermartian.com>
In-Reply-To: <20000913095157.B257@parish>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009131412150.281-100000>