WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] Problem with xen-3.0.4_1-src.tgz compilation onia64

2007/4/5, Radek Antoniuk <r.antoniuk@xxxxxxxxxxxx>:
2007/4/5, Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>:
> 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)))
>         {
>

Hi!

Indeed it helped.
Shame that it is not in the official source :(

You said that you didn't try to use 3.0.4.
Which would you prefer instead then?


Yeah. That is a actual question.
Then the
/usr/src/xen-3.0.4_1-src/linux-2.6.16.33-xen# make
 CHK     include/linux/version.h
 CHK     include/linux/compile.h
 CHK     usr/initramfs_list
 CC      arch/ia64/xen/../../i386/kernel/pci-dma-xen.o
arch/ia64/xen/../../i386/kernel/pci-dma-xen.c:18:25: error:
asm/swiotlb.h: No such file or directory
make[1]: *** [arch/ia64/xen/../../i386/kernel/pci-dma-xen.o] Error 1
make: *** [arch/ia64/xen] Error 2

In fact there is no such file.
Looks like some patch is not included during the build process or ... ?


--
Radosław Antoniuk
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel