From owner-freebsd-current@FreeBSD.ORG Fri Mar 26 05:51:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9479B16A4CE; Fri, 26 Mar 2004 05:51:28 -0800 (PST) Received: from darkness.comp.waw.pl (unknown [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22B2143D2D; Fri, 26 Mar 2004 05:51:28 -0800 (PST) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 1A8F5ACADB; Fri, 26 Mar 2004 14:51:27 +0100 (CET) Date: Fri, 26 Mar 2004 14:51:27 +0100 From: Pawel Jakub Dawidek To: quetzal@roks.biz Message-ID: <20040326135127.GI8930@darkness.comp.waw.pl> References: <20040326125701.GA54469@pathfinder.roks.biz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SlNwLc1tujQOaj7L" Content-Disposition: inline In-Reply-To: <20040326125701.GA54469@pathfinder.roks.biz> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-current@freebsd.org cc: imp@freebsd.org Subject: Re: Error /usr/src/sys/dev/pcic/i82365.c: In function `pcic_chip_do_mem_map' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 13:51:28 -0000 --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--