Undefined symbols libgcrypt-1.2.0/tests/ac.c (Solaris 2.7)
lanz at wsl.ch
lanz at wsl.ch
Tue Jan 11 13:05:15 CET 2005
On 10 Dec 2004, stamer at flower.theory.informatik.uni-kassel.de wrote:
>
> Hello libgrypt-team,
>
> the following error appears during the build of libgcrypt-1.2.0 on
> Solaris (with non-gnu linker). It seems to me, that the listed
> symbols are not in libgcrypt.so but they appear in
> libgcrypt.a. --disable-ld-version-script does not help. The created
> config.log is attached.
>
> .... (dropped)
I can confirm the build error under Sun Sparc Solaris 2.9 (non-gnu
linker). I still get a very similar error with the new libgcrypt
version 1.2.1 (see below).
Best regards, Adrian.
Making all in tests
make[2]: Entering directory
`/scratch/gnu-downloads/libgcrypt/libgcrypt-1.2.1/tests'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/scratch/gcc/include
-I/scratch/apps/include -I/scratch/apps/include/ncurses
-I/scratch/apps/include/readline -I/usr/include -I/usr/openwin/include
-I/scratch/apps/include -g -O2 -Wall -MT prime.o -MD -MP -MF
".deps/prime.Tpo" -c -o prime.o prime.c; \ then mv -f
".deps/prime.Tpo" ".deps/prime.Po"; else rm -f ".deps/prime.Tpo"; exit
1; fi
/bin/bash ../libtool --tag=CC --mode=link gcc -I/scratch/apps/include
-g -O2 -Wall -L/scratch/gcc/lib -L/scratch/apps/lib -L/usr/lib/secure
-L/usr/lib -L/usr/openwin/lib -o prime prime.o ../src/libgcrypt.la
-lnsl -lsocket
mkdir .libs
gcc -I/scratch/apps/include -g -O2 -Wall -o .libs/prime prime.o
-L/scratch/gcc/lib -L/scratch/apps/lib -L/usr/lib/secure -L/usr/lib
-L/usr/openwin/lib ../src/.libs/libgcrypt.so
/scratch/apps/lib/libgpg-error.so /scratch/apps/lib/libintl.so
/scratch/apps/lib/libiconv.so -lc -lnsl -lsocket -R/scratch/apps/lib
creating prime
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/scratch/gcc/include
-I/scratch/apps/include -I/scratch/apps/include/ncurses
-I/scratch/apps/include/readline -I/usr/include -I/usr/openwin/include
-I/scratch/apps/include -g -O2 -Wall -MT register.o -MD -MP -MF
".deps/register.Tpo" -c -o register.o register.c; \ then mv -f
".deps/register.Tpo" ".deps/register.Po"; else rm -f
".deps/register.Tpo"; exit 1; fi
/bin/bash ../libtool --tag=CC --mode=link gcc -I/scratch/apps/include
-g -O2 -Wall -L/scratch/gcc/lib -L/scratch/apps/lib -L/usr/lib/secure
-L/usr/lib -L/usr/openwin/lib -o register register.o
../src/libgcrypt.la -lnsl -lsocket
gcc -I/scratch/apps/include -g -O2 -Wall -o .libs/register register.o
-L/scratch/gcc/lib -L/scratch/apps/lib -L/usr/lib/secure -L/usr/lib
-L/usr/openwin/lib ../src/.libs/libgcrypt.so
/scratch/apps/lib/libgpg-error.so /scratch/apps/lib/libintl.so
/scratch/apps/lib/libiconv.so -lc -lnsl -lsocket -R/scratch/apps/lib
creating register
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/scratch/gcc/include
-I/scratch/apps/include -I/scratch/apps/include/ncurses
-I/scratch/apps/include/readline -I/usr/include -I/usr/openwin/include
-I/scratch/apps/include -g -O2 -Wall -MT ac.o -MD -MP -MF
".deps/ac.Tpo" -c -o ac.o ac.c; \ then mv -f ".deps/ac.Tpo"
".deps/ac.Po"; else rm -f ".deps/ac.Tpo"; exit 1; fi
/bin/bash ../libtool --tag=CC --mode=link gcc -I/scratch/apps/include
-g -O2 -Wall -L/scratch/gcc/lib -L/scratch/apps/lib -L/usr/lib/secure
-L/usr/lib -L/usr/openwin/lib -o ac ac.o ../src/libgcrypt.la -lnsl
-lsocket
gcc -I/scratch/apps/include -g -O2 -Wall -o .libs/ac ac.o
-L/scratch/gcc/lib -L/scratch/apps/lib -L/usr/lib/secure -L/usr/lib
-L/usr/openwin/lib ../src/.libs/libgcrypt.so
/scratch/apps/lib/libgpg-error.so /scratch/apps/lib/libintl.so
/scratch/apps/lib/libiconv.so -lc -lnsl -lsocket -R/scratch/apps/lib
Undefined first referenced
symbol in file
gcry_ac_data_verify ac.o
gcry_ac_open ac.o
gcry_ac_key_init ac.o
gcry_ac_data_encrypt ac.o
gcry_ac_data_decrypt ac.o
gcry_ac_data_destroy ac.o
gcry_ac_close ac.o
gcry_ac_key_data_get ac.o
gcry_ac_key_pair_generate ac.o
gcry_ac_key_pair_extract ac.o
gcry_ac_data_sign ac.o
gcry_ac_data_copy ac.o
gcry_ac_data_get_index ac.o
ld: fatal: Symbol referencing errors. No output written to .libs/ac
collect2: ld returned 1 exit status
make[2]: *** [ac] Error 1
make[2]: Leaving directory
`/scratch/gnu-downloads/libgcrypt/libgcrypt-1.2.1/tests'
More information about the Gcrypt-devel
mailing list