Subject: port-hpcmips/16543: xi interface does not compile on NetBSD-1.5ZC/hpcmips
To: None <gnats-bugs@gnats.netbsd.org>
From: None <bsieker@freenet.de>
List: netbsd-bugs
Date: 04/29/2002 13:01:32
>Number:         16543
>Category:       port-hpcmips
>Synopsis:       xi interface does not compile on NetBSD-1.5ZC/hpcmips
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 29 04:02:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Sieker
>Release:        NetBSD 1.5ZC, cvs updated 20002-04-27, 03:15 CEST
>Organization:
>Environment:
System: NetBSD zephyr.home.loc 1.5ZC NetBSD 1.5ZC (ZEPHYR) #0: Sat Apr 27 17:55:58 CEST 2002 bernd@zephyr.home.loc:/usr/src/sys/arch/hpcmips/compile/ZEPHYR hpcmips
Architecture: mipsel
Machine: hpcmips

IBM WorkPad z50, 48 MB RAM., 256 MB CompactFlash Card,
3Com 3c589 10Mbps Ethernet Card (PCMCIA).

Building on nfs partition on NetBSD-1.5.3/i386 server, swap on nfs.

>Description:

When trying to build a kernel with the xi network interface included in the
kernel configuration file, building fails with the following problem:

cc  -mips2 -EL -G 8 -mno-abicalls -mno-half-pic -ffreestanding  -Os -mmemcpy -Werror -Wall -Wno-main -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Dhpcmips -I.  -I../../../../arch -I../../../.. -nostdinc -DSOFTFLOAT -DMIPS3 -DMIPS3_4100 -DMSGBUFSIZE="0x2000" -DEXEC_PECOFF -DITE8181_LCD_CONTROL_ENABLE -DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT   -c /usr/src/sys/arch/hpcmips/compile/ZEPHYR/../../../../dev/pcmcia/if_xi.c
cc1: warnings being treated as errors
/usr/src/sys/arch/hpcmips/compile/ZEPHYR/../../../../dev/pcmcia/if_xi.c: In function `xi_get':
/usr/src/sys/arch/hpcmips/compile/ZEPHYR/../../../../dev/pcmcia/if_xi.c:997: warning: passing arg 4 of pointer to function from incompatible pointer type
/usr/src/sys/arch/hpcmips/compile/ZEPHYR/../../../../dev/pcmcia/if_xi.c: In function `xi_start':
/usr/src/sys/arch/hpcmips/compile/ZEPHYR/../../../../dev/pcmcia/if_xi.c:1342: warning: passing arg 4 of pointer to function from incompatible pointer type
*** Error code 1

Stop.

>How-To-Repeat:

Try to build a kernel for NetBSD/hpcmips which includes the xi driver
for PCMCIA-CreditCard Ethernet Adapter by Xircom (xi* at pcmcia? function ?)

>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: