Subject: kern/2228: /src/sys/dev/audio.h is missing
To: None <gnats-bugs@NetBSD.ORG>
From: Thorsten Frueauf <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 03/17/1996 16:31:24
>Number: 2228
>Category: kern
>Synopsis: /src/sys/dev/audio.h is missing
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 17 11:05:01 1996
>Last-Modified:
>Originator: Thorsten Frueauf
>Organization:
private
>Release: <NetBSD-current source date> NetBSD current 16.03.1996
>Environment:
System: NetBSD di_frueauf 1.1A NetBSD 1.1A (CYBERDYNE) #2: Sat Mar 16 05:02:21 GMT 1996 milano@di_frueauf:/home/milano/source/netbsd-src/sys/arch/amiga/compile/CYBERDYNE amiga
>Description:
/src/sys/dev/audio.h is missing but gets included by two files:
[milano@cybersil]/src/sys/dev# fgrep audio.h *.c *.h
audio.c:#include "audio.h"
dev_conf.h:#include "audio.h"
>How-To-Repeat:
Try to compile a kernel on hp300 and watch it break:
cc -O2 -Werror -msoft-float -I. -I../../../../arch -I../../../.. -DMILANO -DHP3
80 -DHP375 -DHP370 -DHP360 -DHP350 -DHP340 -DHP330 -DHP320 -DGENERIC -DDIAGNOSTI
C -DDEBUG -DDDB -DCOMPAT_HPUX -DCOMPAT_NOLABEL -DUSELEDS -DFPSP -DTCP_COMPAT_42
-DMROUTING -DGATEWAY -DINET -DMFS -DPROCFS -DFDESC -DKERNFS -DUNION -DNFSCLIENT
-DNFSSERVER -DCD9660 -DQUOTA -DFFS -DFIFO -DNKMEMCLUSTERS=1024 -DKTRACE -DSYSVMS
G -DSYSVSEM -DSYSVSHM -DCOMPAT_10 -DCOMPAT_09 -DCOMPAT_44 -DCOMPAT_43 -DDEVPAGER
-DVNODEPAGER -DSWAPPAGER -D_KERNEL -Dmc68020 -Dhp300 -DFPCOPROC -c ../../../..
/dev/ccd.c
In file included from ../../../../dev/ccd.c:112:
../../../../dev/dev_conf.h:34: audio.h: No such file or directory
*** Error code 1
>Fix:
As a quick fix, `touch /src/sys/dev/audio.h`, for a clear fix integrate
audio.h to the source tree or don't include it.
>Audit-Trail:
>Unformatted: