Subject: port-amiga/3340: /src/sys/net/if_arcsubr.c does not compiile on amiga
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 03/17/1997 18:02:10
>Number: 3340
>Category: port-amiga
>Synopsis: /src/sys/net/if_arcsubr.c does not compiile on amiga
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 17 09:20:02 1997
>Last-Modified:
>Originator: Thorsten Frueauf
>Organization:
private
>Release: <NetBSD-current source date> NetBSD current 16.03.1997
>Environment:
System: NetBSD di_frueauf 1.2C NetBSD 1.2C (CYBERDYNE) #11: Fri Mar 14 17:23:28 CET 1997 milano@di_frueauf:/usr/src/sys/arch/amiga/compile/CYBERDYNE amiga
>Description:
I tryed to compile a kernel on my Amiga 3000 with the new arp code and got:
cc -Werror -Wall -Wstrict-prototypes -O2 -m68060 -Wa,-m68030 -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DEXEC_AOUT -DEXEC_SCRIPT -DRTC_OFFSET="0" -DNMBCLUSTERS="0x400" -DM68060 -DM060SP -DM68040 -DFPSP -DM68030 -DM68020 -DFPCOPROC -DINET -DGATEWAY -DDIRECTED_BROADCAST -DMROUTING -DFFS -DMFS -DNFS -DADOSFS -DCD9660 -DMSDOSFS -DFDESC -DKERNFS -DNULLFS -DPROCFS -DUMAPFS -DUNION -DNFSSERVER -DFIFO -DQUOTA -DCOMPAT_12 -DCOMPAT_10 -DCOMPAT_09 -DCOMPAT_43 -DCOMPAT_SUNOS -DTCP_COMPAT_42 -DCOMPAT_NOMID -DSYSVSHM -DSYSVMSG -DSYSVSEM -DUCONSOLE -DLKM -DNKMEMCLUSTERS=256 -DKTRACE -DMACHINE_NONCONTIG -DKBDRESET -DSERIBUF_SIZE=4096 -DSEROBUF_SIZE=32 -DLEV6_DEFER -DCL5426CONSOLE -DMAXUSERS=16 -D_KERNEL -Dmc68020 -Damiga -c ../../../../net/if_arcsubr.c
cc1: warnings being treated as errors
../../../../net/if_arcsubr.c: In function `arc_output':
../../../../net/if_arcsubr.c:156: warning: implicit declaration of function `arpresolve'
../../../../net/if_arcsubr.c:173: warning: assignment from incompatible pointer type
../../../../net/if_arcsubr.c:177: structure has no member named `ar_remain'
../../../../net/if_arcsubr.c:177: structure has no member named `ar_hln'
../../../../net/if_arcsubr.c:177: structure has no member named `ar_pln'
../../../../net/if_arcsubr.c:179: structure has no member named `ar_op'
../../../../net/if_arcsubr.c:211: structure has no member named `ar_pro'
../../../../net/if_arcsubr.c: In function `arc_input':
../../../../net/if_arcsubr.c:564: `arpintrq' undeclared (first use this function)
../../../../net/if_arcsubr.c:564: (Each undeclared identifier is reported only once
../../../../net/if_arcsubr.c:564: for each function it appears in.)
../../../../net/if_arcsubr.c:522: warning: `inq' might be used uninitialized in this function
../../../../net/if_arcsubr.c: In function `arc_ifattach':
../../../../net/if_arcsubr.c:618: warning: unused variable `ifa'
*** Error code 1
>How-To-Repeat:
Try to compile a recent kernel on an amiga.
>Fix:
Dunno, sorry :(
>Audit-Trail:
>Unformatted:
/src/sys/net/if_arcsubr.c does not compiile on amiga