Christian Tramnitz
2010-Jan-25 13:19 UTC
[Xen-devel] problem compiling current pvops xen/master on x86
Hi, I have been running my systems on 2.6.29-xen-r4 (based on Andrew Lyon''s ebuild) for some time but with Xen 4.0.0 around the corner I wanted to give the latest pvops a quick glance. However I''m not even able to compile it: CC arch/x86/kernel/acpi/boot.o In file included from arch/x86/kernel/acpi/boot.c:45: /usr/src/linux-pvops/arch/x86/include/asm/xen/pci.h:37: error: expected declaration specifiers or ''...'' before ''domid_t'' make[3]: *** [arch/x86/kernel/acpi/boot.o] Error 1 make[2]: *** [arch/x86/kernel/acpi] Error 2 make[1]: *** [arch/x86/kernel] Error 2 make: *** [arch/x86] Error 2 This build was meant for a x86 domU (dom0 support is disabled), I have nothing special in my kernel config (basically created with make oldconfig from my running config), maybe except for pcifront support (which is primary reason for not using a vanilla linux kernel). Any ideas? Best regards, Christian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Jan-25 14:48 UTC
Re: [Xen-devel] problem compiling current pvops xen/master on x86
On Mon, Jan 25, 2010 at 02:19:44PM +0100, Christian Tramnitz wrote:> Hi, > > I have been running my systems on 2.6.29-xen-r4 (based on Andrew Lyon''s > ebuild) for some time but with Xen 4.0.0 around the corner I wanted to > give the latest pvops a quick glance. > > However I''m not even able to compile it: > > CC arch/x86/kernel/acpi/boot.o > In file included from arch/x86/kernel/acpi/boot.c:45: > /usr/src/linux-pvops/arch/x86/include/asm/xen/pci.h:37: error: expected > declaration specifiers or ''...'' before ''domid_t'' > make[3]: *** [arch/x86/kernel/acpi/boot.o] Error 1 > make[2]: *** [arch/x86/kernel/acpi] Error 2 > make[1]: *** [arch/x86/kernel] Error 2 > make: *** [arch/x86] Error 2 > > This build was meant for a x86 domU (dom0 support is disabled), I have > nothing special in my kernel config (basically created with make > oldconfig from my running config), maybe except for pcifront support > (which is primary reason for not using a vanilla linux kernel). > > > Any ideas?Yeah, I''ve a patch for that in the my tree and as well to get the pv-ops kernel to compile on PPC and IA64 (and MIPS/StrongARM). The solutions for the most part are unfortunatly hacks. Here is the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git rpm-draft-3 I am going to ask Jeremy to pull in a patch for that specific issue in his tree. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christian Tramnitz
2010-Jan-25 15:18 UTC
[Xen-devel] Re: problem compiling current pvops xen/master on x86
25.01.2010 15:48, Konrad Rzeszutek Wilk wrote:> > Yeah, I''ve a patch for that in the my tree and as well to get the pv-ops kernel > to compile on PPC and IA64 (and MIPS/StrongARM). > > The solutions for the most part are unfortunatly hacks. > > Here is the git tree: > git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git rpm-draft-3 > > I am going to ask Jeremy to pull in a patch for that specific issue in > his tree.Good point, actually this commit made it compile, will do some more tesing later: http://git.kernel.org/?p=linux/kernel/git/konrad/xen.git;a=commit;h=69e5ad0cb24160cd6c9e7950d99f23684cb0286d Best regards, Christian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel