From owner-freebsd-amd64@FreeBSD.ORG Sat Aug 7 03:22:57 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D84C16A4CE; Sat, 7 Aug 2004 03:22:57 +0000 (GMT) Received: from out014.verizon.net (out014pub.verizon.net [206.46.170.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 925E743D39; Sat, 7 Aug 2004 03:22:56 +0000 (GMT) (envelope-from andrew.lankford@verizon.net) Received: from outgoing.verizon.net ([192.168.1.1]) by out014.verizon.net ESMTP <20040807032256.JOSB24490.out014.verizon.net@outgoing.verizon.net>; Fri, 6 Aug 2004 22:22:56 -0500 X-Mailer: Openwave WebEngine, version 2.8.12 (webedge20-101-197-20030912) From: Andrew Lankford To: Mark Murray Date: Fri, 6 Aug 2004 22:22:56 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out014.verizon.net from [192.168.1.1] at Fri, 6 Aug 2004 22:22:56 -0500 Message-Id: <20040807032256.JOSB24490.out014.verizon.net@outgoing.verizon.net> cc: amd64@freebsd.org cc: cvs-src@freebsd.org cc: current@freebsd.org Subject: Re:cvs commit: src/sys/amd64/amd64 mp_machdep.c X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: andrew.lankford@verizon.net List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2004 03:22:57 -0000 After searching around through and memrange.h and amd64_mem.c for obvious problems and finding nothing, it occurred to me that I should have included more of the text from buildkernel where it fubar'd, just to make sure everyone knows exactly where during the build that the error occurred: cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror vers.c linking kernel.debug amd64_mem.o(.text+0xa8a): In function `amd64_mrinit': /usr/src/sys/amd64/amd64/amd64_mem.c:562: undefined reference to `M_MEMDESC' *** Error code 1 Stop in /usr/obj/usr/src/sys/ARL_AMD64. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Is _KERNEL supposed to be defined in a Makefile somewhere in the /usr/src/sys heirarchy or in a header file? What in the kernel does this object link to if device mem/device io isn't in the kernel configuration? Andrew Lankford