On Fri, Mar 26, 2004 at 02:57:01PM +0200, quetzal_at_roks.biz wrote: +> Hi, folks. +> Sorry if this quetsion has aleready been asked. +> When I have tred to build kernel on my FreeBSD 5.2.1 with "device pcic", I have recived +> this error: +> +> 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/GAGARIN. +> *** Error code 1 +> Stop in /usr/src. +> *** Error code 1 +> Stop in /usr/src. +> +> Here is my uname: +> gagarin# uname -a +> FreeBSD gagarin 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Thu Mar 25 21:52:46 EET 2004 root_at_gagarin:/usr/obj/usr/src/sys/GAGARIN +> i386 +> +> If you need more information, simply let me know. It looks like those defines aren't unused: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/pccard/pccardvar.h.diff?r1=1.42&r2=1.43 -- Pawel Jakub Dawidek http://www.FreeBSD.org pjd_at_FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am!
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC