Subject: Re: bin/3901: TIOCMOD[GS] missing - usr.bin/kdump compile fails
To: None <>
From: Klaus Klein <>
List: current-users
Date: 07/21/1997 21:02:58
"Erik E. Fair" <> writes:

> 	===> 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

You'll note that, as per usr.bin/kdump/Makefile, 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 fashion.

For now, "rm -f ioctl.c" should be sufficient.