Subject: -current build error
To: Current Users <current-users@netbsd.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 03/13/2007 15:39:32
...
#   compile  humanize_number/hntest.o
/f/tools/bin/i386--netbsdelf-gcc -O2   -Werror    -nostdinc -isystem
/e/dest/usr/include  -c
/usr/src/regress/lib/libc/gen/humanize_number/hntest.call-sys ---
--- dependall-kern ---
/usr/src/sys/kern/subr_extent.c:99:1: error: "simple_lock_init" redefined
In file included from /e/dest/usr/include/sys/lock.h:87,
                 from /e/dest/usr/include/sys/pool.h:52,
                 from /usr/src/sys/kern/subr_extent.c:66:
/e/dest/usr/include/sys/simplelock.h:175:1: error: this is the
location of the previous definition
/usr/src/sys/kern/subr_extent.c:101:1: error: "simple_lock" redefined
/e/dest/usr/include/sys/simplelock.h:176:1: error: this is the
location of the previous definition
/usr/src/sys/kern/subr_extent.c:103:1: error: "simple_unlock" redefined
/e/dest/usr/include/sys/simplelock.h:177:1: error: this is the
location of the previous definition
...

I've had it three times today; the last after removing all traces of a
previous build, cvs update and make cleandir.

Chavdar