Subject: Compiling netbsd-2-0 fails ...
To: None <netbsd-users@netbsd.org>
From: Martin S. Weber <Ephaeton@gmx.net>
List: netbsd-users
Date: 06/22/2004 16:27:08
mv cap_mkdb.lo.o cap_mkdb.lo
#   compile  cap_mkdb/getcap.lo
cc -O -I/usr/netbsd/obj/tools/compat -I/usr/netbsd/obj/tools/compat/include  -I/usr/netbsd/src/tools/cap_mkdb/../compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64  -c -o getcap.lo.o    /usr/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c
/usr/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `__nbcompat_cgetent':
/usr/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:214: argument `db_array' doesn't match prototype
/usr/netbsd/src/tools/cap_mkdb/../compat/compat_defs.h:517: prototype declaration
/usr/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `__nbcompat_cgetfirst':
/usr/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:728: argument `db_array' doesn't match prototype
/usr/netbsd/src/tools/cap_mkdb/../compat/compat_defs.h:518: prototype declaration
/usr/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:734: warning: passing arg 2 of `__nbcompat_cgetnext' from incompatible pointer type
/usr/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `__nbcompat_cgetnext':
/usr/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:763: argument `db_array' doesn't match prototype
/usr/netbsd/src/tools/cap_mkdb/../compat/compat_defs.h:520: prototype declaration

*** Failed target:  getcap.lo
*** Failed command: cc -O -I/usr/netbsd/obj/tools/compat -I/usr/netbsd/obj/tools/compat/include -I/usr/netbsd/src/tools/cap_mkdb/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -c -o getcap.lo.o /usr/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c
*** Error code 1

Stop.
nbmake: stopped in /usr/netbsd/src/tools/cap_mkdb

*** Failed target:  dependall
*** Failed command: cd /usr/netbsd/src/tools/cap_mkdb; /usr/netbsd/build-tools//bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/netbsd/src/tools/cap_mkdb

*** Failed target:  dependall-cap_mkdb
*** Failed command: targ=dependall;dir=cap_mkdb; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /usr/netbsd/build-tools//bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/usr/netbsd/src/tools/$dir"; /usr/netbsd/build-tools//bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1

Stop.
nbmake: stopped in /usr/netbsd/src/tools

ERROR: Failed to make tools
*** BUILD ABORTED ***

This is different to the lacking _* definitions earlier.  Building on 1.6.2.

More info needed ? Ask & you shall be given.

-Martin ...