On Mon, Feb 25, 2013 at 03:31:52PM +0100, Olaf Hering wrote:
For some reason 1.20.2 fails to link in openSuSE 11.4 and older, 1.20.1 did not have this issue.
... CCLD libguestfs-test-tool libguestfs_test_tool-test-tool.o: In function `main': test-tool.c:(.text+0x11f): undefined reference to `rpl_getopt_long' test-tool.c:(.text+0x170): undefined reference to `rpl_optarg' test-tool.c:(.text+0x281): undefined reference to `rpl_optarg' test-tool.c:(.text+0x2b2): undefined reference to `rpl_optarg' test-tool.c:(.text+0x2ea): undefined reference to `rpl_optarg' test-tool.c:(.text+0xd7e): undefined reference to `rpl_perror' test-tool.c:(.text+0xd96): undefined reference to `rpl_perror' test-tool.c:(.text+0xdcb): undefined reference to `rpl_perror' test-tool.c:(.text+0xe97): undefined reference to `rpl_perror' collect2: ld returned 1 exit status make[2]: *** [libguestfs-test-tool] Error 1 ...
Olaf
Hilko Bengen posted a fix for this, which was ACKed but it wasn't pushed. I have just pushed Hilko's fixes to the development branch, and will backport them to stable-1.20 when I do the next release. The particular commit you want is: https://github.com/libguestfs/libguestfs/commit/ff0269e80fcd2031afa7d48e414b... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v