error on compiling the kernel

From: Ian McBeth <ian_at_thecodeshoppe.com>
Date: Sun, 11 Apr 2004 12:44:46 -0600
Hello list......
when trying to compile a new kernel on FreeBSD 5.2.1 RELEASE
I come across this error I have seen somthing on the netbsd list about 
this error but I Am unsure on what to do with it.......
any help you can give me is appreciated....
thank you in advance


cc -c -O -pipe  -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/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf 
-I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd 
-I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common 
-finline-limit=8000  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -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.
h24-70-241-135#
Received on Sun Apr 11 2004 - 09:44:48 UTC

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