Subject: Re: 2.0_RC3 cross compiling for alpha failed
To: Kurt Schreiner <ks@ub.uni-mainz.de>
From: James Chacon <jmc@NetBSD.org>
List: current-users
Date: 10/05/2004 17:44:31
On Wed, Oct 06, 2004 at 12:39:52AM +0200, Kurt Schreiner wrote:
> Hi,
> just failed to cross compile a freshly cvs update-ed NetBSD 2.0_RC3
> on i386 for alpha:
It'll be fixed tonight.
James
>
> # compile linux/linux_sysent.o
> /u/NetBSD/release/2.x/arch/alpha/TOOLS/bin/alpha--netbsd-gcc -O2 -ffreestanding -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Werror -mieee -mno-fp-regs -Demul_find=linux_emul_find -Dstackgap_init=linux_stackgap_init -Demul_flags_translate=linux_emul_flags_translate -Dstackgap_alloc=linux_stackgap_alloc -Dcompat_offseterr=linux_compat_offseterr -Demul_find_interp=linux_emul_find_interp -DNWSDISPLAY=1 -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_LINUX -nostdinc -DKTRACE -DNSEQUENCER=1 -DINET6 -Dalpha -nostdinc -I. -I/u/NetBSD/release/2.x/src/sys/lkm/compat/linux -isystem /u/NetBSD/release/2.x/src/sys -isystem /u/NetBSD/release/2.x/src/sys/arch -D_KERNEL -D_LKM -c /u/NetBSD/release/2.x/src/sys/compat/linux/arch/alpha/linux_sysent.c
> /u/NetBSD/release/2.x/src/sys/compat/linux/arch/alpha/linux_sysent.c:483: error: invalid application of `sizeof' to an incomplete type
>
> *** Failed target: linux_sysent.o
> *** Failed command: /u/NetBSD/release/2.x/arch/alpha/TOOLS/bin/alpha--netbsd-gcc -O2 -ffreestanding -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Werror -mieee -mno-fp-regs -Demul_find=linux_emul_find -Dstackgap_init=linux_stackgap_init -Demul_flags_translate=linux_emul_flags_translate -Dstackgap_alloc=linux_stackgap_alloc -Dcompat_offseterr=linux_compat_offseterr -Demul_find_interp=linux_emul_find_interp -DNWSDISPLAY=1 -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_LINUX -nostdinc -DKTRACE -DNSEQUENCER=1 -DINET6 -Dalpha -nostdinc -I. -I/u/NetBSD/release/2.x/src/sys/lkm/compat/linux -isystem /u/NetBSD/release/2.x/src/sys -isystem /u/NetBSD/release/2.x/src/sys/arch -D_KERNEL -D_LKM -c /u/NetBSD/release/2.x/src/sys/compat/linux/arch/alpha/linux_sysent.c
> *** Error code 1
>
> Stop.
> nbmake: stopped in /u/NetBSD/release/2.x/src/sys/lkm/compat/linux
>
> the "incomplete type" is struct linux_sys_shmget_args, which isn't defined
> anywhere...
>
> -kurt
>
>