All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giorgio <giorgio.nicole@arcor.de>
To: Marco Berizzi <pupilla@hotmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: nftables error compile current git
Date: Wed, 19 Nov 2014 21:33:18 +0100	[thread overview]
Message-ID: <546CFE8E.7070806@arcor.de> (raw)
In-Reply-To: <DUB126-W257DF7FB1DCA4D59818B22B2890@phx.gbl>

[-- Attachment #1: Type: text/plain, Size: 2350 bytes --]

Hi,

to debug such problems you should try issuing:

# make V=1 all

to see the actual command line executed by make;
also very helpfull is the file 'config.log' produced by
the configure script.

giorgio

On 11/19/2014 03:11 PM, Marco Berizzi wrote:
> Hi Folks,
> 
> I trying to compile nftables, with the following configure options:
> 
> configure --prefix=/usr --without-cli
> 
> but I get the following error:
> 
>   CC     mnl.o
>   LEX    scanner.c
>   CC     scanner.o
> scanner.c: In function 'nft_lex':
> scanner.c:1956:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>     for ( yyl = 0; yyl < yyleng; ++yyl )
>                        ^
> scanner.c: In function 'nft__scan_bytes':
> scanner.c:4091:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>   for ( i = 0; i < _yybytes_len; ++i )
>                  ^
>   CC     parser_bison.o
>   CCLD   nft
> mnl.o: In function `mnl_batch_begin':
> /tmp/NFTABLES/nftables/src/mnl.c:199: undefined reference to `nft_batch_begin'
> mnl.o: In function `mnl_batch_end':
> /tmp/NFTABLES/nftables/src/mnl.c:207: undefined reference to `nft_batch_end'
> mnl.o: In function `mnl_nft_setelem_add':
> /tmp/NFTABLES/nftables/src/mnl.c:877: undefined reference to `nft_set_elems_nlmsg_build_payload_iter'
> mnl.o: In function `mnl_nft_setelem_batch_add':
> /tmp/NFTABLES/nftables/src/mnl.c:925: undefined reference to `nft_set_elems_nlmsg_build_payload_iter'
> collect2: error: ld returned 1 exit status
> make[3]: *** [nft] Error 1
> make[3]: Leaving directory `/tmp/NFTABLES/nftables/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/tmp/NFTABLES/nftables/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/NFTABLES/nftables'
> make: *** [all] Error 2
> 
> libmnl is current git clone at the time of writing
> libnftnl is current git clone at the time of writing
> nftables is current git clone at the time of writing
> 
> I'm running slackware 14.1 64bit
> Any response are welcome
> 
> TIA
>  		 	   		  --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 246 bytes --]

  reply	other threads:[~2014-11-19 20:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-19 14:11 nftables error compile current git Marco Berizzi
2014-11-19 20:33 ` Giorgio [this message]
2014-11-20  8:07   ` Marco Berizzi
2014-11-20 21:43     ` Giorgio
2014-11-21 13:01       ` Marco Berizzi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=546CFE8E.7070806@arcor.de \
    --to=giorgio.nicole@arcor.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pupilla@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.