On Thu, 24 Sep 2015, Tomas France wrote:

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

I have a problem compiling LibreSwan 3.14 and 3.15 on a CentOS 5 server.
Version 3.13 is not affected. The same issue occurred on 2 CentOS 5 servers
and both 3.14 and 3.15 do compile just fine on a CentOS 6 server.  Any help
would be appreciated!

RHEL5 / CentOS5 does not support newer libreswan releases. Even if the
flex/bison issues you raise were fixed, the nss version is too old for
the X.509 support we now need as of libreswan 3.14.

Paul


This is the part causing the problem it seems:

-c /opt/libreswan-3.15/OBJ.linux.x86_64/lib/libipsecconf/lex.yy.c
../../../lib/libipsecconf/parser.l:367:5: error: "YY_STACK_USED" is not
defined
cc1: warnings being treated as errors
../../../lib/libipsecconf/parser.l:482: warning: no previous declaration for
'yylex'
../../../lib/libipsecconf/parser.l:1096:5: error: "YY_ALWAYS_INTERACTIVE" is
not defined
../../../lib/libipsecconf/parser.l:1099:5: error: "YY_NEVER_INTERACTIVE" is
not defined
../../../lib/libipsecconf/parser.l:1390:5: error: "YY_MAIN" is not defined

Thanks!

Tomas


_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan

_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan

Reply via email to