kernel compile fails with error 1

Nathanael Schweers nschweers at
Tue Nov 21 10:11:38 PST 2006

Hi folks,
I'm quite new to FreeBSD and mailing lists, so I hope not to be inpolite.
I've been using Gentoo Linux for a while and really like it, and now I'm 
giving FreeBSD a try.
I have switched to stable ( is there a difference between 6.1-STABLE and 
6.2-PRERELEASE?) and I managed to successfully compile and run a GENERIC 
kernel, but when I try to compile my own kernel make aborts with an 
error 1. Here the last bit of output:

CC="cc" xargs mkdep -a -f .newdep -O -pipe  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes
inter-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g 
-nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq 
-I/usr/src/sys/contrib/ipfilter -I/usr/src/s
ys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-u
ge-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
/usr/src/sys/dev/nve/if_nve.c:109:23: miibus_if.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/obj/usr/src/sys/BRAINFUCK.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

I find it quite strange that make stops with the nve module, as the 
GENERIC compiles, and I've got an nVidia nForce2 ethernet chip onboard.
Thx for any help.

Regards Nathanael Schweers

More information about the freebsd-stable mailing list