Subject: can't build tools
To: None <port-sgimips@netbsd.org>
From: Zafer Aydogan <zafer@gmx.org>
List: port-sgimips
Date: 11/13/2005 22:07:10
hello List,

building the tools fail at makefs with the current sources on an sgimips
running NetBSD 1.6.1. Any advice is welcome.

...
d -I/usr/src/usr.sbin/mtree -I/usr/src/sys/fs/cd9660 -c -o cd9660.lo.o   
/usr/src/tools/makefs/../../usr.sbin/makefs/cd9660.c
/usr/src/tools/makefs/../../usr.sbin/makefs/cd9660.c: In function
`cd9660_allocate_cd9660node':
/usr/src/tools/makefs/../../usr.sbin/makefs/cd9660.c:184: `__func__'
undeclared (first use in this function)
/usr/src/tools/makefs/../../usr.sbin/makefs/cd9660.c:184: (Each undeclared
identifier is reported only once
/usr/src/tools/makefs/../../usr.sbin/makefs/cd9660.c:184: for each function
it appears in.)
/usr/src/tools/makefs/../../usr.sbin/makefs/cd9660.c: In function
`cd9660_convert_structure':
/usr/src/tools/makefs/../../usr.sbin/makefs/cd9660.c:1339: `__func__'
undeclared (first use in this function)

*** Failed target:  cd9660.lo
*** Failed command: cc -O -I. -I/usr/src/../obj/tools/compat
-I/usr/src/../obj/tools/compat/include -I/usr/src/tools/makefs/../compat
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64
-I/usr/src/tools/makefs/../../usr.sbin/makefs -I/usr/src/bin/ls
-I/usr/src/sbin/mknod -I/usr/src/usr.sbin/mtree -I/usr/src/sys/fs/cd9660 -c
-o cd9660.lo.o /usr/src/tools/makefs/../../usr.sbin/makefs/cd9660.c
*** Error code 1

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

*** Failed target:  dependall
*** Failed command: cd /usr/src/tools/makefs; /usr/src/../tools/bin/nbmake
realall
*** Error code 1

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

*** Failed target:  dependall-makefs
*** 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/src/../tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget makefs dependall
*** Error code 1

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

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

$
z++