Error /usr/src/sys/dev/pcic/i82365.c: In function`pcic_chip_do_mem_map'

From: Ian McBeth <imcbeth_at_telus.net>
Date: Sat, 10 Apr 2004 16:13:09 -0600
Hello 
this is the error I am reciving.....

cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -
Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sy
s/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -inc
lude opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffree
standing -Werror  /usr/src/sys/dev/pcic/i82365.c
/usr/src/sys/dev/pcic/i82365.c: In function `pcic_chip_do_mem_map':
/usr/src/sys/dev/pcic/i82365.c:849: error: structure has no member named `offset'
/usr/src/sys/dev/pcic/i82365.c:851: error: structure has no member named `offset'
/usr/src/sys/dev/pcic/i82365.c:851: error: `PCCARD_MEM_ATTR' undeclared (first use in this function)
/usr/src/sys/dev/pcic/i82365.c:851: error: (Each undeclared identifier is reported only once
/usr/src/sys/dev/pcic/i82365.c:851: error: for each function it appears in.)
/usr/src/sys/dev/pcic/i82365.c: In function `pcic_chip_mem_map':
/usr/src/sys/dev/pcic/i82365.c:928: error: structure has no member named `offset'
/usr/src/sys/dev/pcic/i82365.c: In function `pcic_enable_socket':
/usr/src/sys/dev/pcic/i82365.c:1212: warning: implicit declaration of function `CARD_GET_TYPE'
/usr/src/sys/dev/pcic/i82365.c:1216: error: `PCCARD_IFTYPE_IO' undeclared (first use in this function)
/usr/src/sys/dev/pcic/i82365.c: In function `pcic_set_res_flags':
/usr/src/sys/dev/pcic/i82365.c:1467: error: `PCCARD_MEM_ATTR' undeclared (first use in this function)
*** Error code 1
Stop in /usr/obj/usr/src/sys/SDENABLE.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.

host# uname -a
FreeBSD host 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004     root_at_wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/SDENABLE  i386
host#

I have seen refernce to this error I am reciveing I was wondering if there was a fix for it as of yet?
I am a tad new to compiling new kernels on a BSD system any help you can give me would be great
Thanx in advance
please reply to me offlist.....

Ian 
Received on Sat Apr 10 2004 - 13:13:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:50 UTC