Subject: building i386 cross toolchain from linux-ppc fails
To: None <tech-toolchain@netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: tech-toolchain
Date: 02/26/2002 00:12:32
Hi,

I used 

./build.sh -t -m i386

on a linux-ppc machine (debian 3.0)

and if fails when making dbsym:

dependall ===> dbsym
/usr/local/netbsdtools/bin/nbhost-mkdep -a -I/net/swamp/zeug/netbsd-chkout/tools/compat/obj.i386 -I/net/swamp/zeug/netbsd-chkout/tools/compat/obj.i386/include  -I/net/swamp/zeug/netbsd-chkout/tools/dbsym/../compat -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64  -I/net/swamp/zeug/netbsd-chkout/tools/toolchain/obj.i386/build/bfd -I/net/swamp/zeug/netbsd-chkout/tools/dbsym/../../gnu/usr.sbin/dbsym/../../dist/toolchain/bfd -I/net/swamp/zeug/netbsd-chkout/tools/dbsym/../../gnu/usr.sbin/dbsym/../../dist/toolchain/binutils -I/net/swamp/zeug/netbsd-chkout/tools/dbsym/../../gnu/usr.sbin/dbsym/../../dist/toolchain/include /net/swamp/zeug/netbsd-chkout/tools/dbsym/../../gnu/usr.sbin/dbsym/dbsym.c
/net/swamp/zeug/netbsd-chkout/tools/dbsym/../../gnu/usr.sbin/dbsym/dbsym.c:45: sys/exec_elf.h: No such file or directory
cc -O -I/net/swamp/zeug/netbsd-chkout/tools/compat/obj.i386 -I/net/swamp/zeug/netbsd-chkout/tools/compat/obj.i386/include  -I/net/swamp/zeug/netbsd-chkout/tools/dbsym/../compat -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64  -I/net/swamp/zeug/netbsd-chkout/tools/toolchain/obj.i386/build/bfd -I/net/swamp/zeug/netbsd-chkout/tools/dbsym/../../gnu/usr.sbin/dbsym/../../dist/toolchain/bfd -I/net/swamp/zeug/netbsd-chkout/tools/dbsym/../../gnu/usr.sbin/dbsym/../../dist/toolchain/binutils -I/net/swamp/zeug/netbsd-chkout/tools/dbsym/../../gnu/usr.sbin/dbsym/../../dist/toolchain/include -c -o dbsym.lo /net/swamp/zeug/netbsd-chkout/tools/dbsym/../../gnu/usr.sbin/dbsym/dbsym.c
/net/swamp/zeug/netbsd-chkout/tools/dbsym/../../gnu/usr.sbin/dbsym/dbsym.c:45: sys/exec_elf.h: No such file or directory
*** Error code 1

Stop.
nbmake: stopped in /net/swamp/zeug/netbsd-chkout/tools/dbsym


regards,
chris