Subject: Building 2.0_RC3 on i386
To: 'port-alpha@netbsd.org' <port-alpha@netbsd.org>
From: Parkes, Lloyd <lloyd.parkes@eds.com>
List: port-alpha
Date: 10/08/2004 14:53:14
I just finished building 2.0_RC3 on my PC, mostly because I have to feed
back for an outstanding PR. I figured I would build an alpha snapshot from
the source tree while I had one because I have a use for it. It croaks with
this though.
# compile linux/linux_sysent.o
/data/src-2.0/obj/tooldir.NetBSD-2.0_RC3-i386/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/data/src-2.0/sys/lkm/compat/linux -isystem
/data/src-2.0/sys -isystem /data/src-2.0/sys/arch -D_KERNEL -D_LKM -c
/data/src-2.0/sys/compat/linux/arch/alpha/linux_sysent.c
/data/src-2.0/sys/compat/linux/arch/alpha/linux_sysent.c:483: error: invalid
application of `sizeof' to an incomplete type
The problem seems to be "struct linux_sys_shmget_args". Perhaps it ought to
be defined in sys//compat/linux/common/linux_shm.h?
Anyone seeing this as well?
Cheers,
Lloyd Parkes