Hi...

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@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
`virConnectRegisterCloseCallback'
collect2: ld returned 1 exit status


Thanks

Avanti
--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to