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] problems compiling Xen 3.1.3 after making changes to the

To: Girish V <girish.xen@xxxxxxxxx>
Subject: Re: [Xen-devel] problems compiling Xen 3.1.3 after making changes to the config
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Thu, 03 Apr 2008 11:01:24 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 03 Apr 2008 03:02:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2122f0920804021317x491446aar170ff6554bb5deb3@xxxxxxxxxxxxxx>
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>
Organization: Citrix Systems, Inc.
References: <2122f0920804021317x491446aar170ff6554bb5deb3@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2008-04-02 at 16:17 -0400, Girish V wrote:
> Hello,
> 
> I am trying to compile and boot Xen 3.1.3 with linux-2.6.18.8-xen on a
> FC5 machine (gcc 4.1.0).
> 
> I modified the default linux-2.6.18.8-xen/.config file by doing the
> following
> 
> 1) cd xen-3.1.3/linux-2.6.18.8-xen/

This should be xen-3.1.3/build-linux-2.6.18.8-xen_x86_32 then the rest
of your commands should work OK.

You will need to run "make mrproper" in xen-3.1.3/linux-2.6.18.8-xen to
undo what you did already.

The issues is that the Xen build system uses out of tree builds (the O=
in the output below) so source is in linux-2.6.18.8-xen and objects are
in build-* (this saves having multiple copies of the source).

You have caused the source tree to be used as an object tree which leads
to the error you have observed.

> 2) make menuconfig (marked ide drivers to be compiled in instead of as
> modules)
> 3) cd ../
> 4) make
> 
> Make fails with the following message
> -------------------------------------------------------------------------------------------------------
> 
> 
> 
> make[3]: Entering directory
> `/root/xen-3.1.3/build-linux-2.6.18.8-xen_x86_32'
> make -C /root/xen-3.1.3/linux-2.6.18.8-xen
> O=/root/xen-3.1.3/build-linux-2.6.18.8-xen_x86_32 vmlinuz
>   Using /root/xen-3.1.3/linux-2.6.18.8-xen as source for kernel
>   /root/xen-3.1.3/linux-2.6.18.8-xen is not clean, please run 'make
> mrproper'
>   in the '/root/xen-3.1.3/linux-2.6.18.8-xen' directory.
> make[5]: *** [prepare3] Error 1
> make[4]: *** [vmlinuz] Error 2
> make[3]: *** [vmlinuz] Error 2
> make[3]: Leaving directory
> `/root/xen-3.1.3/build-linux-2.6.18.8-xen_x86_32'
> make[2]: *** [build] Error 2
> make[2]: Leaving directory `/root/xen-3.1.3'
> make[1]: *** [linux-2.6-xen-install] Error 2
> make[1]: Leaving directory `/root/xen-3.1.3'
> make: *** [install-kernels] Error 1
> 
> -------------------------------------------------------------------------------------------------------
> 
> 
> Any help is appreciated.
> 
> 
> Thanks,
> Girish
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


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

<Prev in Thread] Current Thread [Next in Thread>