Subject: Re: fun with -current
To: Protius <tjohnson@gloria.cord.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-hp300
Date: 07/23/1995 10:04:47
On Fri, 21 Jul 1995 00:13:59 -0500 
 Protius <tjohnson@gloria.cord.edu> wrote:

It's less likely that these will be missed if you use send-pr(1).

 > 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

--------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939