From owner-freebsd-current@FreeBSD.ORG Sun Aug 1 17:18:07 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 5673116A4CE for ; Sun, 1 Aug 2004 17:18:07 +0000 (GMT) Received: from lakermmtao11.cox.net (lakermmtao11.cox.net [68.230.240.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB01443D67 for ; Sun, 1 Aug 2004 17:18:06 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.71.51]) by lakermmtao11.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP <20040801171801.KSJL11198.lakermmtao11.cox.net@dolphin.local.net>; Sun, 1 Aug 2004 13:18:01 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.12.11/8.12.11) with ESMTP id i71HI0lI049538; Sun, 1 Aug 2004 12:18:00 -0500 (CDT) (envelope-from conrads@dolphin.local.net) Received: (from conrads@localhost) by dolphin.local.net (8.12.11/8.12.11/Submit) id i71HI0SY049537; Sun, 1 Aug 2004 12:18:00 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <125001c477e0$b7a4b160$471b3dd4@digiware.nl> Date: Sun, 01 Aug 2004 12:18:00 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: "Conrad J. Sabatier" To: Willem Jan Withagen cc: current@freebsd.org Subject: Re: Error building kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conrads@cox.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2004 17:18:07 -0000 On 01-Aug-2004 Willem Jan Withagen wrote: > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -W > missing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -st > d=c99 -g -nostdinc -I- -I. -I/home2/src/sys > -I/home2/src/sys/contrib/dev/acpica > -I/home2/src/sys/contrib/altq -I/home2/src/sys/contrib/ipfilter > -I/home2/src/sy > s/contrib/pf -I/home2/src/sys/contrib/dev/ath > -I/home2/src/sys/contrib/dev/ath/f > reebsd -I/home2/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h > -fno-commo > n -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-grow > th=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone > -mfpmath=387 -mn > o-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-table > s -ffreestanding /home2/src/sys/amd64/amd64/mem.c > /home2/src/sys/amd64/amd64/mem.c: In function `memrw': > /home2/src/sys/amd64/amd64/mem.c:96: warning: implicit declaration of > function ` > PHYS_TO_DMAP' > /home2/src/sys/amd64/amd64/mem.c:96: warning: nested extern > declaration of `PHYS > _TO_DMAP' > /home2/src/sys/amd64/amd64/mem.c:96: warning: cast to pointer from > integer of di > fferent size > /home2/src/sys/amd64/amd64/mem.c:102: error: `DMAP_MIN_ADDRESS' > undeclared (firs > t use in this function) > /home2/src/sys/amd64/amd64/mem.c:102: error: (Each undeclared > identifier is repo > rted only once > /home2/src/sys/amd64/amd64/mem.c:102: error: for each function it > appears in.) > /home2/src/sys/amd64/amd64/mem.c:102: error: `DMAP_MAX_ADDRESS' > undeclared (firs > t use in this function) > /home2/src/sys/amd64/amd64/mem.c:103: warning: implicit declaration > of function > `DMAP_TO_PHYS' > /home2/src/sys/amd64/amd64/mem.c:103: warning: nested extern > declaration of `DMA > P_TO_PHYS' > /home2/src/sys/amd64/amd64/mem.c:117: error: `KERNBASE' undeclared > (first use in > this function) > *** Error code 1 > > I have defined > device mem > device null > > in my config. Compilation is on an amd64 system. > > --WjW Same here on my amd64 box. Looks like sys/amd64/include/vmparam.h is not being included in the build. -- Conrad J. Sabatier -- "In Unix veritas"