Subject: building XEN0 kernel fails
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 06/02/2005 15:10:38
Hi,

using HEAD sources checked out some minutes ago, building a XEN0 kernel
fails:

$ cd /usr/src && ./build.sh [...] kernel=XEN0
[...]
#    create  XEN0/config_time.h
cp config_time.src config_time.h
#    create  XEN0/.depend
/opt/tools/i386/bin/nbmkdep -a -- -x assembler-with-cpp -traditional-cpp -D_LOCORE -Di386 -I. -I/build/nbsd/i386/sys/arch/i386/compile/XEN0/xen-ma -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DDIAGNOSTIC -DDEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf rm -f i386 ln -s /usr/src/sys/arch/i386/include i386 rm -f x86 ln -s /usr/src/sys/arch/x86/include x86 rm -rf xen-ma mkdir xen-ma ln -s ../i386 xen-ma/machine /usr/src/sys/arch/xen/i386/locore.S /usr/src/sys/arch/xen/i386/spl.S /usr/src/sys/arch/xen/i386/vector.S /usr/src/sys/arch/i386/i386/db_dbgreg.S /usr/src/sys/arch/i386/i386/in_cksum.S /usr/src/sys/crypto/des/arch/i386/des_enc.S /usr/src/sys/crypto/des/arch/i386/des_cbc.S /usr/src/sys/crypto/blowfish/arch/i386/bf_enc.S /usr/src/sys/crypto/blowfish/arch/i386/bf_cbc.S /usr/src/sys/arch/i386/i386/svr4_sigcode.S /usr/src/sys/arch/i386/i386/ibcs2_sigcode.S /usr/src/sys/arch/i386/i386/linux_sigcode.S /usr/src/sys/arch/i386/i386/freebsd_sigcode.S
i386--netbsdelf-gcc: rm: No such file or directory
i386--netbsdelf-gcc: ln: No such file or directory
i386--netbsdelf-gcc: rm: No such file or directory
i386--netbsdelf-gcc: ln: No such file or directory
i386--netbsdelf-gcc: rm: No such file or directory
i386--netbsdelf-gcc: mkdir: No such file or directory
i386--netbsdelf-gcc: ln: No such file or directory
i386--netbsdelf-gcc: ../i386: No such file or directory
cc1: error: unrecognized option `-f'
cc1: error: unrecognized option `-f'
[...]
cc1: error: unrecognized option `-f'
cc1: error: unrecognized option `-f'
nbmkdep: compile failed.

*** Failed target:  .depend
*** Failed command: /opt/tools/i386/bin/nbmake -f Makefile _sfiles | CC=/opt/tools/i386/bin/i386--netbsdelf-gcc xargs -t /opt/tools/i386/bin/nbmkdep -a -- -x assembler-with-cpp -traditional-cpp -D_LOCORE -Di386 -I. -I/build/nbsd/i386/sys/arch/i386/compile/XEN0/xen-ma -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DDIAGNOSTIC -DDEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf
*** Error code 123

Stop.
nbmake: stopped in /build/nbsd/i386/sys/arch/i386/compile/XEN0

ERROR: Failed to make depend in /build/nbsd/i386/sys/arch/i386/compile/XEN0
*** BUILD ABORTED ***

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~