Avi Kivity wrote: > This is a package containing the kvm external module, based on the > 2.6.30 series. kvm-kmod-2.6.30-rc6 contains the kvm code that is > present in Linux 2.6.30-rc6, except that it can run on older kernels. > It is a good companion to the qemu-kvm-0.10 series. while kvm-kmod-devel-86.tar.gz compile clean on centos-5.3 then kvm-kmod-2.6.30-rc6.tar.gz gives this error: ------------------------------------------------ make -C /usr/src/kernels/2.6.18-128.1.10.el5-x86_64 M=`pwd` \ LINUXINCLUDE="-I`pwd`/include -Iinclude \ \ -Iarch/x86/include -I`pwd`/include-compat \ -include include/linux/autoconf.h \ -include `pwd`/x86/external-module-compat.h " make[1]: Entering directory `/usr/src/kernels/2.6.18-128.1.10.el5-x86_64' LD /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/built-in.o CC [M] /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/svm.o CC [M] /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/vmx.o CC [M] /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/../external-module-compat.o CC [M] /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/vmx-debug.o In file included from /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/../external-module-compat-comm.h:772, from /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/external-module-compat.h:10, from <command line>:2: /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:37: error: expected declaration specifiers or '...' before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:40: error: expected specifier-qualifier-list before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:93: error: expected declaration specifiers or '...' before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iommu_iova_to_phys' In file included from /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/../external-module-compat-comm.h:772, from /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/external-module-compat.h:10, from <command line>:2: /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:37: error: expected declaration specifiers or '...' before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:40: error: expected specifier-qualifier-list before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:93: error: expected declaration specifiers or '...' before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iommu_iova_to_phys' make[3]: *** [/home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/../external-module-compat.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/../external-module-compat-comm.h:772, from /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/external-module-compat.h:10, from <command line>:2: /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:37: error: expected declaration specifiers or '...' before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:40: error: expected specifier-qualifier-list before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:93: error: expected declaration specifiers or '...' before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iommu_iova_to_phys' make[3]: *** [/home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/svm.o] Error 1 make[3]: In file included from /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/../external-module-compat-comm.h:772, from /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/external-module-compat.h:10, from <command line>:2: /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:37: error: expected declaration specifiers or '...' before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:40: error: expected specifier-qualifier-list before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:93: error: expected declaration specifiers or '...' before 'phys_addr_t' /home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/include-compat/linux/iommu.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iommu_iova_to_phys' *** [/home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/vmx.o] Error 1 make[3]: *** [/home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86/vmx-debug.o] Error 1 make[2]: *** [/home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_/x86] Error 2 make[1]: *** [_module_/home/robot/rpm/BUILD/kvm-kmod-2.6.30/_kmod_build_] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-128.1.10.el5-x86_64' make: *** [all] Error 2 ------------------------------------------------ -- Levente "Si vis pacem para bellum!" -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html