Compile time error in event-test.c

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

 




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
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]