[Swan-dev] Libreswan installation

Balaji Thoguluva tbbalaji at gmail.com
Tue Dec 1 18:11:28 UTC 2020


If you have any suggestions on how to overcome this error, please let me
know.

Thanks,
Balaji

On Tue, Dec 1, 2020 at 8:45 AM Balaji Thoguluva <tbbalaji at gmail.com> wrote:

> Thanks Paul. I upgraded the nss package and I don't see this error.
>
> However I ran into the next set of errors.
>
> Attached is the make output.
>
> Any help would be appreciated.
>
> Thanks,
> Balaji
>
> On Mon, Nov 30, 2020 at 7:40 PM Paul Wouters <paul at nohats.ca> wrote:
>
>> On Mon, 30 Nov 2020, Balaji Thoguluva wrote:
>>
>> > I am trying to install Libreswan on a Linux machine by building the
>> source code.
>> >
>> > This is the system details on which I am installing.
>> >
>> > 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
>> >
>> > Attached is the output of "make all". It results in an error.
>>
>> cc1: warnings being treated as errors
>> /home/acme/Tools/libreswan-4.1/lib/libswan/secrets.c: In function
>> ‘RSA_sign_hash’:
>> /home/acme/Tools/libreswan-4.1/lib/libswan/secrets.c:319: error: implicit
>> declaration of function ‘PK11_SignWithMechanism’
>> /home/acme/Tools/libreswan-4.1/lib/libswan/secrets.c:319: error: nested
>> extern declaration of ‘PK11_SignWithMechanism’
>>
>> PK11_SignWithMechanism() was added to nss 3.22. It looks like your nss
>> version is too old ?
>>
>> It might be that libreswan 3.29 and older don't use
>> PK11_SignWithMechanism() so you could try
>> an older version, but obviously it is better to see about upgrading nss.
>>
>> Paul
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20201201/ffb0c46e/attachment.html>


More information about the Swan-dev mailing list