libmnl compile failure.
Hi,
There is something wrong when I make libmnl, could you please help check?
localhost:~/maowenan/libmnl # pwd/root/maowenan/libmnl
localhost:~/maowenan/libmnl #
localhost:~/maowenan/libmnl # make
make all-recursive
make[1]: Entering directory `/root/maowenan/libmnl'
Making all in src
make[2]: Entering directory /root/maowenan/libmnl/src' make[2]: Nothing to be done for all'.
make[2]: Leaving directory `/root/maowenan/libmnl/src'
Making all in include
make[2]: Entering directory `/root/maowenan/libmnl/include' Making all in libmnl
make[3]: Entering directory /root/maowenan/libmnl/include/libmnl' make[3]: Nothing to be done for all'.
make[3]: Leaving directory `/root/maowenan/libmnl/include/libmnl' Making all in linux
make[3]: Entering directory `/root/maowenan/libmnl/include/linux' Making all in netfilter
make[4]: Entering directory /root/maowenan/libmnl/include/linux/netfilter' make[4]: Nothing to be done for all'.
make[4]: Leaving directory /root/maowenan/libmnl/include/linux/netfilter' make[4]: Entering directory /root/maowenan/libmnl/include/linux' make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory /root/maowenan/libmnl/include/linux' make[3]: Leaving directory /root/maowenan/libmnl/include/linux' make[3]: Entering directory /root/maowenan/libmnl/include' make[3]: Nothing to be done for all-am'.
make[3]: Leaving directory /root/maowenan/libmnl/include' make[2]: Leaving directory /root/maowenan/libmnl/include' Making all in examples
make[2]: Entering directory `/root/maowenan/libmnl/examples' Making all in genl
make[3]: Entering directory /root/maowenan/libmnl/examples/genl' make[3]: Nothing to be done for all'.
make[3]: Leaving directory `/root/maowenan/libmnl/examples/genl' Making all in kobject
make[3]: Entering directory /root/maowenan/libmnl/examples/kobject' make[3]: Nothing to be done for all'.
make[3]: Leaving directory `/root/maowenan/libmnl/examples/kobject' Making all in netfilter
make[3]: Entering directory /root/maowenan/libmnl/examples/netfilter' make[3]: Nothing to be done for all'.
make[3]: Leaving directory `/root/maowenan/libmnl/examples/netfilter' Making all in rtnl
make[3]: Entering directory /root/maowenan/libmnl/examples/rtnl' make[3]: Nothing to be done for all'.
make[3]: Leaving directory /root/maowenan/libmnl/examples/rtnl' make[3]: Entering directory /root/maowenan/libmnl/examples' make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory /root/maowenan/libmnl/examples' make[2]: Leaving directory /root/maowenan/libmnl/examples' make[2]: Entering directory `/root/maowenan/libmnl'
make[2]: Leaving directory `/root/maowenan/libmnl'
make[1]: Leaving directory `/root/maowenan/libmnl'
Phil Sutter
reviewerHi,
Quoted 1 line · maowenan
There is something wrong when I make libmnl, could you please help check?
There is no error message in the output you pasted. Looks like you're calling 'make' in an already built source tree, so nothing needs to be done. Do you see the binaries in src/.libs?
Cheers, Phil
no, I don't see src.libs, but I have built nft success now, there is nothing need to do when make libmnl. The libmnl and libnftnl have existed in my system.
Thank you very much.
Quoted 17 lines
-----Original Message-----
From: Phil Sutter [mailto:[email protected]]
Sent: Monday, December 19, 2016 4:49 PM
To: maowenan
Cc: [email protected]
Subject: Re: libmnl compile failure.Hi,
Quoted 1 line · maowenan
There is something wrong when I make libmnl, could you please help check?
There is no error message in the output you pasted. Looks like you're calling 'make' in an already built source tree, so nothing needs to be done. Do you see the binaries in src/.libs?
Cheers, Phil
Quoted 11 lines
-----Original Message-----
From: Phil Sutter [mailto:[email protected]]
Sent: Monday, December 19, 2016 4:49 PM
To: maowenan
Cc: [email protected]
Subject: Re: libmnl compile failure.Hi,
Quoted 8 lines
Quoted 1 line · maowenan
There is something wrong when I make libmnl, could you please help check?
There is no error message in the output you pasted. Looks like you're calling 'make' in an already built source tree, so nothing needs to be done. Do you see the binaries in src/.libs?
Cheers, Phil
Local
process
^ | .-----------.
.-----------. | | | Routing |
| |-----> input / \---> output --->| Decision |----
--> prerouting --->| Routing | .-----------. \
| Decision | --> postrouting
| | /
| |---------------> forward ---------------------------
.-----------.Is nftables output chain before routing decision? I think output is after routing decision, Is it wrong with above graphic?
https://wiki.nftables.org/wiki-nftables/index.php/Netfilter_hooks
Florian Westphal
maintainerQuoted 31 lines · maowenan
Quoted 11 lines
-----Original Message-----
From: Phil Sutter [mailto:[email protected]]
Sent: Monday, December 19, 2016 4:49 PM
To: maowenan
Cc: [email protected]
Subject: Re: libmnl compile failure.Hi,
Quoted 8 lines
Quoted 1 line · maowenan
There is something wrong when I make libmnl, could you please help check?
There is no error message in the output you pasted. Looks like you're calling 'make' in an already built source tree, so nothing needs to be done. Do you see the binaries in src/.libs?
Cheers, Phil
Local process ^ | .-----------. .-----------. | | | Routing | | |-----> input / \---> output --->| Decision |---- --> prerouting --->| Routing | .-----------. \ | Decision | --> postrouting | | / | |---------------> forward --------------------------- .-----------.
Quoted 1 line
Is nftables output chain before routing decision? I think output is after routing decision, Is it wrong with above graphic?
Yes, the graph is wrong.
Output is after routing (which is why we need 'mangle' table in iptables for rerouting and nftables' "route" chain property).