On Tue, Sep 04, 2012 at 06:45:46PM +0800, 周涛 wrote:
hi jones!
i compile this version from source on a new VM (no libguest is installed)
, after excute "./config", "make" lead to the following error, what
should i do:
......
make[4]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/generator'
CC libguestfs_la-guestfs.lo
CC libguestfs_la-actions.lo
CC libguestfs_la-appliance.lo
CC libguestfs_la-bindtests.lo
CC libguestfs_la-dbdump.lo
CC libguestfs_la-events.lo
CC libguestfs_la-file.lo
CC libguestfs_la-filearch.lo
CC libguestfs_la-fuse.lo
CC libguestfs_la-inspect.lo
CC libguestfs_la-inspect-apps.lo
CC libguestfs_la-inspect-fs.lo
CC libguestfs_la-inspect-fs-cd.lo
CC libguestfs_la-inspect-fs-unix.lo
CC libguestfs_la-inspect-fs-windows.lo
CC libguestfs_la-inspect-icon.lo
CC libguestfs_la-launch.lo
CC libguestfs_la-launch-appliance.lo
CC libguestfs_la-launch-libvirt.lo
CC libguestfs_la-launch-unix.lo
CC libguestfs_la-libvirtdomain.lo
CC libguestfs_la-listfs.lo
CC libguestfs_la-match.lo
CC libguestfs_la-proto.lo
CCLD libguestfs.la
make[3]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/src'
make[2]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/src'
Making all in examples
make[2]: Entering directory `/home/libguest_test/libguestfs-1.19.35/examples'
CCLD create_disk
../src/.libs/libguestfs.so: undefined reference to `guestfs___read_db_dump'
collect2: error: ld returned 1 exit status
This is approximately the same error as before, and the fix is the
same:
https://www.redhat.com/archives/libguestfs/2012-August/msg00167.html
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