Problems in compiling libgcrypt-1.7.5

Jean Louis bugs at gnu.support
Thu Dec 15 21:19:28 CET 2016


Hello,

I have some problems in compiling the libgcrypt-1.7.5.

1) The last lines of building process is shown below.

2) It was: ./configure --prefix=/package/lib/$(basename `pwd`)
--disable-padlock-support --disable-neon-support
--disable-arm-crypto-support --enable-hmac-binary-check
--enable-random-daemon

Jean Louis

ibgcrypt_la-sexp.lo libgcrypt_la-hwfeatures.lo libgcrypt_la-stdmem.lo libgcrypt_la-secmem.lo libgcrypt_la-missing-string.lo libgcrypt_la-fips.lo libgcrypt_la-hmac256.lo libgcrypt_la-context.lo  hwf-x86.lo ../cipher/libcipher.la ../random/librandom.la ../mpi/libmpi.la ../compat/libcompat.la  -lgpg-error 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/libgcrypt_la-visibility.o .libs/libgcrypt_la-misc.o .libs/libgcrypt_la-global.o .libs/libgcrypt_la-sexp.o .libs/libgcrypt_la-hwfeatures.o .libs/libgcrypt_la-stdmem.o .libs/libgcrypt_la-secmem.o .libs/libgcrypt_la-missing-string.o .libs/libgcrypt_la-fips.o .libs/libgcrypt_la-hmac256.o .libs/libgcrypt_la-context.o .libs/hwf-x86.o  -Wl,--whole-archive ../cipher/.libs/libcipher.a ../random/.libs/librandom.a ../mpi/.libs/libmpi.a ../compat/.libs/libcompat.a -Wl,--no-whole-archive  /usr/lib/libgpg-error.so  -O2 -Wl,--version-script=./libgcrypt.vers   -Wl,-soname -Wl,libgcrypt.so.20 -o .libs/libgcrypt.so.20.1.5
libtool: link: (cd ".libs" && rm -f "libgcrypt.so.20" && ln -s "libgcrypt.so.20.1.5" "libgcrypt.so.20")
libtool: link: (cd ".libs" && rm -f "libgcrypt.so" && ln -s "libgcrypt.so.20.1.5" "libgcrypt.so")
libtool: link: ( cd ".libs" && rm -f "libgcrypt.la" && ln -s "../libgcrypt.la" "libgcrypt.la" )
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -fvisibility=hidden -Wall -MT dumpsexp-dumpsexp.o -MD -MP -MF .deps/dumpsexp-dumpsexp.Tpo -c -o dumpsexp-dumpsexp.o `test -f 'dumpsexp.c' || echo './'`dumpsexp.c
mv -f .deps/dumpsexp-dumpsexp.Tpo .deps/dumpsexp-dumpsexp.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fvisibility=hidden -Wall   -o dumpsexp dumpsexp-dumpsexp.o  
libtool: link: gcc -g -O2 -fvisibility=hidden -Wall -o dumpsexp dumpsexp-dumpsexp.o 
gcc -DHAVE_CONFIG_H -I. -I..    -DSTANDALONE  -g -O2 -fvisibility=hidden -Wall -MT hmac256-hmac256.o -MD -MP -MF .deps/hmac256-hmac256.Tpo -c -o hmac256-hmac256.o `test -f 'hmac256.c' || echo './'`hmac256.c
mv -f .deps/hmac256-hmac256.Tpo .deps/hmac256-hmac256.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -DSTANDALONE  -g -O2 -fvisibility=hidden -Wall   -o hmac256 hmac256-hmac256.o  
libtool: link: gcc -DSTANDALONE -g -O2 -fvisibility=hidden -Wall -o hmac256 hmac256-hmac256.o 
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -fvisibility=hidden -Wall -MT mpicalc-mpicalc.o -MD -MP -MF .deps/mpicalc-mpicalc.Tpo -c -o mpicalc-mpicalc.o `test -f 'mpicalc.c' || echo './'`mpicalc.c
mv -f .deps/mpicalc-mpicalc.Tpo .deps/mpicalc-mpicalc.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fvisibility=hidden -Wall   -o mpicalc mpicalc-mpicalc.o libgcrypt.la -ldl  -lgpg-error 
libtool: link: gcc -g -O2 -fvisibility=hidden -Wall -o .libs/mpicalc mpicalc-mpicalc.o  ./.libs/libgcrypt.so -ldl /usr/lib/libgpg-error.so -Wl,-rpath -Wl,/package/lib/libgcrypt-1.7.5/lib
./.libs/libgcrypt.so: undefined reference to `ath_read'
./.libs/libgcrypt.so: undefined reference to `_gcry_USE_THE_UNDERSCORED_FUNCTION'
./.libs/libgcrypt.so: undefined reference to `ath_write'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:712: mpicalc] Error 1
make[2]: Leaving directory '/sources/gnu/libgcrypt-1.7.5/src'
make[1]: *** [Makefile:477: all-recursive] Error 1
make[1]: Leaving directory '/sources/gnu/libgcrypt-1.7.5'
make: *** [Makefile:408: all] Error 2



More information about the Gcrypt-devel mailing list