Subject: port-hp300/3523: /src/sys/arch/hp300/stand/Makefile.inc misses {dnkbd.c,kbd.c,kbdconf.c}
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 04/22/1997 16:15:37
>Number: 3523
>Category: port-hp300
>Synopsis: /src/sys/arch/hp300/stand/Makefile.inc misses {dnkbd.c,kbd.c,kbdconf.c}
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 22 07:35:01 1997
>Last-Modified:
>Originator: Thorsten Frueauf
>Organization:
private
>Release: <NetBSD-current source date> NetBSD current 21.04.1997
>Environment:
NetBSD cybersil 1.2D NetBSD 1.2D (CYBERSIL) #1: Thu Apr 17 20:28:39 MEST 1997 milano@cybersil:/usr/src/sys/arch/hp300/compile/CYBERSIL hp300
>Description:
/src/sys/arch/hp300/stand/Makefile.inc misses {dnkbd.c,kbd.c,kbdconf.c},
thus make fails in hp300/stand/{inst,uboot}.
>How-To-Repeat:
Try `make` in /src/sys/arch/hp300/stand and watch:
cc -O3 -msoft-float -O2 -m68030 -Werror -I/usr/src/sys/arch/hp300/stand/inst/..
/../.. -I/usr/src/sys/arch/hp300/stand/inst/../../../.. -DDCACONSOLE -DITECONSOL
E -DDCMCONSOLE -DHIL_KEYBOARD -DUK_KEYBOARD -DDOMAIN_KEYBOARD -DSTANDALONE -DCOM
PAT_NOLABEL -Dhp300 -DCOMPAT_UFS -DNO_LSEEK -DHEAP_LIMIT="0xffffdfff" -c vers.c
ld -N -T FFF00000 -e begin -o inst srt0.o autoconf.o clock.o conf.o cons.o devo
pen.o machdep.o prf.o rawfs.o netio.o ct.o dca.o dcm.o fhpib.o hil.o hpib.o if_l
e.o ite.o ite_dv.o ite_gb.o ite_rb.o ite_subr.o ite_tc.o ite_hy.o nhpib.o rd.o s
csi.o sd.o inst.o vers.o /usr/src/sys/arch/hp300/stand/inst/obj/lib/sa/libsa.a /
usr/src/sys/arch/hp300/stand/inst/obj/lib/z/libz.a /usr/src/sys/arch/hp300/stand
/inst/obj/lib/kern/libkern.a
srt0.o: Undefined symbol `_kbdnmi' referenced from text segment
ite.o: Undefined symbol `_kbdinit' referenced from text segment
ite.o: Undefined symbol `_kbdgetc' referenced from text segment
*** Error code 1
>Fix:
Apply the following patch to /src/sys/arch/hp300/stand/Makefile.inc:
*** Makefile.inc-orig Thu Apr 17 15:57:03 1997
--- Makefile.inc Tue Apr 22 16:06:31 1997
***************
*** 16,24 ****
COMMONSOURCE= srt0.o autoconf.c clock.c conf.c cons.c devopen.c \
machdep.c prf.c rawfs.c netio.c
! DRIVERSOURCE= ct.c dca.c dcm.c fhpib.c hil.c hpib.c if_le.c \
ite.c ite_dv.c ite_gb.c ite_rb.c ite_subr.c \
! ite_tc.c ite_hy.c nhpib.c rd.c scsi.c sd.c
### Figure out what to use for mkboot
MKBOOTDIR= ${.CURDIR}/../mkboot
--- 16,25 ----
COMMONSOURCE= srt0.o autoconf.c clock.c conf.c cons.c devopen.c \
machdep.c prf.c rawfs.c netio.c
! DRIVERSOURCE= ct.c dca.c dcm.c dnkbd.c fhpib.c hil.c hpib.c if_le.c \
ite.c ite_dv.c ite_gb.c ite_rb.c ite_subr.c \
! ite_tc.c ite_hy.c kbd.c kbdconf.c nhpib.c rd.c scsi.c \
! sd.c
### Figure out what to use for mkboot
MKBOOTDIR= ${.CURDIR}/../mkboot
>Audit-Trail:
>Unformatted:
/src/sys/arch/hp300/stand/Makefile.inc misses {dnkbd.c,kbd.c,kbdconf.c}