Linux Netfilter discussions
 help / color / mirror / Atom feed
* nftables install error
@ 2013-11-05 17:48 Alex Chapman
  2013-11-05 18:22 ` Phil Oester
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Chapman @ 2013-11-05 17:48 UTC (permalink / raw)
  To: netfilter@vger.kernel.org

Hi,

I have successfully installed nftables previously, but now running through the installation on a second machine I get the following error during nftables make:

  CC            src/scanner.c
<stdout>: In function ânft_lexâ:
<stdout>:1738:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
<stdout>: In function ânft__scan_bytesâ:
<stdout>:3583:17: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
cc1: all warnings being treated as errors
Makefile.rules:15: recipe for target 'src/scanner.o' failed
make[1]: *** [src/scanner.o] Error 1
Makefile.rules:88: recipe for target 'src' failed
make: *** [src] Error 2

These are using the latest Kernel, libnftables and nftables source.

Any ideas?

Thanks! 		 	   		  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nftables install error
  2013-11-05 17:48 nftables install error Alex Chapman
@ 2013-11-05 18:22 ` Phil Oester
  0 siblings, 0 replies; 2+ messages in thread
From: Phil Oester @ 2013-11-05 18:22 UTC (permalink / raw)
  To: Alex Chapman; +Cc: netfilter@vger.kernel.org

On Tue, Nov 05, 2013 at 05:48:01PM +0000, Alex Chapman wrote:
> I have successfully installed nftables previously, but now running through the installation on a second machine I get the following error during nftables make:
> 
>   CC            src/scanner.c
> <stdout>: In function ânft_lexâ:
> <stdout>:1738:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
> <stdout>: In function ânft__scan_bytesâ:
> <stdout>:3583:17: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
> cc1: all warnings being treated as errors
> Makefile.rules:15: recipe for target 'src/scanner.o' failed
> make[1]: *** [src/scanner.o] Error 1
> Makefile.rules:88: recipe for target 'src' failed
> make: *** [src] Error 2
> 
> These are using the latest Kernel, libnftables and nftables source.

See https://bugzilla.redhat.com/show_bug.cgi?id=993447.  Update your flex.

Phil

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-05 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-05 17:48 nftables install error Alex Chapman
2013-11-05 18:22 ` Phil Oester

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox