[Libguestfs] trouble compiling libguestfs 1.17.21
Richard W.M. Jones
rjones at redhat.com
Sun Mar 25 08:37:05 UTC 2012
On Sat, Mar 24, 2012 at 09:12:08PM -0700, THO HUYNH wrote:
> I downloaded the libguestfs-1.17.21.tar.gz tarball from www.libguestfs.org
> I tried to compile the package but I got this error in "make" step:
>
> virt_df-domains.o: In function `add_domain':
> /home/feeliwood/Downloads/libguestfs-1.17.21/df/domains.c:274: undefined reference to `guestfs___for_each_disk'
[...]
> Do you have any hints?
This looks like a bug actually. I've not seen it happen here however.
virt-df is the only program that requires this symbol, so if you like
you can just bypass that subdirectory and continue the build. Edit
'Makefile.am' and change:
# virt-tools in C.
- SUBDIRS += align cat df edit format inspector rescue
+ SUBDIRS += align cat edit format inspector rescue
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
More information about the Libguestfs
mailing list