Description of problem: CC [M] /root/unionfs-1.1.2/subr.o In file included from include/asm/page.h:71, from include/asm/thread_info.h:14, from include/linux/thread_info.h:21, from include/linux/preempt.h:10, from include/linux/spinlock.h:50, from include/linux/capability.h:45, from include/linux/sched.h:7, from /root/unionfs-1.1.2/unionfs.h:8, from /root/unionfs-1.1.2/subr.c:22: include/asm-i386/mach-xen/mach_page.h:10:31: error: xen/interface/xen.h: No such file or directory include/asm-i386/mach-xen/mach_page.h:11:30: error: xen/foreign_page.h: No such file or directory Version-Release number of selected component (if applicable): # rpm -q kernel-xen-hypervisor-devel kernel-xen-hypervisor-devel-2.6.15-1.40_FC5 How reproducible: Every time Steps to Reproduce: 1. Attempt to build unionfs. 2. 3. Profit!
*** Bug 181338 has been marked as a duplicate of this bug. ***
The file xen/gnttab.h also seems to be missing.
Created attachment 124814 [details] Fix to include xen directory in kernel-xen-*-devel packages The attached small patch adds the include/xen directory and it works for me. Maybe too much files are included now (but at least it's better than too few ;-)). The pactch is for kernel-2.6.spec for 2.6.15-1.1948_FC5.
NB. need to make sure it's in both hypervisor and guest -devel rpms.
I would think that my patch (checking if "$Flavour" contains "hypervisor" or "guest") does not work anymore (although it's still in the .2096 spec file), since the flavours are renamed back to "xen0" and "xenU". But at first sight the generated packages do still contain the xen include files. Wondering why... Anyway, the kernel spec file can at least be cleaned up now...
Oops... sorry, my previous comment seems to be not true. I looked at an older spec file with my own patch added.