Subject: Re: error in ndbm13.lo - can't build tools
To: Alain Robillard <arobillard@hotmail.com>
From: James Chacon <jmc@NetBSD.org>
List: current-users
Date: 12/23/2004 11:42:35
On Thu, Dec 23, 2004 at 09:48:20AM -0500, Alain Robillard wrote:
> 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 :
What is your host machine? i.e. uname -r
I've done this on x86 NetBSD 2.99.11 and on redhat linux ES3 and both built
tools from the latest source w/o issue.
James
>
> ------------------------------------------------------------------
>
> /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
>
>
>