Kernel wont compile
Larry Rosenman
ler at lerctr.org
Mon Aug 4 13:16:29 PDT 2003
include device miibus in your config
--On Monday, August 04, 2003 22:14:46 +0200 Stefan Malte Schumacher
<s.schumacher at netcologne.de> wrote:
> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler at lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
More information about the freebsd-questions
mailing list