From owner-freebsd-amd64@FreeBSD.ORG Sat Dec 11 00:43:02 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 1B82216A4CE for ; Sat, 11 Dec 2004 00:43:02 +0000 (GMT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC8BA43D54 for ; Sat, 11 Dec 2004 00:43:01 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.13.1/8.13.1) with ESMTP id iBB0gwGW051541; Fri, 10 Dec 2004 16:42:58 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.13.1/8.13.1/Submit) id iBB0gvkx051540; Fri, 10 Dec 2004 16:42:57 -0800 (PST) (envelope-from obrien) Date: Fri, 10 Dec 2004 16:42:57 -0800 From: "David O'Brien" To: "Guillaume R." Message-ID: <20041211004257.GD50516@dragon.nuxi.com> References: <200412061609.55733.peter@wemm.org> <29119.134.214.201.98.1102439181.squirrel@jose.freesurf.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <29119.134.214.201.98.1102439181.squirrel@jose.freesurf.fr> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: freebsd-amd64@freebsd.org Subject: Re: Kernel compilation problem X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-amd64@freebsd.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Dec 2004 00:43:02 -0000 On Tue, Dec 07, 2004 at 06:06:21PM +0100, Guillaume R. wrote: > > On Monday 06 December 2004 05:50 am, freebsd2@freesurf.fr wrote: > >> Hi all! > >> I'm very new to FreeBSD (indeed I ran it since one week) and I need to > >> compile my kernel so that some patches will apply correctly. So I made > >> all the process I type make depends && make and I've got sth like > >> this: > >> ../../../i386/i386/genassym.c:216:error: storage size of BC32SELw0 > >> isn't known > >> I've got that for all BC32 and furthermore on line 214 for KSPEL :( So > >> the compilation stops on an error code. > >> Does anyone got a clue? > >> Many thx :) > > > > It means you're in the wrong directory and as a result, trying to build > > an i386 kernel on an amd64 machine with an amd64 compiler. > > > > You probably want to do your thing in /usr/src/sys/amd64/conf > > and /usr/src/sys/amd64/compile/... > I am in those directories I try again and pay attention to this. > Do u think it's a bug or sth like that? You can't be doing this in /usr/src/sys/amd64/conf otherwise you would never try to compile i386/i386/genassym.c. Exactly what are the commands and steps you are taking in trying to build a kernel?