[Swan] Libreswan on Slackware 14.1

Paul Overton paul at trusted-management.com
Thu Dec 10 11:28:15 UTC 2015


Thanks for your reply. 

Yes the V3.16rc2 does compile without issues on SLX 14.1 X64.

The other workaround also worked. 

Many thanks.

Paul O

-----Original Message-----
From: Paul Wouters [mailto:paul at nohats.ca] 
Sent: 09 December 2015 18:25
To: Paul Overton <paul at trusted-management.com>
Cc: swan at lists.libreswan.org
Subject: Re: [Swan] Libreswan on Slackware 14.1

On Wed, 9 Dec 2015, Paul Overton wrote:

> However when I attempt to compile the programs 3.14 or 3.15 I get the following error:

> <stdout>: In function 'yy_scan_bytes':
> <stdout>:2169:17: error: comparison between signed and unsigned 
> integer expressions [-Werror=sign-compare]
> cc1: all warnings being treated as errors
> make[3]: *** [lex.yy.o] Error 1
> make[3]: Leaving directory `/usr/src/libreswan-3.14/OBJ.linux.x86_64/lib/libipsecconf'
> make[2]: *** [local-base] Error 2

Can you try


and let us know if that resolves your problem? We did some tweaks to support various older/newer combinations of flex/bison recently.

A quick workaround is to use: export WERROR_CFLAGS=''

> Could anyone give me a clue as to what changed between 3.13 and 3.14 that would cause this issue ?

We turned all warnings into errors :)


This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

This message has been scanned for viruses and
dangerous content by Trusted Management Limited, and is
believed to be clean.

More information about the Swan mailing list