Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Feb 2009 19:59:39 +0100
From:      Mister Olli <mister.olli@googlemail.com>
To:        freebsd-xen@freebsd.org
Subject:   8-CURRENT does not build without WITNESS activated
Message-ID:  <1233687579.4832.11.camel@phoenix.blechhirn.net>

next in thread | raw e-mail | index | archive | help
Hi.

I'm currently unable to build the 8-CURRENT kernel in a PV domU, without
"options WITNESS" in my kernel config.

The output is the following:
======================================================
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP="cc -E"
CC="cc" xargs mkdep -a -f .newdep -O -pipe  -std=c99 -g -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath
-I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm
-I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD
-I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs
-I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -ffreestanding -fstack-protector
In file included from /usr/src/sys/dev/xen/netfront/netfront.c:32:
/usr/src/sys/sys/sx.h:210:2: error: #error "LOCK_DEBUG not defined,
include <sys/lock.h> before <sys/sx.h>"
mkdep: compile failed
*** Error code 1

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

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

Stop in /usr/src.
template_8-CURRENT# 
======================================================

--
Mr. Olli







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