NetBSD Problem Report #295

From gnats  Sat Jun 18 19:08:01 1994
Received: from yuri.CS.ORST.EDU ([email protected] [128.193.164.204]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id TAA15079 for <[email protected]>; Sat, 18 Jun 1994 19:07:59 -0700
Message-Id: <[email protected]>
Date: Sat, 18 Jun 1994 19:16:02 -0700
From: "Jason R. Thorpe" <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: /sys/arch/hp300/stand/dca.c fails to compile
X-Send-Pr-Version: 3.2

>Number:         295
>Category:       kern
>Synopsis:       /sys/arch/hp300/stand/dca.c fails to compile
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 18 19:20:02 +0000 1994
>Closed-Date:    Sun Jun 19 02:28:06 +0000 1994
>Last-Modified:  
>Originator:     Jason R. Thorpe
>Release:        
>Organization:
  Oregon State University - Department of Computer Science
>Environment:

NetBSD 0.9B (FOUNDATION) #5: Fri Jun 17 19:26:28 MDT 1994
    [email protected]:/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}

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: hpeyerl 
State-Changed-When: Sat Jun 18 19:28:06 PDT 1994 
State-Changed-Why:  
fixed by me in record time. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.