Build XEN PV without WITNESS support

Mister Olli mister.olli at googlemail.com
Tue Apr 7 04:42:05 PDT 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LOCK_DEBUG.patch
Type: text/x-patch
Size: 320 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090407/049a4577/LOCK_DEBUG.bin


More information about the freebsd-current mailing list