compilation error on x86_64
Hello,
I get xen unstable with comand: hg clone http://xenbits.xensource.com/xen-unstable.hg
after download I type: make linux-xen-build CONFIGMENU=menuconfig and choose my hardware.
Next make dist and after a little time I have error list bellow:
make -C /mnt/miejsce/share/download/xen-hg/xen-unstable.hg/linux-2.6.18-xen.hg O=/mnt/miejsce/share/download/xen-hg/xen-unstable.hg/build-linux-2.6.18-xen_x86_64 vmlinuz Using /mnt/miejsce/share/download/xen-hg/xen-unstable.hg/linux-2.6.18-xen.hg as source for kernel
GEN /mnt/miejsce/share/download/xen-hg/xen-unstable.hg/build-linux-2.6.18-xen_x86_64/Makefile
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
CC lib/swiotlb.o/mnt/miejsce/share/download/xen-hg/xen-unstable.hg/linux-2.6.18-xen.hg/lib/swiotlb.c:270: error: redefinition of 'address_needs_mapping' /mnt/miejsce/share/download/xen-hg/xen-unstable.hg/linux-2.6.18-xen.hg/include/asm-i386/mach-xen/asm/dma-mapping.h:17: error: previous definition of 'address_needs_mapping' was here
My platform is x86_64.
What make I wrong ? Why he try using mach-xen ?
With version 3.1.0 downloaded from website compilation is OK and all works fine.
Best regards Maciej Browarski