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