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
Richard W.M. Jones
2013-Feb-25 16:30 UTC
[Libguestfs] build failures due to missing rpl_optarg
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 > ... > > OlafHilko 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/ff0269e80fcd2031afa7d48e414b7ca7e1ef4d7a 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
Maybe Matching Threads
- Some fixes for building the Debian package for 1.20.2
- Re: ANNOUNCE: libguestfs 1.26 released
- ANNOUNCE: libguestfs 1.26 released
- deadlock possiblity introduced by "drm/nouveau: use drm_mm in preference to custom code doing the same thing"
- Newbie questions -- is OCFS2 what I even want?