All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christoph A." <casmls@gmail.com>
To: Netfilter Developer Mailing List <netfilter-devel@vger.kernel.org>
Cc: farchanjo@gmail.com, "Christoph A." <casmls@gmail.com>
Subject: building nftables: ‘nfnl_nft_set_init’ undeclared
Date: Sat, 18 Jul 2009 13:54:05 +0200	[thread overview]
Message-ID: <4A61B7DD.9050201@gmail.com> (raw)

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

Hi!

I'm building a enviroment where I can paly around with nftables.

Building libnl-nft I encountered the same problem as described here:

http://osdir.com/ml/general/2009-04/msg03933.html

I "resolved" that error by commenting these lines out (nft_data.c):

 22 enum nft_data_types {
 23         NFT_DATA_VALUE,
 24         NFT_DATA_VERDICT,
 25 };

Stepping to the next task, building nftables, I get the following errors:

  CC		src/netlink_linearize.c
src/netlink_linearize.c: In function ‘netlink_gen_map’:
src/netlink_linearize.c:126: error: ‘nfnl_nft_set_init’ undeclared
(first use in this function)
src/netlink_linearize.c:126: error: (Each undeclared identifier is
reported only once
src/netlink_linearize.c:126: error: for each function it appears in.)
cc1: warnings being treated as errors
src/netlink_linearize.c:127: error: implicit declaration of function
‘nfnl_nft_set_set_flags’
src/netlink_linearize.c:128: error: implicit declaration of function
‘nfnl_nft_set_set_sreg’
src/netlink_linearize.c:129: error: implicit declaration of function
‘nfnl_nft_set_set_klen’
src/netlink_linearize.c:130: error: implicit declaration of function
‘nfnl_nft_set_set_dreg’
src/netlink_linearize.c:131: error: implicit declaration of function
‘nfnl_nft_set_set_dlen’
src/netlink_linearize.c:156: error: implicit declaration of function
‘nfnl_nft_set_add_mapping’
src/netlink_linearize.c: In function ‘netlink_gen_lookup’:
src/netlink_linearize.c:180: error: ‘nfnl_nft_set_init’ undeclared
(first use in this function)
src/netlink_linearize.c:196: error: implicit declaration of function
‘nfnl_nft_set_add_elem’
make[1]: *** [src/netlink_linearize.o] Error 1
make: *** [src] Error 2

I was not able to resolve this errors.

I'm using the latest version from git:
git://git.netfilter.org/nftables.git

Any help would be appreciated!
Christoph


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

             reply	other threads:[~2009-07-18 11:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-18 11:54 Christoph A. [this message]
2009-07-18 16:54 ` building nftables: ‘nfnl_nft_set_init’ undeclared Jan Engelhardt
2009-07-19 16:32   ` Christoph A.

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=4A61B7DD.9050201@gmail.com \
    --to=casmls@gmail.com \
    --cc=farchanjo@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    /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.