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.
Making all in tests
make[2]: Entering directory `/home/stamer/src/libgcrypt-1.2.0/tests'
/bin/ksh ../libtool --mode=link gcc -I/home/stamer/include -O3 -msupersparc
-DSYSV -DSVR4 -I/usr/openwin/include -I/usr/dt/include -I/usr/local/include
-Wall -L/usr/lib -L/usr/openwin/lib -L/usr/dt/lib -L/usr/local/lib
-L/home/stamer/lib -o ac ac.o ../src/libgcrypt.la -lnsl -lsocket
gcc -I/home/stamer/include -O3 -msupersparc -DSYSV -DSVR4
-I/usr/openwin/include -I/usr/dt/include -I/usr/local/include -Wall
-o .libs/ac ac.o -L/usr/lib -L/usr/openwin/lib -L/usr/dt/lib
-L/usr/local/lib -L/home/stamer/lib ../src/.libs/libgcrypt.so
/home/stamer/lib/libgpg-error.so -lnsl -lsocket -R/home/stamer/lib
Undefined first referenced
symbol in file
gcry_ac_key_data_get ac.o
gcry_ac_data_destroy ac.o
gcry_ac_key_init ac.o
gcry_ac_data_copy ac.o
gcry_ac_open ac.o
gcry_ac_data_get_index ac.o
gcry_ac_data_decrypt ac.o
gcry_ac_close ac.o
gcry_ac_key_pair_extract ac.o
gcry_ac_data_sign ac.o
gcry_ac_data_encrypt ac.o
gcry_ac_data_verify ac.o
gcry_ac_key_pair_generate 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 `/home/stamer/src/libgcrypt-1.2.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stamer/src/libgcrypt-1.2.0'
make: *** [all] Error 2
Nevertheless the library works if installed, since only /tests is
affected. If you need a detailed report, please contact me.
Regards,
--
Heiko Stamer <stamer@theory.informatik.uni-kassel.de>
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.
Making all in tests
make[2]: Entering directory `/home/stamer/src/libgcrypt-1.2.0/tests'
/bin/ksh ../libtool --mode=link gcc -I/home/stamer/include -O3 -msupersparc
-DSYSV -DSVR4 -I/usr/openwin/include -I/usr/dt/include -I/usr/local/include
-Wall -L/usr/lib -L/usr/openwin/lib -L/usr/dt/lib -L/usr/local/lib
-L/home/stamer/lib -o ac ac.o ../src/libgcrypt.la -lnsl -lsocket
gcc -I/home/stamer/include -O3 -msupersparc -DSYSV -DSVR4
-I/usr/openwin/include -I/usr/dt/include -I/usr/local/include -Wall
-o .libs/ac ac.o -L/usr/lib -L/usr/openwin/lib -L/usr/dt/lib
-L/usr/local/lib -L/home/stamer/lib ../src/.libs/libgcrypt.so
/home/stamer/lib/libgpg-error.so -lnsl -lsocket -R/home/stamer/lib
Undefined first referenced
symbol in file
gcry_ac_key_data_get ac.o
gcry_ac_data_destroy ac.o
gcry_ac_key_init ac.o
gcry_ac_data_copy ac.o
gcry_ac_open ac.o
gcry_ac_data_get_index ac.o
gcry_ac_data_decrypt ac.o
gcry_ac_close ac.o
gcry_ac_key_pair_extract ac.o
gcry_ac_data_sign ac.o
gcry_ac_data_encrypt ac.o
gcry_ac_data_verify ac.o
gcry_ac_key_pair_generate 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 `/home/stamer/src/libgcrypt-1.2.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stamer/src/libgcrypt-1.2.0'
make: *** [all] Error 2
Nevertheless the library works if installed, since only /tests is
affected. If you need a detailed report, please contact me.
Regards,
--
Heiko Stamer <stamer@theory.informatik.uni-kassel.de>