[getdns-users] [getdns-api] Trouble with tests

Willem Toorop willem at nlnetlabs.nl
Tue Apr 8 13:57:47 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ian,

Answering on users at getdnsapi.net because getdns-api at vpnc.org is for
specification related discussion and not the implementation.

The floor function is within libm and those timer functions within
librt.  Does it link when you include those explicitly?
So within /home/irl/debian/libgetdns-0.1.1/src/test do:

../../libtool --tag=CC --mode=link gcc -g -O2 -fstack-protector
- --param=ssp-buffer-size=4 -Wformat -Werror=format-security
- -D_XOPEN_SOURCE=501 -Wall -I./ -I./../ -I/usr/local/include -std=c99
- -Wl,-z,relro -L. -L.. -L./../ -L/usr/local/lib -lgetdns -lunbound
- -lidn -lldns  -lcheck -lpthread -lm -rt -o check_getdns check_getdns.o
check_getdns_common.o check_getdns_context_set_timeout.o
check_getdns_selectloop.o

- -- Willem


op 08-04-14 15:34, Iain R. Learmonth schreef:
> Hi,
> 
> I'm attempting to build a Debian package for getdns-0.1.1 but am
> having some trouble with the tests.
> 
> This is using the 0.1.1 release tarball.
> 
> It looks like there's something wrong with some linking?
> 
> Log: http://pastebin.com/cy1FV1bG
> 
> Any ideas?
> 
> Thanks, Iain.
> 
> 
> 
> _______________________________________________ getdns-api mailing
> list getdns-api at vpnc.org
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTRABXAAoJEOX4+CEvd6SY1JwP/A2tUygEeunA/KV0uHZzLtsI
tOGX8fIQSZIKjCpYYnipSozXHfX9wGtSIrFDEB+xmn7UVrdmN3JrUTtWN/YsB5bl
w1YU70tXi6uPZh1lsELsOWgrSJWa7GB7xqH3wUjkwogMLiykfTqsyGCADqZthKZV
hyzoZ7O0ZtFp1LxDTThTLANlYEGjmS9upQM/Q00vV7z3XrglnwbKfp4WYtYTSxEQ
nFkSyv5PKjgGeEArwhMuHsqF/XXqhMVMBhO2nN3MuOjAW5Nd0JLUtpbaMe2dSeHH
RP9o2PJvo3LZQG+3ZSdmkc+U6OsnIEzMpcEJDrvyDmOfwUc5ndg0wNC2Z/mWsvxr
VMFLXsQuZOOKAqWCyXYyWvduMez3Y4JzQYPyiv1AG3ARLGX9buk+8519m0YHmyrH
zku6b/PFe8e+2lIRpAyKzSGEc4Uj5LkCfSlXyFpBxhJwl+PRfGgBXo6OhTi+H6Vk
4fW/DnpKVtVeWWxfbsHmHCGvpYjGkpJJiboH12/blBRcKqLYSEa7uFZaMHjim6+i
gQsT1fQ60H0fnOuMpCyYiNsBvBb+t2CC2cpUOylquUZ0WzU9hf9eaEoMcaA2L273
EsHkfO75/gLIRy8uOkOdIHMJbyvtAcUdUnJXkC+hcLYuBT1lqfNalMzMDDN5DO8i
wqoI5Zpeb8+DN2WLK2Y3
=2hxG
-----END PGP SIGNATURE-----



More information about the Users mailing list