Hi All,<br><br>I am trying to compile libvirt-0.9.11 on Centos 5.6 (32 bit) for xen 4.1.<br>I have followed following procedure to compile the libvirt library.<br>1.  ./autogen.sh --system --with-xen<br>2. make<br><br>While running "make", I am receiving following errors :<br>
<br>-------------------------------------------------------------------------------------------------------------<br> CC     libvirt_iohelper-iohelper.o<br>  CCLD   libvirt_iohelper<br>  CC     libvirt_parthelper-parthelper.o<br>
  CCLD   libvirt_parthelper<br>libvirt_parthelper-parthelper.o: In function `main':<br>/root/Downloads/libvirt-0.9.11/src/storage/parthelper.c:103: undefined reference to `ped_device_get'<br>/root/Downloads/libvirt-0.9.11/src/storage/parthelper.c:117: undefined reference to `ped_disk_new'<br>
/root/Downloads/libvirt-0.9.11/src/storage/parthelper.c:123: undefined reference to `ped_disk_next_partition'<br>/root/Downloads/libvirt-0.9.11/src/storage/parthelper.c:173: undefined reference to `ped_disk_next_partition'<br>
collect2: ld returned 1 exit status<br>make[3]: *** [libvirt_parthelper] Error 1<br>make[3]: Leaving directory `/root/Downloads/libvirt-0.9.11/src'<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/root/Downloads/libvirt-0.9.11/src'<br>
make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/root/Downloads/libvirt-0.9.11'<br>make: *** [all] Error 2<br><br>------------------------------------------------------------------------------------------------------------<br clear="all">
<br>I have installed  parted (GNU parted) 3.0 ( previously it was 1.8.1 .<br>I have seen that a lot of people have reported this error but no one has shared the solution. <br>Does anyone remember the solution?<br><br><br>
Thanks in advance.<br><br>Rajat<br>