configure option to disable tests

Simon Josefsson simon at josefsson.org
Mon Jun 16 01:18:14 CEST 2008


"Ciprian Dorin Craciun" <ciprian.craciun at gmail.com> writes:

> [oo] Making install in tests
> [oo] make[1]: Entering directory `/tmp/vpm--1213567395239134476/output/tests'
> [oo] /bin/sh ../libtool --tag=CC   --mode=link gcc -I/packages/libgpg-error--1.6/include -g -O2 -fvisibility=hidden -Wall -Wpointer-arith  -L/packages/.lib -o ac-schemes ac-schemes.o ../src/libgcrypt.la 
> [oo] gcc -I/packages/libgpg-error--1.6/include -g -O2 -fvisibility=hidden -Wall -Wpointer-arith -o .libs/ac-schemes ac-schemes.o  -L/packages/.lib ../src/.libs/libgcrypt.so -Wl,--rpath -Wl,/packages/libgcrypt--1.4.1/lib
> [ee] ac-schemes.o: In function `scheme_get_opts':
> [ee] /tmp/vpm--1213567395239134476/sources/tests/ac-schemes.c:87: undefined reference to `gpg_err_code_from_errno'
> [ee] collect2: ld returned 1 exit status
> [ee] make[1]: *** [ac-schemes] Error 1
> [ee] make: *** [install-recursive] Error 1
> [oo] make[1]: Leaving directory `/tmp/vpm--1213567395239134476/output/tests'
> [XX] => failed;
> [XX] => failing;

Could the -fvisibility=hidden be your problem?  The self tests call
functions in libgpg-error, but it is only linked against libgcrypt.
Libgcrypt links to libgpg-error, so normally it would work.

/Simon



More information about the Gcrypt-devel mailing list