On Fri, Mar 28, 2014 at 09:42:52AM +0100, Olaf Hering wrote:
On Thu, Mar 27, Richard W.M. Jones wrote:
> I'm pleased to announce libguestfs 1.26, a library and set of tools
This fails to link at least in sles11sp3, 1.25.37 was still ok:
...
[ 288s] virt_index_validate-index-validate.o: In function `main':
[ 288s] index-validate.c:(.text+0x94): undefined reference to `rpl_getopt_long'
[ 288s] index-validate.c:(.text+0x165): undefined reference to `rpl_optind'
[ 288s] index-validate.c:(.text+0x177): undefined reference to `rpl_optind'
[ 288s] index-validate.c:(.text+0x18c): undefined reference to `rpl_optind'
[ 288s] index-validate.c:(.text+0x498): undefined reference to `rpl_perror'
[ 288s] collect2: ld returned 1 exit status
[ 288s] make[2]: *** [virt-index-validate] Error 1
...
Second opinion: I think builder/Makefile.am needs to link these
programs with gnulib, ie something like this (not tested):
virt_index_validate_LDADD = \
-L../gnulib/lib/.libs -lgnu
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW