Subject: build error in kern regress with simplelock redefined
To: None <current-users@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: current-users
Date: 03/13/2007 02:13:39
src/regress/sys/kern/extent:
--- dependall-sys ---
In file included from /usr/include/sys/lock.h:87,
from /usr/include/sys/pool.h:52,
from /usr/netbsd/src/sys/kern/subr_extent.c:66:
/usr/include/sys/simplelock.h:175:1: error: this is the location of the previous definition
/usr/netbsd/src/sys/kern/subr_extent.c:101:1: error: "simple_lock" redefined
/usr/include/sys/simplelock.h:176:1: error: this is the location of the previous definition
/usr/netbsd/src/sys/kern/subr_extent.c:103:1: error: "simple_unlock" redefined
/usr/include/sys/simplelock.h:177:1: error: this is the location of the previous definition
*** [subr_extent.o] Error code 1
1 error
Regards,
Geoff