Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 08:01:32 -0700
From:      Kyle Jones <kyle_jones@wonderworks.com>
To:        "Sergey A. Osokin" <osa@freebsd.org.ru>
Cc:        Spider <spider@ffm.lublin.pl>, freebsd-stable@freebsd.org
Subject:   Re: Problem build kernel
Message-ID:  <15777.41420.522543.168441@ice.wonderworks.com>
In-Reply-To: <20021007112358.GA35777@freebsd.org.ru>
References:  <00a901c26dea$c04c0ea0$c271b6d4@stanowisko1> <20021007112358.GA35777@freebsd.org.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Sergey A. Osokin writes:
 > On Mon, Oct 07, 2002 at 12:17:33PM +0200, Spider wrote:
 > > Freebsd 4.6.2- RELEASE
 > > Make Buildworld
 > > Bulid kerner  4.7 Rc
 > > ===> accf_data
 > > "/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
 > > 
 > > Stop in /usr/src/sys/modules.
 > > *** Error code 1
 > 
 > Looks like you use old method, try a new way.
 > From http://www.freebsd.org/doc/handbook/kernelconfig-building.html
 > 
 > Procedure 2. Building a kernel the ``new'' way
 >    1. Change to the /usr/src directory.
 >     # cd /usr/src
 >    2. Compile the kernel.
 >     # make buildkernel KERNCONF=MYKERNEL
 >    3. Install the new kernel.
 >     # make installkernel KERNCONF=MYKERNEL

That won't help.  I had the same problem yesterday using "make
buildkernel".  I found the answer in the freebsd-stable list
archive.  The fix is (still) to do this as root:

cd /usr
cvs co -r RELENG_4 src/share/mk
cd src/share/mk
make install

Then build the kernel using the correct procedure, which depends on
whether you have full sources.

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?15777.41420.522543.168441>