Kernel wont compile
Stefan Malte Schumacher
s.schumacher at netcologne.de
Mon Aug 4 13:14:49 PDT 2003
Hi
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
Stop in /usr/src/sys/i386/compile/AVALON1.
*** Error code 1
Stop in /usr/src/sys/i386/compile/AVALON1.
Make lint also does not work this time I get the following error message :
__mb_cur_max declared( fileaccess.c?(4) ), but never used or defined
===> boot/i386
===> boot/i386/mbr
lint -cghapbx
usage: lint [-abceghprvwxzHF] [-s|-t] [-i|-nu] [-Dname[=def]] [-Uname] [-X
<id>[
,<id>]...
[-Idirectory] [-Ldirectory] [-llibrary] [-ooutputfile] file...
lint [-abceghprvwzHF] [-s|-t] -Clibrary [-Dname[=def]]
[-X <id>[,<id>]...
[-Idirectory] [-Uname] [-Bpath] file ...
*** Error code 1
Stop in /usr/src/sys/boot/i386/mbr.
*** Error code 1
Stop in /usr/src/sys/boot/i386.
*** Error code 1
Stop in /usr/src/sys/boot.
*** Error code 1
Stop in /usr/src/sys.
I am running FreeBSD 5.1-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 ? 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.
Bye
Stefan
More information about the freebsd-questions
mailing list