qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] qemu-timer.c and ivshmem.c compiling error


From: Muhammad Asif
Subject: [Qemu-discuss] qemu-timer.c and ivshmem.c compiling error
Date: Tue, 13 Oct 2015 17:00:01 +0500

Hi Geeks,

We intend to use KVM with libvmi for VM introspection. libvmi provide a patch to get this functionality with KVM.
I downloaded qemu-kvm-0.14.0/ and patch it respectively and them try to compile as following link. 
https://github.com/libvmi/libvmi/tree/master/tools/qemu-kvm-patch

But during make I am facing following errors.

 LINK  x86_64-softmmu/qemu-system-x86_64
../slirp/misc.o: In function `memset':
/usr/include/x86_64-linux-gnu/bits/string3.h:81: warning: memset used with constant zero length parameter; this could be due to transposed parameters
../qemu-timer.o: In function `dynticks_start_timer':
/home/aserg/qemu-kvm-0.14.0/qemu-timer.c:862: undefined reference to `timer_create'
../qemu-timer.o: In function `dynticks_rearm_timer':
/home/aserg/qemu-kvm-0.14.0/qemu-timer.c:901: undefined reference to `timer_gettime'
/home/aserg/qemu-kvm-0.14.0/qemu-timer.c:914: undefined reference to `timer_settime'
../qemu-timer.o: In function `dynticks_stop_timer':
/home/aserg/qemu-kvm-0.14.0/qemu-timer.c:880: undefined reference to `timer_delete'
ivshmem.o: In function `pci_ivshmem_init':
/home/aserg/qemu-kvm-0.14.0/hw/ivshmem.c:771: undefined reference to `shm_open'
/home/aserg/qemu-kvm-0.14.0/hw/ivshmem.c:778: undefined reference to `shm_open'
collect2: error: ld returned 1 exit status
make[1]: *** [qemu-system-x86_64] Error 1
make: *** [subdir-x86_64-softmmu] Error 2

I tried to compile it without patch but issue is same qemu-timer.c is creating problems.
What issue can be.

Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]