I get this error after running 'make' with this release (on Fedora 10): make -C /lib/modules/2.6.29-rc6/build 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 " LD /kvm_86/kvm-86/kvm/kernel/x86/built-in.o CC [M] /kvm_86/kvm-86/kvm/kernel/x86/svm.o In file included from /kvm_86/kvm-86/kvm/kernel/x86/svm.c:57: /kvm_86/kvm-86/kvm/kernel/include/linux/kvm_host.h:191: error: field ‘mmu_notifier’ has incomplete type make[4]: *** [/kvm_86/kvm-86/kvm/kernel/x86/svm.o] Error 1 make[3]: *** [/kvm_86/kvm-86/kvm/kernel/x86] Error 2 make[2]: *** [_module_/kvm_86/kvm-86/kvm/kernel] Error 2 make[1]: *** [all] Error 2 make: *** [kvm-kmod] Error 2 [root@localhost kvm-86]# -----Original Message----- From: kvm-owner@xxxxxxxxxxxxxxx [mailto:kvm-owner@xxxxxxxxxxxxxxx] On Behalf Of Alexey Eremenko Sent: Thursday, May 21, 2009 6:49 AM To: KVM list Subject: Re: [ANNOUNCE] kvm-86 release On Thu, May 21, 2009 at 4:12 PM, Farkas Levente <lfarkas@xxxxxxxxxxx> wrote: > Avi Kivity wrote: >> There are many qcow2 and live migration fixes in this release; also >> noteworthy is the beginning of NUMA support. The interrupt injection >> code has seen some significant rework. > > it doesn't compile on rhel/centos-5.3 because of this error: > ---------------------------------------- > gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g > -fno-strict-aliasing -Wall -Wundef -Wendif-labels -Wwrite-strings > -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls > -I/home/robot/rpm/BUILD/qemu-kvm-devel-86/kvm/libkvm -m64 -D__x86_64__ > -Wno-redundant-decls -MMD -MF ./.libkvm.d -g -fomit-frame-pointer -Wall > -fno-stack-protector > -I/home/robot/rpm/BUILD/qemu-kvm-devel-86/kvm/include > -I/home/robot/rpm/BUILD/qemu-kvm-devel-86/kvm/include/x86 -c -o > libkvm.o libkvm.c > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c: In function > 'qemu_event_increment': > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c:3762: warning: ignoring > return value of 'write', declared with attribute warn_unused_result > In file included from /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c:4586: > ./qemu-options.h:461:1: error: unterminated argument list invoking macro > "printf" > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c: In function 'help': > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c:4597: warning: statement > with no effect > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c:4590: error: expected ';' > before string constant > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c:4605: error: expected > statement before ')' token > gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g > -fno-strict-aliasing -Wall -Wundef -Wendif-labels -Wwrite-strings > -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls > -I/home/robot/rpm/BUILD/qemu-kvm-devel-86/kvm/libkvm -m64 -D__x86_64__ > -Wno-redundant-decls -MMD -MF ./.libkvm-x86.d -g -fomit-frame-pointer > -Wall -fno-stack-protector > -I/home/robot/rpm/BUILD/qemu-kvm-devel-86/kvm/include > -I/home/robot/rpm/BUILD/qemu-kvm-devel-86/kvm/include/x86 -c -o > libkvm-x86.o libkvm-x86.c > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c: In function 'alloc_mem_area': > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c:4909: warning: ignoring > return value of 'ftruncate', declared with attribute warn_unused_result > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c: In function 'main': > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c:5852: warning: ignoring > return value of 'write', declared with attribute warn_unused_result > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c:6284: warning: ignoring > return value of 'chdir', declared with attribute warn_unused_result > /home/robot/rpm/BUILD/qemu-kvm-devel-86/vl.c:6303: warning: ignoring > return value of 'chdir', declared with attribute warn_unused_result > make[1]: *** [vl.o] Error 1 > ---------------------------------------- It compiles fine here on RHEL 5.3/x64. -- -Alexey Eromenko -- 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 ��.n��������+%������w��{.n�����o�^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�m