6 messages in com.xensource.lists.xen-ia64-develRe: [Xen-ia64-devel] Problem with xen...
FromSent OnAttachments
Radek Antoniuk05 Apr 2007 02:07 
Akio Takebe05 Apr 2007 03:06 
Radek Antoniuk05 Apr 2007 04:09 
Radek Antoniuk05 Apr 2007 04:21 
Akio Takebe05 Apr 2007 05:02 
Akio Takebe05 Apr 2007 05:03 
Subject:Re: [Xen-ia64-devel] Problem with xen-3.0.4_1-src.tgz compilation onia64
From:Akio Takebe (take@jp.fujitsu.com)
Date:04/05/2007 03:06:36 AM
List:com.xensource.lists.xen-ia64-devel

Hi, Radek

I have never try xen-3.0.4_1_src, bt if you modify domain.c like the below, you can compile it.

--- xen/arch/ia64/xen/domain.c.orig 2007-04-05 20:26:43.000000000 +0900 +++ xen/arch/ia64/xen/domain.c 2007-04-05 20:26:58.000000000 +0900 @@ -867,7 +867,7 @@ int shadow_mode_control(struct domain *d #endif

// see arch/x86/xxx/domain_build.c -int elf_sanity_check(Elf_Ehdr *ehdr) +int elf_sanity_check(const Elf_Ehdr *ehdr) { if (!(IS_ELF(*ehdr))) {

Best Regards,

Hi,

Very shortly: make world (...)

gcc -O2 -fomit-frame-pointer -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -mconstant-gp -O2 -fomit-frame-pointer -D__KERNEL__ -iwithprefix include -I/usr/src/xen-3.0.4_1-src/xen/include -I/usr/src/xen-3.0.4_1-src/xen/include/asm-ia64 -I/usr/src/xen-3.0.4_1-src/xen/include/asm-ia64/linux -I/usr/src/xen-3.0.4_1-src/xen/include/asm-ia64/linux-xen -I/usr/src/xen-3.0.4_1-src/xen/include/asm-ia64/linux-null -I/usr/src/xen-3.0.4_1-src/xen/arch/ia64/linux -I/usr/src/xen-3.0.4_1-src/xen/arch/ia64/linux-xen -DIA64 -DXEN -DLINUX_2_6 -ffixed-r13 -mfixed-range=f2-f5,f12-f127 -g -DCONFIG_XEN_IA64_EXPOSE_P2M -DCONFIG_XEN_IA64_PERVCPU_VHPT -DCONFIG_XEN_IA64_TLB_TRACK -DCONFIG_XEN_IA64_TLBFLUSH_CLOCK -g -D__XEN__ -c domain.c -o domain.o domain.c:871: error: conflicting types for 'elf_sanity_check' /usr/src/xen-3.0.4_1-src/xen/include/xen/elf.h:529: error: previous declaration of 'elf_sanity_check' was here make[6]: *** [domain.o] Error 1 make[6]: Leaving directory `/usr/src/xen-3.0.4_1-src/xen/arch/ia64/xen' make[5]: *** [xen/built_in.o] Error 2 make[5]: Leaving directory `/usr/src/xen-3.0.4_1-src/xen/arch/ia64' make[4]: *** [/usr/src/xen-3.0.4_1-src/xen/arch/ia64/built_in.o] Error 2 make[4]: Leaving directory `/usr/src/xen-3.0.4_1-src/xen/arch/ia64' make[3]: *** [/usr/src/xen-3.0.4_1-src/xen/xen] Error 2 make[3]: Leaving directory `/usr/src/xen-3.0.4_1-src/xen' make[2]: *** [install] Error 2 make[2]: Leaving directory `/usr/src/xen-3.0.4_1-src/xen' make[1]: *** [install-xen] Error 2 make[1]: Leaving directory `/usr/src/xen-3.0.4_1-src' make: *** [world] Error 2