* building nftables: ‘nfnl_nft_set_init’ undeclared
@ 2009-07-18 11:54 Christoph A.
2009-07-18 16:54 ` Jan Engelhardt
0 siblings, 1 reply; 3+ messages in thread
From: Christoph A. @ 2009-07-18 11:54 UTC (permalink / raw)
To: Netfilter Developer Mailing List; +Cc: farchanjo, Christoph A.
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-19 16:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-18 11:54 building nftables: ‘nfnl_nft_set_init’ undeclared Christoph A.
2009-07-18 16:54 ` Jan Engelhardt
2009-07-19 16:32 ` Christoph A.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).