<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Richard W.M. Jones <rjones@redhat.com><br> <b><span style="font-weight: bold;">To:</span></b> THO HUYNH <feeliwood@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> libguestfs@redhat.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, 25 March 2012, 17:35<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Libguestfs] trouble compiling libguestfs 1.17.21<br> </font> </div> <br>On Sun, Mar 25, 2012 at 11:06:55AM +0100, Richard W.M. Jones wrote:<br>> On
 Sun, Mar 25, 2012 at 02:57:50AM -0700, THO HUYNH wrote:<br>> > yes I`m using Fedora 16 with libguestfs version 1.16.5 already installed.<br>> <br>> I have a similar system so I'll try a build from the tarball now.<br><br>It builds OK for me here, which is not to say that it's not a bug (it<br>certainly looks like one) just that I cannot reproduce it.<br><br>If the symbol exported from the library?  On my F16 machine, the<br>symbol is added correctly to the export script:<br><br>  $ grep for_each src/libguestfs.syms <br>          guestfs___for_each_disk;<br><br>and exported correctly from the library:<br><br>  $ nm -D src/.libs/libguestfs.so | grep for_each<br>  00000000000704b0 T guestfs___for_each_disk<br><br>You could also try looking at the link command:<br><br>  make -C df V=1<br><br>Rich.<br><br>PS.<br>I do see another, completely unrelated bug:<br><br>  make[3]: Leaving directory
 `/home/rich/d/libguestfs-1.17.21/generator'<br>  rake build<br>  rake aborted!<br>  no such file to load -- rdoc/task<br>  <br>  (See full trace by running task with --trace)<br><br>which appears to caused by fd7a5a8bbdc69b9d2a92f6d05ac555334d0516bf.<br><br>-- <br>Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/%7Erjones" target="_blank">http://people.redhat.com/~rjones</a><br>libguestfs lets you edit virtual machines.  Supports shell scripting,<br>bindings from many languages.  <a href="http://libguestfs.org" target="_blank">http://libguestfs.org</a><br><br><br> </div> </div>  </div></body></html>