Error to compile Linux-XEN kernel in RHEL 6
Issue
When trying to compile xen on Red Hat Enterprise Linux 6 system , following errors are displayed.
[root@node1]# make O=/home/name/build/kernel-xen
Using /root/Downloads/jsgf-linux-xen-20a27c1 as source for kernel
GEN /home/name/build/kernel-xen/Makefile
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL /root/Downloads/jsgf-linux-xen-20a27c1/scripts/checksyscalls.sh
CHK include/linux/compile.h
CC arch/x86/xen/mmu.o
/root/Downloads/jsgf-linux-xen-20a27c1/arch/x86/xen/mmu.c:163: error: __pcpu_scope_xen_cr3 causes a section type conflict
/root/Downloads/jsgf-linux-xen-20a27c1/arch/x86/xen/mmu.c:164: error: __pcpu_scope_xen_current_cr3 causes a section type conflict
/root/Downloads/jsgf-linux-xen-20a27c1/arch/x86/xen/mmu.c:163: error: __pcpu_unique_xen_cr3 causes a section type conflict
/root/Downloads/jsgf-linux-xen-20a27c1/arch/x86/xen/mmu.c:164: error: __pcpu_unique_xen_current_cr3 causes a section type conflict
make[3]: *** [arch/x86/xen/mmu.o] Error 1
make[2]: *** [arch/x86/xen] Error 2
make[1]: *** [arch/x86] Error 2
make: *** [sub-make] Error 2
[root@node1]#
Is there any package or compiled kernel available for Xen capability in RHEL 6 ?
Environment
Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.