From owner-freebsd-current@FreeBSD.ORG Fri Mar 26 05:02:36 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 7C0DF16A4CE for ; Fri, 26 Mar 2004 05:02:36 -0800 (PST) Received: from pathfinder.roks.biz (roks.biz [212.110.133.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC29343D48 for ; Fri, 26 Mar 2004 05:02:32 -0800 (PST) (envelope-from padla@roks.biz) Received: from pathfinder.roks.biz (localhost.roks.biz [127.0.0.1]) by pathfinder.roks.biz (8.12.9p2/8.12.9) with ESMTP id i2QCv2PC054619 for ; Fri, 26 Mar 2004 14:57:05 +0200 (EET) (envelope-from padla@pathfinder.roks.biz) Received: (from root@localhost) by pathfinder.roks.biz (8.12.9p2/8.12.9/Submit) id i2QCv1Zg054618 for freebsd-current@freebsd.org; Fri, 26 Mar 2004 14:57:01 +0200 (EET) (envelope-from padla) Date: Fri, 26 Mar 2004 14:57:01 +0200 From: quetzal@roks.biz To: freebsd-current@freebsd.org Message-ID: <20040326125701.GA54469@pathfinder.roks.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: 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:02:36 -0000 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. Best regrds, Nikolay Pavlov. Sorry for my english.