From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gabor HALASZ Subject: domU compilation failure on x86_64 Date: Thu, 03 Nov 2005 12:59:55 +0100 Message-ID: <4369FBBB.5000606@freemail.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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.o arch/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? -- Gabor HALASZ