domU compilation failure on x86_64
Hi!
I tried to compile the xen devel (updated with hg today) on Debian Sid and I got the next error (same with gcc 3.4.5 and gcc 4.0.2).
CC arch/xen/x86_64/kernel/setup64.oarch/xen/x86_64/kernel/setup64.c:38: error: parse error before "__cpuinitdata" arch/xen/x86_64/kernel/setup64.c:38: warning: type defaults to int' in declaration of __cpuinitdata' arch/xen/x86_64/kernel/setup64.c:38: error: incompatible types in initialization arch/xen/x86_64/kernel/setup64.c:38: error: initializer element is not constant arch/xen/x86_64/kernel/setup64.c:38: warning: data definition has no type or storage class arch/xen/x86_64/kernel/setup64.c:133: error: parse error before "cpu_gdt_init" arch/xen/x86_64/kernel/setup64.c:134: warning: return type defaults to int' arch/xen/x86_64/kernel/setup64.c:230: error: parse error before "check_efer" arch/xen/x86_64/kernel/setup64.c:231: warning: return type defaults to int' arch/xen/x86_64/kernel/setup64.c:231: warning: conflicting types for 'check_efer' include/asm/proto.h:83: warning: previous declaration of 'check_efer' was here arch/xen/x86_64/kernel/setup64.c:247: error: parse error before "cpu_init" arch/xen/x86_64/kernel/setup64.c:248: warning: return type defaults to `int' arch/xen/x86_64/kernel/setup64.c:248: warning: conflicting types for 'cpu_init' include/linux/sched.h:174: warning: previous declaration of 'cpu_init' was here make[4]: *** [arch/xen/x86_64/kernel/setup64.o] Error 1
make[3]: *** [arch/xen/x86_64/kernel] Error 2
make[3]: Leaving directory `/usr/src/xen/xen3/linux-2.6.12.6-xen0'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/usr/src/xen/xen3'
make[1]: *** [linux-2.6-xen0-install] Error 2
make[1]: Leaving directory `/usr/src/xen/xen3'
make: *** [install-kernels] Error 1
xen:/usr/src/xen/xen3#
What can I do?
Signature · 1 line
Gabor HALASZ <[email protected]>
Quoted 3 lines · Gabor HALASZ
Hi!
I tried to compile the xen devel (updated with hg today) on Debian Sid and I got the next error (same with gcc 3.4.5 and gcc 4.0.2).
make mrproper before building.
-- Keir