Subject: making installboot fails in ews4800mips.c
To: None <current-users@NetBSD.org>
From: Chris Tribo <ctribo@dtcc.edu>
List: current-users
Date: 02/03/2006 00:54:36
# compile installboot/ews4800mips.o
/usr/src/obj/tooldir.NetBSD-3.99.15-i386/bin/i386--netbsdelf-gcc -O2
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow
-Wcast-qual -Wwrite-strings -Werror -I/usr/src/usr.sbin/installboot
-I. -nostdinc -isystem /usr/include -c
/usr/src/usr.sbin/installboot/arch/ews4800mips.c
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:18: error:
`EWS4800MIPS_BBINFO_MAGIC' undeclared here (not in a function)
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:18: error: initializer
element is not constant
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:18: error: (near
initialization for `ews4800mips_bbparams.magic')
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:19: error:
`EWS4800MIPS_BOOT_BLOCK_OFFSET' undeclared here (not in a function)
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:19: error: initializer
element is not constant
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:19: error: (near
initialization for `ews4800mips_bbparams.offset')
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:20: error:
`EWS4800MIPS_BOOT_BLOCK_BLOCKSIZE' undeclared here (not in a function)
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:20: error: initializer
element is not constant
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:20: error: (near
initialization for `ews4800mips_bbparams.blocksize')
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:21: error:
`EWS4800MIPS_BOOT_BLOCK_MAX_SIZE' undeclared here (not in a function)
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:21: error: initializer
element is not constant
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:21: error: (near
initialization for `ews4800mips_bbparams.maxsize')
/usr/src/usr.sbin/installboot/arch/ews4800mips.c: In function
`ews4800mips_setboot':
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:29: error:
`EWS4800MIPS_BOOT_BLOCK_MAX_SIZE' undeclared (first use in this function)
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:29: error: (Each
undeclared identifier is reported only once
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:29: error: for each
function it appears in.)
/usr/src/usr.sbin/installboot/arch/ews4800mips.c:29: warning: unused
variable `buf'
*** Error code 1
Stop.