[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Error compiling xen-3.2.0



On Thu, Aug 23, 2012 at 03:00:46AM -0700, maheen butt wrote:
> Hi,
> 
> I'm tring to compile Xen 3.2.0 on RHEL 5.5. After giving 
> 
> make dist command following compile time error occurs
> "
> CONFIG_MODULES=y
> make[3]: Entering directory 
> `/home/kics/xen-3.2.0/build-linux-2.6.18-xen_x86_32'
> make -C /home/kics/linux-2.6.18-xen.hg 
> O=/home/kics/xen-3.2.0/build-linux-2.6.18-xen_x86_32 modules
>   Using /home/kics/linux-2.6.18-xen.hg as source for kernel
>   GEN     /home/kics/xen-3.2.0/build-linux-2.6.18-xen_x86_32/Makefile
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
> include2/asm/byteorder.h:5:28: error: linux/compiler.h: No such file or 
> directory"
> How to resolve this?
> 
> and rest of the compilation continues. Moreover linux-2.6.18-xen.hg is at the 
> same 
> 
> level with Xen 3.2.0 (Not in xen folder). I don't want to use prebuilt 
> binaries as I want to change some of 
> 
> the source code portion and re build it again.
> 

Hello,

Why exactly are you trying to build such an old version of Xen? 

Note that gitco.de/repo/ provides Xen 3.4.x and 4.x Xen rpms for el5.

-- Pasi


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.