Date: Tue, 07 Apr 2009 13:41:55 +0200 From: Mister Olli <mister.olli@googlemail.com> To: freebsd-current@freebsd.org Subject: Build XEN PV without WITNESS support Message-ID: <1239104515.18207.15.camel@phoenix.blechhirn.net>
next in thread | raw e-mail | index | archive | help
--=-hm4JSLlRAVIeCEhw/vqN Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi list, building a XEN pv domU without WITNESS support, fails with the following error: In file included from /usr/src/sys/dev/xen/netfront/netfront.c:33: /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/freebsd8_WITHOUT_WITNESS. *** Error code 1 The bug has been acknowledged by Kip Macy in the beginning of february, but unfortunately it's not fixed in SVN yet. The appended patch does the fixing. Regards, Olli --=-hm4JSLlRAVIeCEhw/vqN Content-Disposition: attachment; filename="LOCK_DEBUG.patch" Content-Type: text/x-patch; name="LOCK_DEBUG.patch"; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit --- sys/dev/xen/netfront/netfront.c.ORIG 2009-04-06 23:22:05.000000000 +0200 +++ sys/dev/xen/netfront/netfront.c 2009-04-06 23:24:02.000000000 +0200 @@ -30,6 +30,7 @@ #include <sys/socket.h> #include <sys/sysctl.h> #include <sys/queue.h> +#include <sys/lock.h> #include <sys/sx.h> #include <net/if.h> --=-hm4JSLlRAVIeCEhw/vqN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1239104515.18207.15.camel>