Subject: kern/5719: rrunner.c doesn't compile (on i386)
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 07/06/1998 18:26:45
>Number:         5719
>Category:       kern
>Synopsis:       rrunner.c doesn't compile (on i386)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul  6 18:35:00 1998
>Last-Modified:
>Originator:     Dave Huang
>Organization:
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release:        NetBSD-current as of July 6, 1998
>Environment:
	
System: NetBSD dahan.metonymy.com 1.3F NetBSD 1.3F (SPIFF) #230: Mon Jul 6 17:30:16 CDT 1998 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SPIFF i386


>Description:
	On i386, rrunner.c fails to compile with the following warning:
cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DDIAGNOSTIC -DCOMPAT_43 -DMAXUSERS=32 -D_KERNEL  -Di386  -c ../../../../dev/ic/rrunner.c
In file included from ../../../../dev/ic/rrunner.c:59:
../../../../sys/proc.h:227: warning: `P_SYSTEM' redefined
assym.h:17: warning: this is the location of the previous definition
*** Error code 1

Stop.

>How-To-Repeat:
	Compile a GENERIC kernel on the i386.
>Fix:
	Why's it #including "assym.h"? I thought that was only for
assembly files... Removing the #include works for me.
>Audit-Trail:
>Unformatted: