From owner-freebsd-amd64@FreeBSD.ORG Mon Dec 20 11:34:18 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 13F5E16A4CE for ; Mon, 20 Dec 2004 11:34:18 +0000 (GMT) Received: from fidel.freesurf.fr (fidel.freesurf.fr [212.43.206.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id B766E43D49 for ; Mon, 20 Dec 2004 11:34:17 +0000 (GMT) (envelope-from developpez@freesurf.fr) Received: from freesurf.fr (arlette.freesurf.fr [212.43.206.12]) by fidel.freesurf.fr (Postfix) with SMTP id 75B582A4C12 for ; Mon, 20 Dec 2004 12:34:16 +0100 (CET) Received: from 134.214.201.98 (SquirrelMail authenticated user freebsd2) by arlette.freesurf.fr with HTTP; Mon, 20 Dec 2004 12:34:16 +0100 (CET) Message-ID: <17481.134.214.201.98.1103542456.squirrel@arlette.freesurf.fr> Date: Mon, 20 Dec 2004 12:34:16 +0100 (CET) From: "Guillaume R." To: X-Priority: 3 In-Reply-To: <20041211004257.GD50516@dragon.nuxi.com> References: <20041211004257.GD50516@dragon.nuxi.com> Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Kernel compilation problem X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: developpez@freesurf.fr List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 11:34:18 -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? The problem is the makefile: it's the same as the one for i386; I was very astonished when I discover that. I will try to cvsup my tree to see if I could change sth by that way --