Subject: -current build fails in sys/lkm/compat/linux
To: None <port-alpha@netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: port-alpha
Date: 02/21/2002 11:52:38
Hi,

-current from 2 or 3 days ago fails with

alpha:/usr/src/sys/lkm/compat/linux# make all
/usr/oth/tmp/tooldir/bin/alpha--netbsd-gcc -O2  -D_KERNEL -D_LKM -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized  -Werror -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 -DNWSDISPLAY=1 -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_LINUX -nostdinc -DKTRACE -DNSEQUENCER=1 -DINET6 -Dalpha -nostdinc -I. -I/usr/src/sys/lkm/compat/linux -isystem /net/swamp/zeug/netbsd-chkout/sys -isystem /net/swamp/zeug/netbsd-chkout/sys/arch  -c /net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c: In function `linux_sys_mmap2':
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:444: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:445: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:446: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:447: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:450: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:451: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:452: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:456: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:457: dereferencing pointer to incomplete type
cc1: warnings being treated as errors
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c: At top level:
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:1488: warning: function declaration isn't a prototype
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c: In function `linux_sys_getrlimit':
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:1502: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:1511: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c: At top level:
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:1516: warning: function declaration isn't a prototype
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c: In function `linux_sys_setrlimit':
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:1530: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:1534: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:1537: dereferencing pointer to incomplete type
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c: At top level:
/net/swamp/zeug/netbsd-chkout/sys/compat/linux/common/linux_misc.c:1546: warning: function declaration isn't a prototype
*** Error code 1

Stop.
make: stopped in /usr/src/sys/lkm/compat/linux


regards,
chris