From owner-freebsd-current@FreeBSD.ORG Sun Aug 1 17:45:35 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 5356B16A4CE for ; Sun, 1 Aug 2004 17:45:35 +0000 (GMT) Received: from freebee.digiware.nl (dsl390.iae.nl [212.61.63.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46B2D43D2F for ; Sun, 1 Aug 2004 17:45:34 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with SMTP id i71HjPsF040508; Sun, 1 Aug 2004 19:45:31 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <126801c477ef$571cf0a0$471b3dd4@digiware.nl> From: "Willem Jan Withagen" To: References: Date: Sun, 1 Aug 2004 19:45:26 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 cc: current@freebsd.org Subject: Re: Error building kernel 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: Sun, 01 Aug 2004 17:45:35 -0000 > > /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. Tried doing that, then it misses things from again another file... /usr/src/sys/sys/memrange.h about somethigns wrong with MEMDESC After which I hang up for the time being. But Something needs to be included Somewhere..... --WjW