Subject: Re: can't compile tools (i.e. './build.sh tools')
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Bang Jun-Young <junyoung@mogua.com>
List: current-users
Date: 08/16/2004 18:35:51
Hisashi T Fujinaka wrote:
> Building current on i386. (very current) :)
> 
> Here's the error I see:
> 
> #   compile  installboot/i386.lo
> cc -O -I. -I/usr/src/tools/installboot
> -I/usr/src/tools/installboot/../mips-elf2ecoff
> -I/usr/src/tools/compat/obj.i386
> -I/usr/src/tools/compat/obj.i386/include
> -I/usr/src/tools/installboot/../compat -DHAVE_NBTOOL_CONFIG_H=1
> -D_FILE_OFFSET_BITS=64
> -I/usr/src/tools/installboot/../../usr.sbin/installboot -I. -c -o
> i386.lo.o    /usr/src/usr.sbin/installboot/arch/i386.c
> /usr/src/usr.sbin/installboot/arch/i386.c: In function `i386_setboot':
> /usr/src/usr.sbin/installboot/arch/i386.c:66: error: `uint' undeclared
> (first use in this function)
> /usr/src/usr.sbin/installboot/arch/i386.c:66: error: (Each undeclared
> identifier is reported only once
> /usr/src/usr.sbin/installboot/arch/i386.c:66: error: for each function
> it appears in.)
> /usr/src/usr.sbin/installboot/arch/i386.c:66: error: parse error before
> "bootstrapsize"
> /usr/src/usr.sbin/installboot/arch/i386.c:117: error: `bootstrapsize'
> undeclared (first use in this function)

Seems to have been fixed in src/usr.sbin/installboot/arch/i386.c -r1.18.

Jun-Young