NetBSD Problem Report #3901
Received: (qmail 26819 invoked from network); 21 Jul 1997 17:58:26 -0000
Message-Id: <199707211758.KAA02877@atomic.clock.org>
Date: Mon, 21 Jul 1997 10:58:08 -0700 (PDT)
From: "Erik E. Fair" <fair@atomic.clock.org>
Reply-To: fair@atomic.clock.org
To: gnats-bugs@gnats.netbsd.org
Subject: TIOCMOD[GS] missing - usr.bin/kdump compile fails
X-Send-Pr-Version: 3.95
>Number: 3901
>Category: bin
>Synopsis: TIOCMOD[GS] missing - usr.bin/kdump compile fails
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 21 11:05:00 +0000 1997
>Closed-Date: Mon Jul 21 19:40:16 +0000 1997
>Last-Modified: Mon Jul 21 19:44:56 +0000 1997
>Originator: Erik E. Fair
>Release: NetBSD-current July 21, 1996
>Organization:
International Organization of Internet Clock Watchers
>Environment:
System: NetBSD atomic.clock.org 1.2G NetBSD 1.2G (ATOMIC) #22: Fri Jul 11 12:58:55 PDT 1997 root@:/usr/src/sys/arch/sparc/compile/ATOMIC sparc
>Description:
===> usr.bin/kdump
cc -O -I/usr/src/usr.bin/kdump/../ktrace -Werror -c ioctl.c
ioctl.c: In function `ioctlname':
ioctl.c:119: `TIOCMODG' undeclared (first use this function)
ioctl.c:119: (Each undeclared identifier is reported only once
ioctl.c:119: for each function it appears in.)
ioctl.c:121: `TIOCMODS' undeclared (first use this function)
*** Error code 1
Stop.
>How-To-Repeat:
cd /usr/src
setenv UPDATE 1
make build
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed
State-Changed-By: kleink
State-Changed-When: Mon Jul 21 12:07:03 PDT 1997
State-Changed-Why:
The real problem lies in the fact that ioctl.c is generated by an awk(1) script
which can not be integrated into make(1)'s dependency management easily,
at least not in an automatic way.
I'll see if it's reasonable to implement automatic handling of this case.
State-Changed-From-To: analyzed->closed
State-Changed-By: phil
State-Changed-When: Mon Jul 21 12:40:16 PDT 1997
State-Changed-Why:
Added the mkioctl input files to the dependency list for ioctl.c.
When those files change, they will get reinstalled and thus cause
ioctl.c to be remade.
>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.