Subject: 1.6 cross build tools failed
To: None <netbsd-help@netbsd.org>
From: Adrian Maliszewski <Adrian.Maliszewski@rcc.on.ca>
List: netbsd-help
Date: 10/21/2003 02:05:44
I am having a hard time making the buildtools for
$NetBSD: UPDATING,v 1.63 2002/05/19 00:54:35 enami Exp $
NetBSD 1.6 which, i cvs'd today.
I am trying to cross compile on a
FreeBSD 5.1-CURRENT #0: Sun Sep 7 18:20:15 EDT 2003
teksimian@unx:/usr/obj/usr/src/sys/unx.KERNEL system.
with this command:
./build.sh -t -o -T /usr/home/teksimian/netbsd/1-6/buildtools \
-R /usr/home/teksimian/netbsd/1-6/release \
-D /usr/home/teksimian/netbsd/1-6/destdir -m i386
but it errors out with:
...
/src/tools/mtree/../../usr.sbin/mtree/../../bin/ls
-I/usr/home/teksimian/netbsd/1-6/src/tools/mtree/../../usr.sbin/mtree/../../sbin/mknod -c -o crc.lo.o /usr/home/teksimian/netbsd/1-6/src/usr.sbin/mtree/crc.c
mv crc.lo.o crc.lo
cc -O -DNO_MD5 -DNO_RMD160 -DNO_SHA1
-I/usr/home/teksimian/netbsd/1-6/src/tools/compat
-I/usr/home/teksimian/netbsd/1-6/src/tools/compat/include
-I/usr/home/teksimian/netbsd/1-6/src/tools/mtree/../compat
-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64
-I/usr/home/teksimian/netbsd/1-6/src/tools/mtree/../../usr.sbin/mtree/../../bin/ls -I/usr/home/teksimian/netbsd/1-6/src/tools/mtree/../../usr.sbin/mtree/../../sbin/mknod -c -o create.lo.o /usr/home/teksimian/netbsd/1-6/src/usr.sbin/mtree/create.c
mv create.lo.o create.lo
cc -O -DNO_MD5 -DNO_RMD160 -DNO_SHA1
-I/usr/home/teksimian/netbsd/1-6/src/tools/compat
-I/usr/home/teksimian/netbsd/1-6/src/tools/compat/include
-I/usr/home/teksimian/netbsd/1-6/src/tools/mtree/../compat
-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64
-I/usr/home/teksimian/netbsd/1-6/src/tools/mtree/../../usr.sbin/mtree/../../bin/ls -I/usr/home/teksimian/netbsd/1-6/src/tools/mtree/../../usr.sbin/mtree/../../sbin/mknod -c -o excludes.lo.o /usr/home/teksimian/netbsd/1-6/src/usr.sbin/mtree/excludes.c
/usr/home/teksimian/netbsd/1-6/src/usr.sbin/mtree/excludes.c: In
function `read_excludes_file':
/usr/home/teksimian/netbsd/1-6/src/usr.sbin/mtree/excludes.c:82: error:
`FPARSELN_UNESCCOMM' undeclared (first use in this function)
/usr/home/teksimian/netbsd/1-6/src/usr.sbin/mtree/excludes.c:82: error:
(Each undeclared identifier is reported only once
/usr/home/teksimian/netbsd/1-6/src/usr.sbin/mtree/excludes.c:82: error:
for each function it appears in.)
/usr/home/teksimian/netbsd/1-6/src/usr.sbin/mtree/excludes.c:82: error:
`FPARSELN_UNESCCONT' undeclared (first use in this function)
/usr/home/teksimian/netbsd/1-6/src/usr.sbin/mtree/excludes.c:82: error:
`FPARSELN_UNESCESC' undeclared (first use in this function)
/usr/home/teksimian/netbsd/1-6/src/usr.sbin/mtree/excludes.c:82:
warning: assignment makes pointer from integer without a cast
*** Error code 1
Stop.
nbmake: stopped in /usr/home/teksimian/netbsd/1-6/src/tools/mtree
*** Error code 1
Stop.
nbmake: stopped in /usr/home/teksimian/netbsd/1-6/src/tools/mtree
*** Error code 1
Stop.
nbmake: stopped in /usr/home/teksimian/netbsd/1-6/src/tools
...
it is also worth mentioning that this equivalent ./build.sh run on the
current source succeeds.
Thank you for your time.