configure option to disable tests

Ciprian Dorin Craciun ciprian.craciun at gmail.com
Mon Jun 16 18:13:23 CEST 2008


On Mon, Jun 16, 2008 at 2:18 AM, Simon Josefsson <simon at josefsson.org> wrote:
> "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

    I don't know if -fvisibility=hidden is the problem... As I know
the CFLAGS, LDFLAGS and LIBS are clean (CFLAGS contains only
-I/packages/.include, and LDFLAGS -L/packages/.lib), so I don't think
this is the problem. I must mention that I have libgpg-error
installed, and that I am able to build and run other applications that
use libgcrypt.

    Ciprian.



More information about the Gcrypt-devel mailing list