|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] problems compiling Xen 3.1.3 after making changes to the
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
|
|
|
|
|