[gnutls-devel] GnuTLS | Make in 3.6.11 fails with "error: storage size of 'rsa_pss_params' isn't known" with gcc 4.8.5 (#1015)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Thu Jun 4 11:27:48 CEST 2020
Vinay Banakar created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1015
Hi, I am using gnuTLS 3.6.11 and this [issue](https://gitlab.com/gnutls/gnutls/-/issues/812) still seems to persist which was supposed to have been fixed in 3.6.10.
Command:
` ./configure --prefix=/etc/gnutls-fips --enable-fips140-mode --with-libnettle-prefix=/etc/gnutls-nettle; make`
Error message:
```
make[4]: Entering directory `/root/gnutls-3.6.11/lib'
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-variable]
make[4]: *** [pkcs11_privkey.lo] Error 1
make[4]: Leaving directory `/root/gnutls-3.6.11/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/gnutls-3.6.11/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/gnutls-3.6.11/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnutls-3.6.11'
make: *** [all] Error 2
```
Versions:
```
# gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)
# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
# Nettle (nettle.pc)
Name: Nettle
Description: Nettle low-level cryptographic library (symmetric algorithms)
URL: http://www.lysator.liu.se/~nisse/nettle
Version: 3.5.1
```
I also tried to compile without p11-kit, but faced a different issue
```
./configure --prefix=/etc/gnutls-fips \
--enable-fips140-mode \
--with-libnettle-prefix=/etc/gnutls-nettle \
--without-p11-kit; make
```
```
make all-am
make[5]: Entering directory `/root/gnutls-3.6.11/src/libopts'
CC libopts_la-libopts.lo
libopts.c:14:24: fatal error: save-flags.h: No such file or directory
#include "save-flags.h"
^
compilation terminated.
make[5]: *** [libopts_la-libopts.lo] Error 1
make[5]: Leaving directory `/root/gnutls-3.6.11/src/libopts'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/gnutls-3.6.11/src/libopts'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/gnutls-3.6.11/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/gnutls-3.6.11/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnutls-3.6.11'
make: *** [all] Error 2
```
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1015
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200604/a24067eb/attachment.html>
More information about the Gnutls-devel
mailing list