Subject: port-sparc/4298: Kernel build error
To: None <gnats-bugs@gnats.netbsd.org>
From: Krister Walfridsson <cato@ulysses.df.lth.se>
List: netbsd-bugs
Date: 10/19/1997 22:30:38
>Number:         4298
>Category:       port-sparc
>Synopsis:       Kernel build error
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 19 13:35:02 1997
>Last-Modified:
>Originator:     Krister Walfridsson
>Organization:
	
>Release:        NetBSD-current Oct 19 1997
>Environment:
	
System: NetBSD ulysses 1.2G NetBSD 1.2G (KWA) #0: Sun Oct 12 17:27:24 CEST 1997 cato@ulysses:/usr/src/sys/arch/sparc/compile/KWA sparc


>Description:
When building a GENERIC kernel, I get the error

cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -mno-fpu -I. -I../../../../arch -I../../../.. -nostdinc -DEXEC_AOUT -DEXEC_SCRIPT -DSUN4 -DSUN4C -DSUN4M -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_SUNOS -DCOMPAT_SVR4 -DEXEC_ELF32 -DFFS -DNFS -DKERNFS -DNULLFS -DMFS -DFDESC -DUMAPFS -DLFS -DPORTAL -DPROCFS -DCD9660 -DUNION -DMSDOSFS -DNFSSERVER -DQUOTA -DFIFO -DINET -DTCP_COMPAT_42 -DRASTERCONSOLE -DMAXUSERS=32 -D_KERNEL  -c ../../../../arch/sparc/dev/amd7930.c
../../../../arch/sparc/dev/amd7930.c: In function `amd7930_set_port':
../../../../arch/sparc/dev/amd7930.c:606: union has no member named `e'
../../../../arch/sparc/dev/amd7930.c:610: union has no member named `e'
../../../../arch/sparc/dev/amd7930.c:611: union has no member named `e'
../../../../arch/sparc/dev/amd7930.c:613: union has no member named `e'
../../../../arch/sparc/dev/amd7930.c: In function `amd7930_get_port':
../../../../arch/sparc/dev/amd7930.c:646: union has no member named `e'
../../../../arch/sparc/dev/amd7930.c:649: union has no member named `e'
../../../../arch/sparc/dev/amd7930.c: In function `amd7930_query_devinfo':
../../../../arch/sparc/dev/amd7930.c:741: duplicate case value
../../../../arch/sparc/dev/amd7930.c:695: this is the first entry for that value
*** Error code 1


>How-To-Repeat:
	
>Fix:
	
>Audit-Trail:
>Unformatted: