Subject: Can't build.sh tools on Darwin
To: None <current-users@netbsd.org>
From: Michael Wolfson <michael@nosflow.com>
List: current-users
Date: 05/14/2004 20:51:26
Using fresh source from this afternoon.
(Gizmobook) > setenv USETOOLS yes
(Gizmobook) > setenv MAKEOBJDIR /usr/obj
(Gizmobook) > setenv MACHINE_ARCH powerpc
(Gizmobook) > setenv MACHINE macppc
(Gizmobook) > ./build.sh tools
[...]
dependall ===> compat
mkdir -p include/sys include/machine include/rpc
# create compat/__fts13.d
/usr/obj/tooldir.Darwin-7.3.0-powerpc/bin/nbhost-mkdep -f __fts13.d --
-no-
cpp-precomp -I. -I./include -I/Volumes/NetBSD/usr/src/tools/compat
-DHAVE_NBTOOL
_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE
-D__DBINTERFACE_PRIVATE /V
olumes/NetBSD/usr/src/tools/compat/../../lib/libc/gen/__fts13.c
In file included from /Volumes/NetBSD/usr/src/lib/libc/gen/__fts13.c:41:
/Volumes/NetBSD/usr/src/tools/compat/namespace.h:9:27: nbtool_config.h:
No such
file or directory
In file included from /Volumes/NetBSD/usr/src/lib/libc/gen/__fts13.c:49:
/Volumes/NetBSD/usr/src/tools/compat/fts.h:4:27: nbtool_config.h: No
such file o
r directory
[...]
# compile compat/atoll.lo
cc -O -no-cpp-precomp -I. -I./include
-I/Volumes/NetBSD/usr/src/tools/compat -D
HAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE
-D__DBINTERFACE_
PRIVATE -c -o atoll.lo.o
/Volumes/NetBSD/usr/src/lib/libc/stdlib/atoll.c
/Volumes/NetBSD/usr/src/lib/libc/stdlib/atoll.c:33:27: nbtool_config.h:
No such
file or directory
*** Failed target: atoll.lo
*** Failed command: cc -O -no-cpp-precomp -I. -I./include
-I/Volumes/NetBSD/usr/
src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64
-D_NETBSD_SOURC
E -D__DBINTERFACE_PRIVATE -c -o atoll.lo.o
/Volumes/NetBSD/usr/src/lib/libc/stdl
ib/atoll.c
*** Error code 1
[...]
(Gizmobook) > find . -name nbtool_config.h\* -print
tools/compat/nbtool_config.h.in
Any suggestions?
-- MW