Subject: fun with -current on HP425
To: None <port-hp300@NetBSD.ORG>
From: Protius <tjohnson@gloria.cord.edu>
List: port-hp300
Date: 07/21/1995 12:20:52
I've been trying to get -current to run on my hp9000/425. So far,
I've found a few problems which I could fix:
/usr/src/sys/lib/libkern/Makefile is very unhappy, and needs
SRC+= strcat.c strncpy.c strncmp.c strcmp.c strlen.c strncpy.c strcpy.c
SRC+= ffs.c scanc.c skpc.c
for a whole heap of undefined symbols when the kernel is linked
and /usr/src/sys/lib/libkern/Makefile.inc needs to have the
${KERNDST} ${KERNREL} and ${KERNDIR} paths looked at by someone who
knows how they are supposed to work. I munged them until I got it
to work, but I think its still broken.
in /usr/src/sys/arch/hp300/stand/Makefile
line 10 needs to be commented out, there is no toggle_netif_debug
function.
line 126 needs to be:
clean cleandir::
(two :'s, not one)
in /usr/src/sys/arch/hp300/stand/cons.c
line 96:
change return((*cn_tab->cn_getc)());
to return((*cn_tab->cn_getc)(cn_tab->cn_dev));
line 111:
change (*cn_tab->cn_putc)(c);
to (*cn_tab->cn_putc)(cn_tab->cn_dev,c);
in /usr/src/sys/arch/hp300/stand/dca.c, dcm.c, ite_dv.c, ite_rb.c ite_tc.c,
nhpib.c, scsi.c, sd.c, fhpib.c
add #define _KERNEL so that DELAY is defined in machine/param.h
in /usr/src/sys/lib/libsa/arp.h
line 56, comment out u_char bcea[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
its already in globals.c (ld complains of multiple definitions)
in /usr/src/sys/arch/hp300/dev/if_le.c
line 355
change if (!ifp->if_addrlist.)
to if (!(ifp->if_addrlist.tqh_first))
and there are no files for config.new. I tried to write one, but have
no documentation, and have fallen back to config.old.
so now a make in .../compile/KEMAN is rewarded with the following
undefined symbols: rdread, rdwrite, stread, stwrite.
Which I can't fix...
Could some kind unix guru please tell me The Answer (tm)?
Thanks in advance!
-Tommy
tjohnson@cobber.cord.edu