Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--SlNwLc1tujQOaj7L
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:=20
+>  =09
+> cc -c -O -pipe -mcpu=3Dpentiumpro -Wall -Wredundant-decls -Wnested-exter=
ns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -
+> Winline -Wcast-qual  -fformat-extensions -std=3Dc99  -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=3D15000 -fno-strict-aliasin=
g  -mno-align-long-strings -mpreferred-stack-boundary=3D2 -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 i=
s 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 fu=
nction `CARD_GET_TYPE'
+> /usr/src/sys/dev/pcic/i82365.c:1216: error: `PCCARD_IFTYPE_IO' undeclare=
d (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.
+>=20
+> 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
+>=20
+> 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?r=
1=3D1.42&r2=3D1.43

--=20
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

--SlNwLc1tujQOaj7L
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAZDVfForvXbEpPzQRArzPAJwNHq6FVEN+J6bA+H4rzF+LNJhJNQCeLKqL
lPw0U/myvyq096iAzBQUfEQ=
=dv4G
-----END PGP SIGNATURE-----

--SlNwLc1tujQOaj7L--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040326135127.GI8930>