Kernel wont compile

Lowell Gilbert freebsd-questions-local at be-well.no-ip.com
Tue Aug 5 18:48:01 PDT 2003


Stefan Malte Schumacher <s.schumacher at 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.



More information about the freebsd-questions mailing list