Subject: port-amiga/2994: /src/sys/arch/amiga/amiga/conf.c includes drcom.h which is not
To: None <gnats-bugs@gnats.netbsd.org>
From: Thorsten Frueauf <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 12/04/1996 01:43:32
>Number:         2994
>Category:       port-amiga
>Synopsis:       /src/sys/arch/amiga/amiga/conf.c includes drcom.h which is not 
         generated in files.amiga
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec  3 17:05:00 1996
>Last-Modified:
>Originator:     Thorsten Frueauf
>Organization:
private
>Release:        <NetBSD-current source date> NetBSD curent 02.12.1996
>Environment:
	
System: NetBSD di_frueauf 1.2B NetBSD 1.2B (CYBERDYNE) #5: Fri Nov 29 18:54:39 GMT 1996 milano@di_frueauf:/usr/src/sys/arch/amiga/compile/CYBERDYNE amiga


>Description:
	
/src/sys/arch/amiga/amiga/conf.c includes drcom.h which should be generated
with the files.amiga mechanism - but files.amiga misses an entry for drcom.
Thus compiling a current NetBSD/amiga kernel fails.

>How-To-Repeat:
	
Try to compile a current NetBSD/amiga kernel and watch:

cc  -Werror -Wall -Wstrict-prototypes -O2 -msoft-float -m68060 -Wa,-m68030 -I. -
I../../../../arch -I../../../.. -nostdinc -DEXEC_AOUT -DEXEC_SCRIPT -DTIMEZONE="
0" -DDST="1" -DNMBCLUSTERS="0x400" -DM68060 -DM060SP -DM68040 -DFPSP -DM68030 -D
M68020 -DFPCOPROC -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DINET -DGATEWAY -DDIRECTE
D_BROADCAST -DMROUTING -DIPFILTER -DFFS -DQUOTA -DMFS -DNFSSERVER -DNFSCLIENT -D
ADOSFS -DCD9660 -DMSDOSFS -DFDESC -DFIFO -DKERNFS -DNULLFS -DPROCFS -DUMAPFS -DU
NION -DCOMPAT_12 -DCOMPAT_10 -DCOMPAT_09 -DCOMPAT_43 -DCOMPAT_SUNOS -DTCP_COMPAT
_42 -DCOMPAT_NOMID -DSYSVSHM -DSYSVMSG -DSYSVSEM -DUCONSOLE -DGENERIC -DLKM -DNK
MEMCLUSTERS=256 -DKTRACE -DMACHINE_NONCONTIG -DKBDRESET -DSERIBUF_SIZE=4096 -DSE
ROBUF_SIZE=32 -DLEV6_DEFER -DCL5426CONSOLE -DMAXUSERS=16 -D_KERNEL  -Dmc68020 -D
amiga  -c ../../../../arch/amiga/amiga/conf.c
../../../../arch/amiga/amiga/conf.c:91: drcom.h: No such file or directory
*** Error code 1

>Fix:
	
add the missing lines to /src/sys/arch/amiga/files.amiga.
>Audit-Trail:
>Unformatted:
/src/sys/arch/amiga/amiga/conf.c includes drcom.h which is not generated in files.amiga