[gnutls-devel] gnutls 3.2.7 FTBFS on kfreebsd - undefined reference to `rpl_strerror'

Andreas Metzler ametzler at bebt.de
Thu Nov 28 19:13:48 CET 2013


Hello,

gnutls 3.2.7 fails to build on kfreebsd where 3.2.6 worked:

---------------
/bin/bash ../../libtool  --tag=CC   --mode=link gcc   -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall  -Wl,-z,relro -o crywrap crywrap.o ../../lib/libgnutls.la -lidn
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wl,-z -Wl,relro -o .libs/crywrap crywrap.o  ../../lib/.libs/libgnutls.so -L/usr/lib/x86_64-kfreebsd-gnu -lz -lrt -lp11-kit -ltasn1 -lnettle -lhogweed -lgmp -lidn
../../lib/.libs/libgnutls.so: undefined reference to `rpl_strerror'
collect2: error: ld returned 1 exit status
make[6]: *** [crywrap] Error 1
make[6]: Leaving directory `/home/ametzler/GNUTLS/gnutls28-3.2.7/src/crywrap'
make[5]: *** [all-recursive] Error 1
---------------

src/gl/string.h shows that @REPLACE_STRERROR@ ended up as 1 although ./configure seemed to be happy:
--------------
grep strerror ../buildlog*
checking for strerror_r... yes
checking for __xpg_strerror_r... yes
checking whether gai_strerror is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strerror(0) succeeds... yes
checking whether strerror_r is declared... (cached) yes
checking whether gai_strerror is declared... (cached) yes
checking whether gai_strerrorA is declared... no
checking for gai_strerror with POSIX signature... yes
checking whether gai_strerror is declared without a macro... (cached) yes
checking whether perror matches strerror... yes
checking whether strerror_r is declared... (cached) yes
checking for strerror_r... (cached) yes
checking whether strerror_r returns char *... yes
checking for strerror... yes
[...]
--------------

Any ideas?

cu Andreas

https://buildd.debian.org/status/package.php?p=gnutls28&suite=experimental
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Gnutls-devel mailing list