Subject: 2 problems compiling -current
To: None <port-vax@netbsd.org>
From: None <cpg@aladdin.de>
List: port-vax
Date: 11/12/2000 00:00:00
Hi,
in sys/arch/vax/boot/boot
----------------
making sure the sa library is up to date...
cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror
-I/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../../../../lib/libsa -DSUPPORT_BOOTPARAMS
-DSUPPORT_BOOTP -DSUPPORT_DHCP -D_STANDALONE -DNO_MID_CHECK -I../../.
-I/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../../../../
-I/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../../
-I/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../common
-I/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../../include -DRELOC=0x2f0000 -DCOMPAT_UFS
-D__INTERNAL_LIBSA_CREAD -c
/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../../../../lib/libsa/dosfs.c
cc1: warnings being treated as errors
/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../../../../lib/libsa/dosfs.c: In function
`dosfs_read':
/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../../../../lib/libsa/dosfs.c:285: warning:
pointer of type `void *' used in arithmetic
*** Error code 1
Stop.
----------------
and later then
----------------
bash-2.03# cc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized
-Werror -DSUPPORT_BOOTPARAMS -DSUPPORT_BOOTP -DSUPPORT_DHCP -D_STANDALONE -DNO_MID_CHECK -I.
-I/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../../../../
-I/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../../
-I/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../common
-I/net/swamp/zeug/netbsd-chkout/sys/arch/vax/boot/boot/../../include -DRELOC=0x2f0000 -c
/usr/src/sys/arch/vax/boot/boot/boot.c
/tmp/ccxXI7wo.s: Assembler messages:
/tmp/ccxXI7wo.s:546: Warning: Ignoring statement due to "Bad operand"
/tmp/ccxXI7wo.s:546: Error: Missing ')' assumed
/tmp/ccxXI7wo.s:546: Warning: Ignoring statement because "invalid operand of ()+"
/tmp/ccxXI7wo.s:563: Warning: Ignoring statement due to "Bad operand"
/tmp/ccxXI7wo.s:563: Error: Missing ')' assumed
/tmp/ccxXI7wo.s:563: Warning: Ignoring statement because "invalid operand of ()+"
----------------
The offending lines contain
L94:
#APP
extzv -8(fp),$1,(-20(fp)),(-16(fp))+
#NO_APP
L93:
regards,
chris
Christian Groessler