<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p style="color: #777777;">
<a href="https://gitlab.com/vinay_banakar">Vinay Banakar</a>
commented:
</p>
<div style="">
<p dir="auto">Hi, I am using gnuTLS 3.6.11 and this issue still seems to persist.</p>
<p dir="auto">Command:
<code> ./configure --prefix=/etc/gnutls-fips --enable-fips140-mode --with-libnettle-prefix=/etc/gnutls-nettle; make</code></p>
<p dir="auto">Error message:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">make[4]: Entering directory `/root/gnutls-3.6.11/lib'</span>
<span id="LC2" class="line" lang="plaintext">  CC       pkcs11_privkey.lo</span>
<span id="LC3" class="line" lang="plaintext">pkcs11_privkey.c: In function '_gnutls_pkcs11_privkey_sign':</span>
<span id="LC4" class="line" lang="plaintext">pkcs11_privkey.c:335:32: error: storage size of 'rsa_pss_params' isn't known</span>
<span id="LC5" class="line" lang="plaintext">  struct ck_rsa_pkcs_pss_params rsa_pss_params;</span>
<span id="LC6" class="line" lang="plaintext">                                ^</span>
<span id="LC7" class="line" lang="plaintext">pkcs11_privkey.c:335:32: warning: unused variable 'rsa_pss_params' [-Wunused-variable]</span>
<span id="LC8" class="line" lang="plaintext">make[4]: *** [pkcs11_privkey.lo] Error 1</span>
<span id="LC9" class="line" lang="plaintext">make[4]: Leaving directory `/root/gnutls-3.6.11/lib'</span>
<span id="LC10" class="line" lang="plaintext">make[3]: *** [all-recursive] Error 1</span>
<span id="LC11" class="line" lang="plaintext">make[3]: Leaving directory `/root/gnutls-3.6.11/lib'</span>
<span id="LC12" class="line" lang="plaintext">make[2]: *** [all] Error 2</span>
<span id="LC13" class="line" lang="plaintext">make[2]: Leaving directory `/root/gnutls-3.6.11/lib'</span>
<span id="LC14" class="line" lang="plaintext">make[1]: *** [all-recursive] Error 1</span>
<span id="LC15" class="line" lang="plaintext">make[1]: Leaving directory `/root/gnutls-3.6.11'</span>
<span id="LC16" class="line" lang="plaintext">make: *** [all] Error 2</span></code></pre>
<p dir="auto">Gcc version:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">gcc --version</span>
<span id="LC2" class="line" lang="plaintext">gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)</span></code></pre>
<p dir="auto">I also tried to compile without p11-kit, but faced a different issue</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">./configure --prefix=/etc/gnutls-fips \ </span>
<span id="LC2" class="line" lang="plaintext">             --enable-fips140-mode \</span>
<span id="LC3" class="line" lang="plaintext">             --with-libnettle-prefix=/etc/gnutls-nettle \</span>
<span id="LC4" class="line" lang="plaintext">             --without-p11-kit; make</span></code></pre>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">make  all-am</span>
<span id="LC2" class="line" lang="plaintext">make[5]: Entering directory `/root/gnutls-3.6.11/src/libopts'</span>
<span id="LC3" class="line" lang="plaintext">  CC       libopts_la-libopts.lo</span>
<span id="LC4" class="line" lang="plaintext">libopts.c:14:24: fatal error: save-flags.h: No such file or directory</span>
<span id="LC5" class="line" lang="plaintext"> #include "save-flags.h"</span>
<span id="LC6" class="line" lang="plaintext">                        ^</span>
<span id="LC7" class="line" lang="plaintext">compilation terminated.</span>
<span id="LC8" class="line" lang="plaintext">make[5]: *** [libopts_la-libopts.lo] Error 1</span>
<span id="LC9" class="line" lang="plaintext">make[5]: Leaving directory `/root/gnutls-3.6.11/src/libopts'</span>
<span id="LC10" class="line" lang="plaintext">make[4]: *** [all] Error 2</span>
<span id="LC11" class="line" lang="plaintext">make[4]: Leaving directory `/root/gnutls-3.6.11/src/libopts'</span>
<span id="LC12" class="line" lang="plaintext">make[3]: *** [all-recursive] Error 1</span>
<span id="LC13" class="line" lang="plaintext">make[3]: Leaving directory `/root/gnutls-3.6.11/src'</span>
<span id="LC14" class="line" lang="plaintext">make[2]: *** [all] Error 2</span>
<span id="LC15" class="line" lang="plaintext">make[2]: Leaving directory `/root/gnutls-3.6.11/src'</span>
<span id="LC16" class="line" lang="plaintext">make[1]: *** [all-recursive] Error 1</span>
<span id="LC17" class="line" lang="plaintext">make[1]: Leaving directory `/root/gnutls-3.6.11'</span>
<span id="LC18" class="line" lang="plaintext">make: *** [all] Error 2</span></code></pre>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/812#note_352823139">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/0347e97d3b0eef34f0113abe1c4c8ed4/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/812#note_352823139"}}</script>


</p>
</div>
</body>
</html>