Skip site navigation (1)Skip section navigation (2)
Date:      15 Sep 2003 19:52:15 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Rebuilding the Kernel
Message-ID:  <44brtl3900.fsf@be-well.ilk.org>
In-Reply-To: <Sea2-F68SChJmoXRxwf00009d8f@hotmail.com>
References:  <Sea2-F68SChJmoXRxwf00009d8f@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Mark Luxton" <markluxton@hotmail.com> writes:

> I'm new to FreeBSD and this is my first attempt at building a kernel.
> 
> I would like to know if I am going about it the right way (and some
> help on an error message that appears).
> 
> Below are the steps that I am currently taking.  I am following the
> steps in the Handbook (Cutting Edge & Building and Installing a custom
> Kernel).
> 
>     Run CVSup and updated my source tree
>     Run make buildworld
>     Run make installworld
>     Copy GENERIC to MYKERNEL
>     Edit MYKERNEL
>     Run make buildkernel KERNCONF=MYKERNEL
>     Run make installkernel KERNCONF=MYKERNEL

That's not the correct order -- you need to build and install the
kernel in between buildworld and installworld.  I don't think that's
problem in this case, though.

> Everything works fine upto make buildkernel.  If I run this, even on
> an uneditted copy of GENERIC, I get an error saying:
> 
>     make: don't know how to make uart_bus_pccard.c. Stop
>     *** Error code 2 ***

Hmm.  That file doesn't exist on my (4.x, i.e., -STABLE) system.  What
version are you running, and what version did you cvsup?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44brtl3900.fsf>