WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Trouble with dom0 and domU compilation

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Trouble with dom0 and domU compilation
From: James Rhett Aultman <jaultman@xxxxxxxxxxxx>
Date: Sun, 04 Dec 2005 16:04:08 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 04 Dec 2005 21:03:56 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f58b003caaf761fa018e0becd2c1c7d3@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <43932E83.1040408@xxxxxxxxxxxx> <f58b003caaf761fa018e0becd2c1c7d3@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
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 <target>).


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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel