[Swan-dev] [libreswan/libreswan] Libreswan 3.15 - Failed to compile (#36)

Paul Wouters paul at nohats.ca
Wed Apr 6 14:02:32 UTC 2016


This seems to haunt us forever. It is tricky to keep supporting all combinations of flex/bison/gcc

You can set WERROR_FLAGS="" to work around it. (See mk/*)

Sent from my iPhone

> On Apr 6, 2016, at 04:28, Lin Song <notifications at github.com> wrote:
> 
> In Ubuntu 16.04 (to be released in a few days) and under GCC 5.3.1, compilation of Libreswan 3.17 fails with the following error:
> 
>         -o ./lex.yy.o \
>         -c /opt/src/libreswan-3.17/OBJ.linux.x86_64/lib/libipsecconf/lex.yy.c
> lex.yy.c.11447: In function 'yy_get_next_buffer':
> lex.yy.c.11447:1723:44: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
> cc1: all warnings being treated as errors
> ../../../mk/depend.mk:28: recipe for target 'lex.yy.o' failed
> make[3]: *** [lex.yy.o] Error 1
> make[3]: Leaving directory '/opt/src/libreswan-3.17/OBJ.linux.x86_64/lib/libipsecconf'
> ../../mk/library.mk:41: recipe for target 'local-base' failed
> make[2]: *** [local-base] Error 2
> make[2]: Leaving directory '/opt/src/libreswan-3.17/lib/libipsecconf'
> ../mk/subdirs.mk:33: recipe for target 'all' failed
> make[1]: *** [all] Error 2
> make[1]: Leaving directory '/opt/src/libreswan-3.17/lib'
> /opt/src/libreswan-3.17/mk/subdirs.mk:33: recipe for target 'all' failed
> make: *** [all] Error 2
> Thanks for looking into this issue again.
> 
>> You are receiving this because you modified the open/close state.
> Reply to this email directly or view it on GitHub
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20160406/4746ab5c/attachment.html>


More information about the Swan-dev mailing list