Subject: cannot cross build on linux
To: None <tech-toolchain@netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: tech-toolchain
Date: 08/25/2003 03:29:49
Hi,

on Debian/unstable with yesterday's -current I get

----------
dependall ===> cat
/usr/local/tools/bin/nbhost-mkdep -f cat.d   -I/local/netbsdsrc/src/tools/compat/obj.i386 -I/local/netbsdsrc/src/tools/compat/obj.i386/include  -I/local/netbsdsrc/src/tools/cat/../compat -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE    /local/netbsdsrc/src/tools/cat/../../bin/cat/cat.c
cat cat.d /dev/null > .depend
cc -O -I/local/netbsdsrc/src/tools/compat/obj.i386 -I/local/netbsdsrc/src/tools/compat/obj.i386/include  -I/local/netbsdsrc/src/tools/cat/../compat -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE  -c -o cat.lo.o /local/netbsdsrc/src/bin/cat/cat.c
/local/netbsdsrc/src/bin/cat/cat.c: In function `printescaped':
/local/netbsdsrc/src/bin/cat/cat.c:337: error: `SIZE_T_MAX' undeclared (first use in this function)
/local/netbsdsrc/src/bin/cat/cat.c:337: error: (Each undeclared identifier is reported only once
/local/netbsdsrc/src/bin/cat/cat.c:337: error: for each function it appears in.)
*** Error code 1

Stop.
nbmake: stopped in /local/netbsdsrc/src/tools/cat
*** Error code 1

Stop.
nbmake: stopped in /local/netbsdsrc/src/tools/cat
*** Error code 1

Stop.
nbmake: stopped in /local/netbsdsrc/src/tools
*** Error code 1

Stop.
nbmake: stopped in /local/netbsdsrc/src
*** Error code 1

Stop.
nbmake: stopped in /local/netbsdsrc/src
*** Error code 1

Stop.
nbmake: stopped in /local/netbsdsrc/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***
----------

Build command:

./build.sh -m i386 -D /local/i386dest/ -R /local/i386rel/ distribution


regards,
chris