[Swan] Cannot compile Libreswan 3.14 and newer on CentOS 5

Paul Wouters paul at nohats.ca
Fri Sep 25 14:17:51 UTC 2015


On Fri, 25 Sep 2015, Tomas France wrote:

> -c /opt/libreswan-3.15/programs/pluto/timer.c
> cc1: warnings being treated as errors
> /opt/libreswan-3.15/programs/pluto/timer.c: In function 'timer_event_cb':
> /opt/libreswan-3.15/programs/pluto/timer.c:455: warning:
> 'last_used_age.delta_secs' is used uninitialized in this function
> make[3]: *** [timer.o] Error 1
> make[3]: Leaving directory
> `/opt/libreswan-3.15/OBJ.linux.x86_64/programs/pluto'
> make[2]: *** [local-base] Error 2
> make[2]: Leaving directory `/opt/libreswan-3.15/programs/pluto'

Hugh commited a fix for that:

https://github.com/libreswan/libreswan/commit/5a9bdbadedcec879b0afd95337ef6e4a5d5429f9.patch

Paul


More information about the Swan mailing list