Rajat Mehrotra
2012-Apr-10 03:48 UTC
[libvirt-users] Libvirt-0.9.11 compilation on Centos 5.6
Hi All, I am trying to compile libvirt-0.9.11 on Centos 5.6 (32 bit) for xen 4.1. I have followed following procedure to compile the libvirt library. 1. ./autogen.sh --system --with-xen 2. make While running "make", I am receiving following errors : ------------------------------------------------------------------------------------------------------------- CC libvirt_iohelper-iohelper.o CCLD libvirt_iohelper CC libvirt_parthelper-parthelper.o CCLD libvirt_parthelper libvirt_parthelper-parthelper.o: In function `main': /root/Downloads/libvirt-0.9.11/src/storage/parthelper.c:103: undefined reference to `ped_device_get' /root/Downloads/libvirt-0.9.11/src/storage/parthelper.c:117: undefined reference to `ped_disk_new' /root/Downloads/libvirt-0.9.11/src/storage/parthelper.c:123: undefined reference to `ped_disk_next_partition' /root/Downloads/libvirt-0.9.11/src/storage/parthelper.c:173: undefined reference to `ped_disk_next_partition' collect2: ld returned 1 exit status make[3]: *** [libvirt_parthelper] Error 1 make[3]: Leaving directory `/root/Downloads/libvirt-0.9.11/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/Downloads/libvirt-0.9.11/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Downloads/libvirt-0.9.11' make: *** [all] Error 2 ------------------------------------------------------------------------------------------------------------ I have installed parted (GNU parted) 3.0 ( previously it was 1.8.1 . I have seen that a lot of people have reported this error but no one has shared the solution. Does anyone remember the solution? Thanks in advance. Rajat -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120409/0a1d8043/attachment.htm>