From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Rhett Aultman Subject: Re: Trouble with dom0 and domU compilation Date: Sun, 04 Dec 2005 16:04:08 -0500 Message-ID: <439359C8.9090403@cise.ufl.edu> References: <43932E83.1040408@cise.ufl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > > On 4 Dec 2005, at 17:59, James Rhett Aultman wrote: > >> I've been trying to compile the source for xen Linux dom0 and domU >> kernel images from source, and I'm getting a compile time error I don't >> know how to fix: >> >> arch/i386/kernel/process.c: In function `cpu_idle': >> arch/i386/kernel/process.c:195: error: `cpu' undeclared (first use in >> this function) >> >> this is for the xen0 and xenU of linux-2.6.12 >> >> Advice appreciated > > > Specify ARCH=xen (ARCH=xen make ). Hm...that gets around one problem, but now I seem to have another build failure: /bin/sh: line 1: arch//kernel/asm-offsets.s: No such file or directory UPD include/asm-xen/asm_offsets.h Mv: cannot stat `include/asm-xen/asm_offsets.h.tmp': No such file or directory make: *** [include/asm-xen/asm_offsets.h.tmp] Error 1 -- Rhett.