Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2008 12:56:02 +0200
From:      "Johan Hendriks" <Johan@double-l.nl>
To:        <freebsd-current@FreeBSD.org>
Subject:   Cant build kernel 
Message-ID:  <57200BF94E69E54880C9BB1AF714BBCB5DE138@w2003s01.double-l.local>

next in thread | raw e-mail | index | archive | help
I f i try to build my kernel I get the following error:

=20

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

=20

Stop in /usr/src/sys/modules/cxgb/toecore.

*** Error code 1

=20

Stop in /usr/src/sys/modules/cxgb.

*** Error code 1

=20

Stop in /usr/src/sys/modules.

*** Error code 1

=20

Stop in /usr/obj/usr/src/sys/KRNL.

*** Error code 1

=20

Stop in /usr/src.

*** Error code 1

=20

Stop in /usr/src.

=20

=20

This is on a dual PIII  1Ghz machine (HP Netserver)

My kernel conf file:

=20

include         GENERIC

ident           KRNL

=20

# Polling

options         DEVICE_POLLING

=20

# 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

=20

# Samba Options

options         NETSMB

options         LIBMCHAIN

options         LIBICONV

options         SMBFS

=20

# Console color options

options         SC_NORM_ATTR=3D(FG_LIGHTGREY|BG_BLACK)

options         SC_NORM_REV_ATTR=3D(FG_YELLOW|BG_GREEN)

options         SC_KERNEL_CONS_ATTR=3D(FG_BROWN|BG_BLACK)

options         SC_KERNEL_CONS_REV_ATTR=3D(FG_BLACK|BG_RED)

=20

# Console video mode

options         VESA # Vesa Support for Splash

options         SC_PIXEL_MODE # add support for the raster tex

=20

# System console options

options         SC_DISABLE_REBOOT       # disable reboot key sequence

options         SC_HISTORY_SIZE=3D200     # number of history buffer =
lines

=20

=20

# 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57200BF94E69E54880C9BB1AF714BBCB5DE138>