<div dir="ltr"><div>Thanks Paul. I upgraded the nss package and I don't see this error. </div><div><br></div><div>However I ran into the next set of errors.</div><div><br></div><div>Attached is the make output.</div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>Thanks,</div><div>Balaji<br></div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Mon, Nov 30, 2020 at 7:40 PM Paul Wouters <<a href="mailto:paul@nohats.ca">paul@nohats.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">On Mon, 30 Nov 2020, Balaji Thoguluva wrote:<br>
<br>
> I am trying to install Libreswan on a Linux machine by building the source code.<br>
> <br>
> This is the system details on which I am installing.<br>
> <br>
> Linux dev-anvil-vm 3.8.13-16.2.1.el6uek.x86_64 #1 SMP Thu Nov 7 17:01:44 PST 2013 x86_64 x86_64 x86_64 GNU/Linux<br>
> <br>
> Attached is the output of "make all". It results in an error.<br>
<br>
cc1: warnings being treated as errors<br>
/home/acme/Tools/libreswan-4.1/lib/libswan/secrets.c: In function ‘RSA_sign_hash’:<br>
/home/acme/Tools/libreswan-4.1/lib/libswan/secrets.c:319: error: implicit declaration of function ‘PK11_SignWithMechanism’<br>
/home/acme/Tools/libreswan-4.1/lib/libswan/secrets.c:319: error: nested extern declaration of ‘PK11_SignWithMechanism’<br>
<br>
PK11_SignWithMechanism() was added to nss 3.22. It looks like your nss<br>
version is too old ?<br>
<br>
It might be that libreswan 3.29 and older don't use PK11_SignWithMechanism() so you could try<br>
an older version, but obviously it is better to see about upgrading nss.<br>
<br>
Paul<br>
</blockquote></div>