NetBSD Problem Report #10153
Received: (qmail 10597 invoked from network); 18 May 2000 20:11:15 -0000
Message-Id: <200005182011.NAA12089@nooksack.ldc.cs.wwu.edu>
Date: Thu, 18 May 2000 13:11:09 -0700 (PDT)
From: Phil Nelson <phil@ldc.cs.wwu.edu>
Reply-To: phil@ldc.cs.wwu.edu
To: gnats-bugs@gnats.netbsd.org
Subject: cscope-13.0-2 doesn't compile on 1.4.1/i386
X-Send-Pr-Version: 3.95
>Number: 10153
>Category: pkg
>Synopsis: cscope-13.0-2 doesn't compile on 1.4.1/i386
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 18 20:12:00 +0000 2000
>Closed-Date: Fri May 19 11:11:28 +0000 2000
>Last-Modified: Fri May 19 11:11:28 +0000 2000
>Originator: Phil Nelson
>Release: NetBSD-1.4.1
>Organization:
WWU Computer Science
>Environment:
System: NetBSD nooksack 1.4.1 NetBSD 1.4.1 (NOOKSACK) #0: Thu Aug 26 11:00:53 PDT 1999 phil@middlefork:/puffin/NetBSD-1.4.1/usr/src/sys/arch/i386/compile/NOOKSACK i386
>Description:
cscope-13.0-2 has the following compile error on my 1.4.1 system.
cc -c -O2 -DBSD -I../common ../common/input.c
../common/input.c: In function `mygetch':
../common/input.c:90: `KEY_BREAK' undeclared (first use in this function)
../common/input.c:90: (Each undeclared identifier is reported only once
../common/input.c:90: for each function it appears in.)
../common/input.c: In function `getline':
../common/input.c:116: `KEY_ENTER' undeclared (first use in this function)
../common/input.c:117: `KEY_BACKSPACE' undeclared (first use in this function)
../common/input.c:123: `KEY_BREAK' undeclared (first use in this function)
*** Error code 1
>How-To-Repeat:
cd ....pkgsrc/deve/cscope
make
>Fix:
I don't have a fix.
>Release-Note:
>Audit-Trail:
From: Giles Lean <giles@nemeton.com.au>
To: phil@ldc.cs.wwu.edu
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/10153: cscope-13.0-2 doesn't compile on 1.4.1/i386
Date: Fri, 19 May 2000 17:18:56 +1000
On Thu, 18 May 2000 13:11:09 -0700 (PDT) Phil Nelson wrote:
> cc -c -O2 -DBSD -I../common ../common/input.c
> ../common/input.c: In function `mygetch':
> ../common/input.c:90: `KEY_BREAK' undeclared (first use in this function)
What I did was:
o install ncurses from pkgsrc
o edit every instance of <curses.h> to <ncurses.h>
That seemed to work, and the resulting binary ran; I'm leaving it to
my users to tell me if it really works though since I don't use it
myself.
Regards,
Giles
State-Changed-From-To: open->closed
State-Changed-By: wiz
State-Changed-When: Fri May 19 04:09:56 PDT 2000
State-Changed-Why:
I updated the package to 15.0bl2, and made it use ncurses on <= 1.4.2.
Thanks for the PR!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.