NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build.sh fails on building 'tools' on FreeBSD host.



Hi all,
I extracted the NetBSD sources (release 5.0.2) and ran ./build.sh -m i386 tools which failed. It stopped while building cksum. I am running FreeBSD 8 on amd64. Below is the output pertaining to my issue.

Thanks,
Winston Weinert


#      link  cksum/cksum
cc -O -I/usr/home/winstonw/src/netbsd/src/src/tools/compat/obj -I/usr/home/winstonw/src/netbsd/src/src/tools/compat/obj/include -I/usr/home/winstonw/src/netbsd/src/src/tools/cksum/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/usr/home/winstonw/src/netbsd/src/src/tools/cksum/../compat/sys -o cksum cksum.lo crc.lo md2.lo md4.lo md5.lo sha1.lo rmd160.lo print.lo sum1.lo sum2.lo sha256.lo sha384.lo sha512.lo -L/usr/home/winstonw/src/netbsd/src/src/tools/compat/obj -lnbcompat -lz /usr/home/winstonw/src/netbsd/src/src/tools/compat/obj/libnbcompat.a(sha2.lo)(.text+0x61d): In function `SHA384_Final':
: undefined reference to `be64enc'
/usr/home/winstonw/src/netbsd/src/src/tools/compat/obj/libnbcompat.a(sha2.lo)(.text+0x67d): In function `SHA512_Final':
: undefined reference to `be64enc'
/usr/home/winstonw/src/netbsd/src/src/tools/compat/obj/libnbcompat.a(sha2.lo)(.text+0xe22): In function `SHA224_256_Final':
: undefined reference to `be32enc'

*** Failed target:  cksum
*** Failed command: cc -O -I/usr/home/winstonw/src/netbsd/src/src/tools/compat/obj -I/usr/home/winstonw/src/netbsd/src/src/tools/compat/obj/include -I/usr/home/winstonw/src/netbsd/src/src/tools/cksum/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/usr/home/winstonw/src/netbsd/src/src/tools/cksum/../compat/sys -o cksum cksum.lo crc.lo md2.lo md4.lo md5.lo sha1.lo rmd160.lo print.lo sum1.lo sum2.lo sha256.lo sha384.lo sha512.lo -L/usr/home/winstonw/src/netbsd/src/src/tools/compat/obj -lnbcompat -lz
*** Error code 1

Stop.
nbmake: stopped in /usr/home/winstonw/src/netbsd/src/src/tools/cksum

*** Failed target:  dependall
*** Failed command: cd /usr/home/winstonw/src/netbsd/src/src/tools/cksum; /usr/home/winstonw/src/netbsd/src/src/tooldir.FreeBSD-8.0-RELEASE-amd64/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/home/winstonw/src/netbsd/src/src/tools/cksum

*** Failed target:  dependall-cksum
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/home/winstonw/src/netbsd/src/src/tools" ;; *) this="${dir}/"; real="/usr/home/winstonw/src/netbsd/src/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/home/winstonw/src/netbsd/src/src/tooldir.FreeBSD-8.0-RELEASE-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget cksum dependall
*** Error code 1

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

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



Home | Main Index | Thread Index | Old Index