Problems in compiling libgcrypt-1.7.5

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


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

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/ ../random/ ../mpi/ ../compat/  -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/  -O2 -Wl,--version-script=./libgcrypt.vers   -Wl,-soname -Wl, -o .libs/
libtool: link: (cd ".libs" && rm -f "" && ln -s "" "")
libtool: link: (cd ".libs" && rm -f "" && ln -s "" "")
libtool: link: ( cd ".libs" && rm -f "" && ln -s "../" "" )
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 -ldl  -lgpg-error 
libtool: link: gcc -g -O2 -fvisibility=hidden -Wall -o .libs/mpicalc mpicalc-mpicalc.o  ./.libs/ -ldl /usr/lib/ -Wl,-rpath -Wl,/package/lib/libgcrypt-1.7.5/lib
./.libs/ undefined reference to `ath_read'
./.libs/ undefined reference to `_gcry_USE_THE_UNDERSCORED_FUNCTION'
./.libs/ 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