Subject: alpha installboot
To: None <port-i386@netbsd.org>
From: Ray Phillips <r.phillips@mailbox.uq.edu.au>
List: port-i386
Date: 10/10/2001 18:58:16
Dear NetBSD/i386:

It was possible to compile the NetBSD/alpha installboot program under
NetBSD/i386 v 1.5 using the following steps:

# tar zxf syssrc.tgz ./usr/src/sys/arch/alpha
# cd usr/src/sys/arch/stand/installboot
# make

but under 1.5.1 and 1.5.2 make generates this output:

cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-unin
itialized -Werror
-I/home/ray/installers/NetBSD/alpha-installboot/1.5.2/1/usr/
src/sys/arch/alpha/stand/installboot/../.. -c installboot.c
In file included from installboot.c:66:
/usr/include/sys/disklabel.h:238: `OLDMAXPARTITIONS' undeclared here (not
in a f
unction)
*** Error code 1

Stop.

/usr/include/sys/disklabel.h and /usr/include/machine/disklabel.h (which is
#include'd in the former) changed after NetBSD 1.5 (as indicated by the
version numbers on their first lines) so it would seem a bug has crept
in--or have I made a mistake?


Ray