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