Date: Fri, 26 Mar 2004 14:51:27 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: quetzal@roks.biz Cc: imp@freebsd.org Subject: Re: Error /usr/src/sys/dev/pcic/i82365.c: In function `pcic_chip_do_mem_map' Message-ID: <20040326135127.GI8930@darkness.comp.waw.pl> In-Reply-To: <20040326125701.GA54469@pathfinder.roks.biz> References: <20040326125701.GA54469@pathfinder.roks.biz>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Fri, Mar 26, 2004 at 02:57:01PM +0200, quetzal@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@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@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAZDVfForvXbEpPzQRArzPAJwNHq6FVEN+J6bA+H4rzF+LNJhJNQCeLKqL lPw0U/myvyq096iAzBQUfEQ= =dv4G -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040326135127.GI8930>
