Skip to contentSkip to conversation

problem compiling current pvops xen/master on x86

DISCUSSION Christian Tramnitz 2 participants 3 messages Jan 25, 2010

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 17 lines · Christian Tramnitz

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

Quoted 7 lines

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.

#2 lore raw
Quoted 11 lines · Konrad Rzeszutek Wilk

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