Cant build kernel
Johan Hendriks
Johan at double-l.nl
Tue Sep 23 11:16:07 UTC 2008
I f i try to build my kernel I get the following error:
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
ln -sf /usr/obj/usr/src/sys/KRNL/opt_sched.h opt_sched.h
rm -f .depend
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/KRNL /usr/src/sys/modules/cxgb/toecore/../../../dev/cxgb/ulp/toecore/toedev.c
In file included from @/dev/cxgb/cxgb_include.h:22,
from /usr/src/sys/modules/cxgb/toecore/../../../dev/cxgb/ulp/toecore/toedev.c:58:
@/dev/cxgb/cxgb_osdep.h:44:33: error: common/cxgb_version.h: No such file or directory
@/dev/cxgb/cxgb_osdep.h:45:25: error: cxgb_config.h: No such file or directory
In file included from @/dev/cxgb/common/cxgb_common.h:609,
from @/dev/cxgb/cxgb_include.h:23,
from /usr/src/sys/modules/cxgb/toecore/../../../dev/cxgb/ulp/toecore/toedev.c:58:
@/dev/cxgb/cxgb_adapter.h:57:24: error: cxgb_osdep.h: No such file or directory
@/dev/cxgb/cxgb_adapter.h:58:20: error: t3cdev.h: No such file or directory
@/dev/cxgb/cxgb_adapter.h:59:37: error: ulp/toecore/cxgb_toedev.h: No such file or directory
@/dev/cxgb/cxgb_adapter.h:60:23: error: sys/mbufq.h: No such file or directory
mkdep: compile failed
*** Error code 1
Stop in /usr/src/sys/modules/cxgb/toecore.
*** Error code 1
Stop in /usr/src/sys/modules/cxgb.
*** Error code 1
Stop in /usr/src/sys/modules.
*** Error code 1
Stop in /usr/obj/usr/src/sys/KRNL.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
This is on a dual PIII 1Ghz machine (HP Netserver)
My kernel conf file:
include GENERIC
ident KRNL
# Polling
options DEVICE_POLLING
# pf
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_CDNR
options ALTQ_PRIQ
device pf
device pflog
device pfsync
# Samba Options
options NETSMB
options LIBMCHAIN
options LIBICONV
options SMBFS
# Console color options
options SC_NORM_ATTR=(FG_LIGHTGREY|BG_BLACK)
options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
options SC_KERNEL_CONS_ATTR=(FG_BROWN|BG_BLACK)
options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)
# Console video mode
options VESA # Vesa Support for Splash
options SC_PIXEL_MODE # add support for the raster tex
# System console options
options SC_DISABLE_REBOOT # disable reboot key sequence
options SC_HISTORY_SIZE=200 # number of history buffer lines
# Debugging for use in -current
nooptions KDB # Enable kernel debugger support.
nooptions DDB # Support DDB.
nooptions GDB # Support remote GDB.
nooptions INVARIANTS # Enable calls of extra sanity checking
nooptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
nooptions WITNESS # Enable checks to detect deadlocks and cycles
nooptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
More information about the freebsd-current
mailing list