gcc 4.8: does not contain __get_cpuid_count()
ENV,
- CentOS Linux release 7.6.1810 (Core) or CentOS Linux release 7.3.1611 (Core)
- gnutls-3.6.9.tar.xz
Compile Optional,
cd ~/gnutls-3.6.9
./configure --bindir=/usr/bin/ \
--sbindir=/usr/sbin/ \
--libexecdir=/usr/libexec/ \
--sysconfdir=/etc/ \
--libdir=/usr/lib64/ \
--includedir=/usr/include/ \
--datarootdir=/usr/share/ \
--infodir=/usr/share/info/ \
--localedir=/usr/share/locale/ \
--mandir=/usr/share/man/ \
--docdir=/usr/share/doc/gnutls/ \
--enable-static \
--disable-guile \
--with-default-trust-store-pkcs11="pkcs11:"
Error Messages,
CC pkcs11_privkey.lo
pkcs11_privkey.c: In function '_gnutls_pkcs11_privkey_sign':
pkcs11_privkey.c:335:32: error: storage size of 'rsa_pss_params' isn't known
struct ck_rsa_pkcs_pss_params rsa_pss_params;
^
pkcs11_privkey.c:335:32: warning: unused variable 'rsa_pss_params' [-Wunused-var iable]
make[4]: *** [pkcs11_privkey.lo] Error 1
make[4]: Leaving directory `/root/gnutls-3.6.9/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/gnutls-3.6.9/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/gnutls-3.6.9/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnutls-3.6.9'
make: *** [all] Error 2
Edited by Will Tan