Re: [kvm-devel] compile error

2008-02-18 Thread Avi Kivity
Zhao, Yunfeng wrote: Today’s IA32e KVM build fails, here is the error message: libqemu.a(kvm-tpr-opt.o): In function `enable_vapic': /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20080218000132559/kvm-userspace/qemu/kvm-tpr-opt.c:232: undefined reference to `kvm_enable_vapic'

Re: [kvm-devel] compile error

2008-02-18 Thread Zhao, Yunfeng
I am using TIP. I found that if try to compile twice, the first time has no problem but the second time (make clean./configuremake) will meet the error. I can't reproduce this with the last snapshot. What commits hashes are you using? -- Do not meddle in the internals of kernels, for they are

Re: [kvm-devel] compile error

2008-02-18 Thread Avi Kivity
Zhao, Yunfeng wrote: I am using TIP. I found that if try to compile twice, the first time has no problem but the second time (make clean./configuremake) will meet the error. Yes, 'make clean' was too eager. Fixed. -- error compiling committee.c: too many arguments to function

[kvm-devel] compile error

2008-02-17 Thread Zhao, Yunfeng
Today's IA32e KVM build fails, here is the error message: libqemu.a(kvm-tpr-opt.o): In function `enable_vapic': /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20080218000132559/kvm-use rspace/qemu/kvm-tpr-opt.c:232: undefined reference to `kvm_enable_vapic' libqemu.a(kvm-tpr-opt.o): In function

Re: [kvm-devel] compile error

2008-01-09 Thread Hollis Blanchard
On Wed, 2008-01-09 at 10:39 +0200, Avi Kivity wrote: Zhao, Yunfeng wrote: Today's tip fails to compile with following error messages: [...] Fixed now. Hollis, I had to revert your asm symlink patch to fix this, so we need to find an alternative solution to that problem. qemu ends

[kvm-devel] compile error [u]

2007-07-24 Thread Andreas Jellinghaus [c]
kvm needs zlib development files to compile, but does not probe for it in configure and does not complain if they are missing. a simple header check in qemu configure should fix this. Regards, Andreas - This SF.net email is

Re: [kvm-devel] Compile error

2007-07-09 Thread Avi Kivity
Zhao, Yunfeng wrote: I meet the error below when I compile KVM module against 30dac03825e830641054a829fe99ff6d1f2ebe0d. The kernel is 2.6.22-rc4. /workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20070708190117/kvm-usersp ace/BUILD/kernel/kvm_main.c: In function 'kvm_cpu_hotplug':

[kvm-devel] Compile error

2007-07-08 Thread Zhao, Yunfeng
I meet the error below when I compile KVM module against 30dac03825e830641054a829fe99ff6d1f2ebe0d. The kernel is 2.6.22-rc4. + make -C kernel make[1]: Entering directory `/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20070708190117/kvm-users pace/BUILD/kernel' make -j20 -C

Re: [kvm-devel] Compile error

2007-07-01 Thread Dor Laor
I saw compiler error at current head, does anybody else see too? 41ac4b23696b12fec15191969bc18da42359861d make -C /lib/modules/2.6.21-rc3/build M=`pwd` $@ make[1]: Entering directory `/root/linux-2.6.21-rc3' LD /root/work2/5th/kvm-userspace/kernel/built-in.o CC [M]

[kvm-devel] Compile error

2007-06-29 Thread Dong, Eddie
I saw compiler error at current head, does anybody else see too? 41ac4b23696b12fec15191969bc18da42359861d make -C /lib/modules/2.6.21-rc3/build M=`pwd` $@ make[1]: Entering directory `/root/linux-2.6.21-rc3' LD /root/work2/5th/kvm-userspace/kernel/built-in.o CC [M]

Re: [kvm-devel] compile error

2007-06-01 Thread Avi Kivity
Zhao, Yunfeng wrote: I met an error when i build latest KVM on rhel5. Seems asm/cmpxchg.h is not in the kernel before 2.6.22. How can I fix the issue? Add a kernel/include/linux/asm/cmpxchg.h, which defines set_64bit() for both i386 and x86_64. -- Do not meddle in the internals of

[kvm-devel] compile error

2007-05-31 Thread Zhao, Yunfeng
I met an error when i build latest KVM on rhel5. Seems asm/cmpxchg.h is not in the kernel before 2.6.22. How can I fix the issue? make -C kernel make[1]: Entering directory `/tmp/tmp/kvm-userspace/kernel' make -C /lib/modules/2.6.18-8.el5/build M=`pwd` $@ make[2]: Entering directory

Re: [kvm-devel] compile error with kvm-25

2007-05-24 Thread Anthony Liguori
Axel Kittenberger wrote: Hello List! I just downloaded kvm-25 and get following error while trying compile. Avi just fixed this in git. Regards, Anthony Liguori (Because the kvm 0.8 that came with my distro, always crashed after 1 second into trying to boot an qemu-installed Windows

[kvm-devel] Compile error with openSuse 10.2

2007-01-04 Thread Peter Smith
When compiling KVM I get the following error:- In file included from /home/peter/applications-home/kvm-9/qemu/usb-linux.c:29: /usr/include/linux/usbdevice_fs.h:49: error: variable or field `__user' declared void /usr/include/linux/usbdevice_fs.h:49: error: syntax error before '*' token My