We are getting an error while compiling the latest version of libgcrypt 1.7.1
See below text :
make[2]: Entering directory `/sapwork/GnuPG/gnupg-2.0.30/libgcrypt-1.7.1/src'
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/local/include -g -O2
-fvisibility=hidden -Wall -o mpicalc mpicalc-mpicalc.o libgcrypt.la
-L/usr/local/lib -lgpg-error
libtool: link: gcc -I/usr/local/include -g -O2 -fvisibility=hidden -Wall
-o .libs/mpicalc mpicalc-mpicalc.o ./.libs/libgcrypt.so
-L/usr/local/lib /usr/local/lib/libgpg-error.so -Wl,-rpath -Wl,/usr/local/lib
./.libs/libgcrypt.so: undefined reference to `_gcry_sha1_transform_amd64_avx'
collect2: ld returned 1 exit status
make[2]: * [mpicalc] Error 1
make[2]: Leaving directory `/sapwork/GnuPG/gnupg-2.0.30/libgcrypt-1.7.1/src'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/sapwork/GnuPG/gnupg-2.0.30/libgcrypt-1.7.1'
make: *** [all] Error 2
-I noticed that this error is similar to big fix ID- 1619 but I see no
resolution steps mentioned. Attaching the log file for reference