Skip site navigation (1)Skip section navigation (2)
Date:      05 Aug 2003 21:47:58 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        Stefan Malte Schumacher <s.schumacher@netcologne.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Kernel wont compile
Message-ID:  <44ispbv9o1.fsf@be-well.ilk.org>
In-Reply-To: <20030804201446.GA10036@drachenhorst.fantasy.net>
References:  <20030804201446.GA10036@drachenhorst.fantasy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Malte Schumacher <s.schumacher@netcologne.de> writes:

> I am currently trying to compile a new kernel for FreeBSD but I get the
> following error after I enter 'make depend'.
> 
> ../../../pci/if_rl.c:119:23: miibus_if.h: No such file or directory
> ../../../pci/if_xl.c:140:23: miibus_if.h: No such file or directory
> mkdep: compile failed
> *** Error code 1

You're missing miibus.  You either need to add it back in, or remove
the devices that depend on it.

> I am running FreeBSD 5.1-Release. 

Remember that it isn't a "production" release.

> I have read that it might be necessary to to a make world before I use the
> new way of compiling and installing kernels. I probably have to make world
> in /usr/src, correct ?

Please consult the detailed build instructions in the FreeBSD handbook.

>                        How lang will this approximately take on an Athlon
> 2600 and do I have to install the stuff I built with make world or is it
> enough if I just build it. 
 
If you're building from sources for the exact same version that you're
running, you don't even need to do that.  "make kernel" will do fine.
Otherwise, you need to install all of it.

Please consult the detailed build instructions in the FreeBSD handbook.



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