* 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
* Re: building nftables: ‘nfnl_nft_set_init’ undeclared
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.
0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2009-07-18 16:54 UTC (permalink / raw)
To: Christoph A.; +Cc: Netfilter Developer Mailing List, farchanjo
On Saturday 2009-07-18 13:54, Christoph A. wrote:
>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
nfnl_nftset_init was removed in
0917b23733f46c65703545f82cc633836436f13b. nftables was not updated
(yet).
The combination of libnl-nft--9e3c81f64856ac0068f63f4d2b8f97c5f091e2e8 +
nftables-414fa58ae9f283c35c8510fc31f28ba77bb5fdf5
compiles through though.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: building nftables: ‘nfnl_nft_set_init’ undeclared
2009-07-18 16:54 ` Jan Engelhardt
@ 2009-07-19 16:32 ` Christoph A.
0 siblings, 0 replies; 3+ messages in thread
From: Christoph A. @ 2009-07-19 16:32 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Netfilter Developer Mailing List, Christoph A.
[-- Attachment #1: Type: text/plain, Size: 971 bytes --]
Am 18.07.2009 18:54, schrieb Jan Engelhardt:
> On Saturday 2009-07-18 13:54, Christoph A. wrote:
>> 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
>
> nfnl_nftset_init was removed in
> 0917b23733f46c65703545f82cc633836436f13b. nftables was not updated
> (yet).
>
> The combination of libnl-nft--9e3c81f64856ac0068f63f4d2b8f97c5f091e2e8 +
> nftables-414fa58ae9f283c35c8510fc31f28ba77bb5fdf5
> compiles through though.
After resolving the missing limits.h [1], the too new bison version [2]
and the configure script telling me that my malloc() version is not GNU
compatible, compiling was successfull.
[1] http://osdir.com/ml/catch/2009-03/msg04455.html
[2] http://markmail.org/message/xfay3mxmz4my4rog
thank you and thanks to orb (from #netfilter)
best regards
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).