Subject: error in ndbm13.lo - can't build tools
To: None <current-users@netbsd.org>
From: Alain Robillard <arobillard@hotmail.com>
List: current-users
Date: 12/23/2004 09:48:20
Hello,
since the last two week, I can't build tools anymore using current the
command :
./build.sh -m hpcsh -T /usr/cross tools
gives systematically the following error :
------------------------------------------------------------------
/usr/src/lib/libc/db/hash/__ndbm13.c: In function `dbm_open':
/usr/src/lib/libc/db/hash/__ndbm13.c:99: error: `DBM_SUFFIX' undeclared
(first use in this function)
/usr/src/lib/libc/db/hash/__ndbm13.c:99: error: (Each undeclared identifier
is reported only once
/usr/src/lib/libc/db/hash/__ndbm13.c:99: error: for each function it appears
in.)
*** Failed target: __ndbm13.lo
*** Failed command: cc -O -I. -I./include -I/usr/src/tools/compat
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE -c
-o __ndbm13.lo.o /usr/src/lib/libc/db/hash/__ndbm13.c
*** Error code 1
Stop.
nbmake: stopped in /usr/src/tools/compat
*** Failed target: dependall
*** Failed command: cd /usr/src/tools/compat; /usr/cross/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/tools/compat
*** Failed target: dependall-compat
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src/tools" ;; *) this="${dir}/"; real="/usr/src/tools/${dir}" ;;
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/cross/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget compat dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/tools
ERROR: Failed to make tools
*** BUILD ABORTED ***
------------------------------------------------------------------
I used -r parameter. Used cvs update, cvs checkout and the tar files. Any
idea ?
Thanks
Alain