Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 2009 20:04:04 -0800
From:      Kip Macy <kmacy@freebsd.org>
To:        mister.olli@googlemail.com
Cc:        freebsd-xen@freebsd.org
Subject:   Re: 8-CURRENT does not build without WITNESS activated
Message-ID:  <3c1674c90902042004m1b7261d7o60a57a80c447582b@mail.gmail.com>
In-Reply-To: <1233687579.4832.11.camel@phoenix.blechhirn.net>
References:  <1233687579.4832.11.camel@phoenix.blechhirn.net>

next in thread | previous in thread | raw e-mail | index | archive | help
adding lock.h will fix that - sorry about it

Thanks,
Kip


On Tue, Feb 3, 2009 at 10:59 AM, Mister Olli <mister.olli@googlemail.com> wrote:
> 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
>
>
>
>
> _______________________________________________
> freebsd-xen@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org"
>



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