Subject: Re: building XEN0 kernel fails
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 06/02/2005 14:23:26
On Thu, Jun 02, 2005 at 03:10:38PM +0200, Jukka Salmi wrote:
> Hi,
> 
> using HEAD sources checked out some minutes ago, building a XEN0 kernel
> fails:
> 
> $ cd /usr/src && ./build.sh [...] kernel=XEN0
[...]
> i386--netbsdelf-gcc: rm: No such file or directory
...
> i386--netbsdelf-gcc: ../i386: No such file or directory
> cc1: error: unrecognized option `-f'
> [...]

and further up:

#    create  compat/vm_43.d
CC=/usr/src/obj.i386/tooldir.NetBSD-3.99.3-i386/bin/i386--netbsdelf-gcc /usr/src/obj.i386/tooldir.NetBSD-3.99.3-i386/bin/nbmkdep -f vm_43.d --     -Di386 -I../../. -I/usr/obj/sys/arch/i386/compile.i386/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   -nostdinc -isystem /destdir/i386/usr/include  /usr/src/sys/compat/common/vm_43.c
--- vfs_syscalls_43.d ---
In file included from ../../machine/intr.h:48,
                 from /destdir/i386/usr/include/x86/psl.h:79,
                 from /usr/obj/sys/arch/i386/compile.i386/XEN0/xen-ma/machine/psl.h:3,
                 from ../../machine/cpu.h:433,
                 from /destdir/i386/usr/include/machine/param.h:48,
                 from /usr/src/sys/sys/param.h:145,
                 from /usr/src/sys/compat/common/vfs_syscalls_43.c:46:
../../machine/pic.h:6:21: x86/pic.h: No such file or directory
nbmkdep: compile failed.
*** [vfs_syscalls_43.d] Error code 1


Cheers,

Patrick