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
...
I'd say this is a gnulib problem, although why gnulib has decided to
use replacement functions is a mystery. My understanding is that
getopt_long is part of glibc, so gnulib shouldn't need to replace it.
Did ./configure output mention getopt*? If there is a config.cache
file, can you delete it and run ./configure again.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)