Cant build kernel

From: Johan Hendriks <Johan_at_double-l.nl>
Date: Tue, 23 Sep 2008 12:56:02 +0200
I f i try to build my kernel I get the following error:

 

machine -> /usr/src/sys/i386/include

awk -f _at_/tools/makeobjops.awk _at_/kern/device_if.m -h

awk -f _at_/tools/makeobjops.awk _at_/kern/bus_if.m -h

awk -f _at_/tools/makeobjops.awk _at_/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_at_ -I_at_/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 _at_/dev/cxgb/cxgb_include.h:22,

                 from /usr/src/sys/modules/cxgb/toecore/../../../dev/cxgb/ulp/toecore/toedev.c:58:

_at_/dev/cxgb/cxgb_osdep.h:44:33: error: common/cxgb_version.h: No such file or directory

_at_/dev/cxgb/cxgb_osdep.h:45:25: error: cxgb_config.h: No such file or directory

In file included from _at_/dev/cxgb/common/cxgb_common.h:609,

                 from _at_/dev/cxgb/cxgb_include.h:23,

                 from /usr/src/sys/modules/cxgb/toecore/../../../dev/cxgb/ulp/toecore/toedev.c:58:

_at_/dev/cxgb/cxgb_adapter.h:57:24: error: cxgb_osdep.h: No such file or directory

_at_/dev/cxgb/cxgb_adapter.h:58:20: error: t3cdev.h: No such file or directory

_at_/dev/cxgb/cxgb_adapter.h:59:37: error: ulp/toecore/cxgb_toedev.h: No such file or directory

_at_/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
Received on Tue Sep 23 2008 - 09:16:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC