[libvirt] Compile time error in event-test.c

Avanti Ajay avanti.ajay at gmail.com
Fri Jan 10 10:15:23 UTC 2014


I am trying to compile the event-test.c code of the libvirt package. I am
getting this error :
I know it is a loader problem. Do I need to install any binaries?

administrator at administrator-desktop:~/Desktop/libvirt/examples/domain-events/events-c$
gcc event-test.c -o event -lvirt
/tmp/ccHd7ZUD.o: In function `main':
event-test.c:(.text+0xac9): undefined reference to
collect2: ld returned 1 exit status


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140110/6660f54c/attachment-0001.htm>

More information about the libvir-list mailing list