Subject: port-mac68k/3742: m68k_machdep.c doesn't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: Chris Jones <cjones@rupert.oscs.montana.edu>
List: netbsd-bugs
Date: 06/12/1997 13:12:13
>Number:         3742
>Category:       port-mac68k
>Synopsis:       m68k_machdep.c doesn't compile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 12 12:20:01 1997
>Last-Modified:
>Originator:     Chris Jones
>Organization:
-------------------------------------------------------------------------------
Chris Jones                                      cjones@rupert.oscs.montana.edu
           Mad scientist in training...
"Is this going to be a stand-up programming session, sir, or another bug hunt?"
>Release:        1.2
>Environment:
	
System: NetBSD rupert.honors.montana.edu 1.2E NetBSD 1.2E (RUPERT) #1: Wed May 28 15:45:29 MDT 1997 cjones@rupert.honors.montana.edu:/home/src/current/sys/arch/mac68k/compile/RUPERT mac68k


>Description:
Script started on Thu Jun 12 12:53:31 1997
# pwd
/home/src/current/sys/arch/mac68k/compile/RUPERT
# make
making sure the fpsp is up to date...
`fpsp.o' is up to date.
cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DEXEC_AOUT -DEXEC_SCRIPT -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DUCONSOLE -DDIAGNOSTIC -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DFFS -DNFS -DKERNFS -DMFS -DPROCFS -DUNION -DNFSSERVER -DFIFO -DINET -DTCP_COMPAT_42 -DM68030 -DM68020 -DFPSP -DZS_CONSOLE_ABORT -DMAXUSERS=16 -D_KERNEL  -Dmc68020 -Dmac68k  -c ../../../../arch/m68k/m68k/m68k_machdep.c
In file included from machine/param.h:91,
                 from ../../../../arch/m68k/m68k/m68k_machdep.c:39:
machine/intr.h:98: syntax error before `ssir'
cc1: warnings being treated as errors
machine/intr.h:98: warning: data definition has no type or storage class
machine/intr.h:116: syntax error before `__P'
In file included from ../../../../arch/m68k/m68k/m68k_machdep.c:39:
machine/param.h:114: syntax error before `__P'
*** Error code 1

Stop.
# exit
exit

Script done on Thu Jun 12 12:54:57 1997
	
>How-To-Repeat:
	
>Fix:
Added to m68k_machdep.c:

#include <sys/cdefs.h>
#include <sys/types.h>
	
>Audit-Trail:
>Unformatted: