Subject: netbsd-2 build failure after recent pullups
To: None <netbsd-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: netbsd-users
Date: 04/07/2005 16:36:32
Hi,

since the recent pullups to the netbsd-2 branch, building (clean obj
dir etc.) fails:

In file included from /usr/src/sys/arch/i386/stand/boot/boot2.c:45:
/usr/src/sys/sys/bootblock.h:814: error: parse error before "u_int8_t"
/usr/src/sys/sys/bootblock.h:814: warning: no semicolon at end of struct or union 
/usr/src/sys/sys/bootblock.h:815: warning: type defaults to `int' in declaration of `dp_gap1'
/usr/src/sys/sys/bootblock.h:815: warning: data definition has no type or storage class
/usr/src/sys/sys/bootblock.h:816: error: parse error before "dp_gap2"
/usr/src/sys/sys/bootblock.h:816: warning: type defaults to `int' in declaration of `dp_gap2'
/usr/src/sys/sys/bootblock.h:816: warning: data definition has no type or storage class
[...]
*** Failed target:  boot2.o
*** Failed command: /opt/tools/i386/bin/i386--netbsdelf-gcc -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Os -mcpu=i386 -ffreestanding -Werror -I /usr/src/sys/arch/i386/stand/boot/biosboot/.. -I /usr/src/sys/arch/i386/stand/boot/biosboot/../../lib -I /usr/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libsa -I /build/nbsd/i386/sys/arch/i386/stand/boot/biosboot -nostdinc -D_STANDALONE -I/usr/src/sys/arch/i386/stand/boot/biosboot/../../../../../ -DSUPPORT_PS2 -DDIRECT_SERIAL -DSUPPORT_SERIAL=boot_params.bp_consdev -DCONSPEED=boot_params.bp_conspeed -DCONSOLE_KEYMAP=boot_params.bp_keymap -DSUPPORT_USTARFS -DSUPPORT_DOSFS -DPASS_BIOSGEOM -DPASS_MEMMAP -nostdinc -isystem /opt/dst/i386/usr/include -c /usr/src/sys/arch/i386/stand/boot/boot2.c
*** Error code 1
  
Stop.
nbmake: stopped in /usr/src/sys/arch/i386/stand/boot/biosboot
[...]

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~