Subject: port-hp300/2382: /src/sys/arch/hp300/dev/if_le.c breaks current hp300 kernel compile
To: None <gnats-bugs@NetBSD.ORG>
From: Thorsten Frueauf <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 05/09/1996 00:01:55
>Number:         2382
>Category:       port-hp300
>Synopsis:       /src/sys/arch/hp300/dev/if_le.c breaks current hp300 kernel compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May  8 18:35:01 1996
>Last-Modified:
>Originator:     Thorsten Frueauf
>Organization:
private
>Release:        <NetBSD-current source date> NetBSD current 07.05.1996
>Environment:
	
NetBSD cybersil 1.1B NetBSD 1.1B (Milano) #1: Tue May  7 02:12:41 MET DST 1996     milano@cybersil:/amd/src/sys/arch/hp300/compile/Milano hp300


>Description:
	
Making a current kernel on NetBSD/hp300 breaks at
/src/sys/arch/hp300/dev/if_le.c.
>How-To-Repeat:
	
Try to make a current kernel on NetBSD/hp300 and watch:

cc  -O2 -Werror -msoft-float -I. -I../../../../arch -I../../../.. -DMILANO -DHP380 -DHP375 -DHP370 -DHP360 -DHP350 -DHP340 -DHP330 -DHP320 -DGENERIC -DDIAGNOSTIC -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 -DSYSVMSG -DSYSVSEM -DSYSVSHM -DCOMPAT_10 -DCOMPAT_09 -DCOMPAT_44 -DCOMPAT_43 -DDEVPAGER -DVNODEPAGER -DSWAPPAGER -D_KERNEL -Dmc68020 -Dhp300 -DFPCOPROC  -c ../../../../arch/hp300/dev/if_le.c
../../../../arch/hp300/dev/if_le.c: In function `leattach':
../../../../arch/hp300/dev/if_le.c:154: invalid initializer
../../../../arch/hp300/dev/if_le.c:158: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:163: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:164: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:167: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:168: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:169: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:170: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:176: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:177: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:179: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:183: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:184: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:185: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:186: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:187: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:189: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:190: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:191: invalid type argument of `->'
../../../../arch/hp300/dev/if_le.c:193: incompatible type for argument 1 of `am7990_config'
../../../../arch/hp300/dev/if_le.c:196: incompatible type for argument 2 of `isrlink'
*** Error code 1

>Fix:
	
Don't know, sorry.
>Audit-Trail:
>Unformatted:
/src/sys/arch/hp300/dev/if_le.c breaks current hp300 kernel compile