Subject: still can't make(1) in distrib/i386/floppies
To: None <port-i386@NetBSD.ORG>
From: Simon J. Gerraty <sjg@cdn.telstra.com.au>
List: port-i386
Date: 11/11/1997 17:17:48
My machine where I get this list is down so sorry if I'm repeating...

I've updated my sources to the tar_files that were on ftp.netbsd.org
this morning (ie. 8hrs before this msg :-)

I have a make build running which seems to be churning happily though
lib so includes etc are all up todate.

Prior to that I did a find on both /usr/obj and the NFS server to
remove any .[oa] files, then did make obj.

Make in distrib/i386/floppies gets as far as:

cc -O  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -I. -I/usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386/../.. -I/usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386  -DREL=\"1.3_ALPHA\" -DMACH=\"i386\" -c /usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386/../../install.c
/usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386/../../install.c: In function `do_install':
/usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386/../../install.c:94: `MSG_disksetupdone' undeclared (first use this function)
/usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386/../../install.c:94: (Each undeclared identifier is reported only once
/usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386/../../install.c:94: for each function it appears in.)
*** Error code 1

Is this a bug or must I wait for make build to finish or can I simply
stop it from trying to build sysinst? Ie. can I just remove sysinst
from ramdisk/list ?

I'd say its a bug in the Makefiles.  I noted that message
disksetupdone was in distrib/utils/sysinst/msg.mi.def but
MSG_disksetupdone was not in
distrib/utils/sysinst/arch/i386/msg_defs.h and with a obj directory,
make clean was not removing distrib/utils/sysinst/arch/i386/msg_defs.h
so it was never getting re-made.  Blowing away the obj directory and
doing a make clean gets us past that - up to:

cc -O  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -I. -I/usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386/../.. -I/usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386  -DREL=\"1.3_ALPHA\" -DMACH=\"i386\" -c /usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386/../../factor.c
In file included from /usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386/../../factor.c:39:
/usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386/../../defs.h:260: syntax error before `*'
cc1: warnings being treated as errors
/usr/local/NetBSD/current/src/distrib/utils/sysinst/arch/i386/../../defs.h:260: warning: data definition has no type or storage class
*** Error code 1

All I want to be able to do is test a kernel on my laptop [I'm not
going to update it to 1.3 until I can get the 3C589 to ifconfig],
in the interests of getting the pcmcia stuff ironed out, how do I
ditch sysinst from the boot floppy build?


--sjg