Subject: kern/295: /sys/arch/hp300/stand/dca.c fails to compile
To: None <gnats-admin>
From: Jason R. Thorpe <thorpej@yuri.CS.ORST.EDU>
List: netbsd-bugs
Date: 06/18/1994 19:20:05
>Number: 295
>Category: kern
>Synopsis: /sys/arch/hp300/stand/dca.c fails to compile
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: gnats-admin (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 18 19:20:02 1994
>Originator: Jason R. Thorpe
>Organization:
Oregon State University - Department of Computer Science
>Release:
>Environment:
NetBSD 0.9B (FOUNDATION) #5: Fri Jun 17 19:26:28 MDT 1994
thorpej@lager.fhf.novatel.ca:/home/src/sys/arch/hp300/compile/FOUNDATION
>Description:
/sys/arch/hp300/stand/dca.c fails to compile because CONSCODE is
undeclared. A quick check of /sys/arch/hp300/dev/dcareg.h reveals that
CONSCODE is encapsulated inside of an '#ifdef hp300'
$Id: dcareg.h,v 1.3 1994/05/23 05:58:38 mycroft Exp $
>How-To-Repeat:
>Fix:
The following patch to /sys/arch/hp300/stand/Makefile will get around
the problem...
*** Makefile.orig Sat Jun 18 18:37:26 1994
--- Makefile Sat Jun 18 19:00:42 1994
***************
*** 6,12 ****
# RELOC=FFF00000 allows for boot prog up to FF000 (1044480) bytes long
RELOC= FFF00000
! CONS= -DDCACONSOLE -DITECONSOLE -DDCMCONSOLE
DEFS= -DSTANDALONE -DCOMPAT_NOLABEL ${CONS} # -DROMPRF
CFLAGS= -O ${INCPATH} ${DEFS}
--- 6,12 ----
# RELOC=FFF00000 allows for boot prog up to FF000 (1044480) bytes long
RELOC= FFF00000
! CONS= -DDCACONSOLE -DITECONSOLE -DDCMCONSOLE -Dhp300
DEFS= -DSTANDALONE -DCOMPAT_NOLABEL ${CONS} # -DROMPRF
CFLAGS= -O ${INCPATH} ${DEFS}
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------