/usr/src/linux-2.6.20-xen-r6/arch/i386/mm/hypervisor.c:449: error: expected ')' before '.' token make[2]: *** [arch/i386/mm/hypervisor.o] Error 1 make[1]: *** [arch/i386/mm] Error 2 make: *** [_all] Error 2 using this http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo as a guide. I ran: alias make0="mkdir -p _dom0 && make O=_dom0" make0 && make0 modules_install and it didn't get very far.
Created attachment 134363 [details] .config for dom0 .config for dom0
Created attachment 134364 [details] emerge --info emerge --info
Another strange thing is that after I ran "make0 menuconfig" and tried "make0 -j2 && make0 modules_install" it complained that the build tree wasn't clean and to run "make mrproper". I ran "make0 mrproper" and "make mrproper", did "cp /boot/config.dom0 _dom0/.config" and ran make0 -j2 again. This time it stopped here: /usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c:1000: error: redefinition of 'raw_safe_halt' include2/asm/paravirt.h:208: error: previous definition of 'raw_safe_halt' was here /usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c:1009: error: redefinition of 'halt' include2/asm/paravirt.h:213: error: previous definition of 'halt' was here /usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c: In function 'halt': /usr/src/linux-2.6.20-xen-r6/arch/i386/kernel/time-xen.c:1010: warning: implicit declaration of function 'raw_local_save_flags' make[2]: *** [arch/i386/kernel/time-xen.o] Error 1
Turn of Paravirtulization support (CONFIG_PARAVIRT), it is not used by Xen in this version of the kernel. I need to disable that option completely, there is actually nothing in 2.6.20 that uses it.
thanks that fixed it.
Dropped version. Try .29 or .31 :)