Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 20:31:49 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        James Schmidt <james@JamesSchmidt.Com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Problems compiling kernel after cvsup from 4.6.2-Release-p2 to 4.7-Release
Message-ID:  <20021017193149.GB92333@happy-idiot-talk.infracaninophi>
In-Reply-To: <20021017140815.T54009-100000@speedy.insekure.com>
References:  <20021017140815.T54009-100000@speedy.insekure.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 17, 2002 at 02:13:19PM -0500, James Schmidt wrote:
> Here is what happened when I tried to config and compile the new 4.7
> kernel:

> "/usr/src/sys/modules/accf_data/../../conf/kmod.mk", line 63: Could not
> find bsd.init.mk
> "/usr/src/sys/modules/accf_data/../../conf/kmod.mk", line 190: Could not
> find bsd.links.mk
> make: fatal errors encountered -- cannot continue
> *** Error code 1

That's the 'old' way of compiling a kernel.  Nowadays you should do it
the 'new' way, like this:

    cd /usr/src
    make buildkernel KERNCONF=UNIPROC
    make installkernel KERNCONF=UNIPROC

(Putting 'KERNCONF=UNIPROC' into /etc/make.conf is a pretty handy trick...)

The old way is only guarranteed to work nowadays if you've already
done a {build,install}world and a {build,install}kernel with the same
sources.  Preferably in the order and according to the instructions
given in /usr/src/UPDATING.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

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?20021017193149.GB92333>