netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libmnl compile failure.
@ 2016-12-16  0:54 maowenan
  2016-12-19  8:49 ` Phil Sutter
  0 siblings, 1 reply; 5+ messages in thread
From: maowenan @ 2016-12-16  0:54 UTC (permalink / raw)
  To: netfilter-devel

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'


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libmnl compile failure.
  2016-12-16  0:54 libmnl compile failure maowenan
@ 2016-12-19  8:49 ` Phil Sutter
  2016-12-19  8:55   ` maowenan
  2016-12-21  4:26   ` maowenan
  0 siblings, 2 replies; 5+ messages in thread
From: Phil Sutter @ 2016-12-19  8:49 UTC (permalink / raw)
  To: maowenan; +Cc: netfilter-devel

Hi,

On Fri, Dec 16, 2016 at 08:54:59AM +0800, maowenan wrote:
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: libmnl compile failure.
  2016-12-19  8:49 ` Phil Sutter
@ 2016-12-19  8:55   ` maowenan
  2016-12-21  4:26   ` maowenan
  1 sibling, 0 replies; 5+ messages in thread
From: maowenan @ 2016-12-19  8:55 UTC (permalink / raw)
  To: Phil Sutter; +Cc: netfilter-devel@vger.kernel.org

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.
     

> -----Original Message-----
> From: Phil Sutter [mailto:phil@nwl.cc]
> Sent: Monday, December 19, 2016 4:49 PM
> To: maowenan
> Cc: netfilter-devel@vger.kernel.org
> Subject: Re: libmnl compile failure.
> 
> Hi,
> 
> On Fri, Dec 16, 2016 at 08:54:59AM +0800, maowenan wrote:
> > 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: libmnl compile failure.
  2016-12-19  8:49 ` Phil Sutter
  2016-12-19  8:55   ` maowenan
@ 2016-12-21  4:26   ` maowenan
  2016-12-21 11:28     ` Florian Westphal
  1 sibling, 1 reply; 5+ messages in thread
From: maowenan @ 2016-12-21  4:26 UTC (permalink / raw)
  To: Phil Sutter; +Cc: netfilter-devel@vger.kernel.org



> -----Original Message-----
> From: Phil Sutter [mailto:phil@nwl.cc]
> Sent: Monday, December 19, 2016 4:49 PM
> To: maowenan
> Cc: netfilter-devel@vger.kernel.org
> Subject: Re: libmnl compile failure.
> 
> Hi,
> 
> On Fri, Dec 16, 2016 at 08:54:59AM +0800, maowenan wrote:
> > 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libmnl compile failure.
  2016-12-21  4:26   ` maowenan
@ 2016-12-21 11:28     ` Florian Westphal
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Westphal @ 2016-12-21 11:28 UTC (permalink / raw)
  To: maowenan; +Cc: Phil Sutter, netfilter-devel@vger.kernel.org

maowenan <maowenan@huawei.com> wrote:
> 
> 
> > -----Original Message-----
> > From: Phil Sutter [mailto:phil@nwl.cc]
> > Sent: Monday, December 19, 2016 4:49 PM
> > To: maowenan
> > Cc: netfilter-devel@vger.kernel.org
> > Subject: Re: libmnl compile failure.
> > 
> > Hi,
> > 
> > On Fri, Dec 16, 2016 at 08:54:59AM +0800, maowenan wrote:
> > > 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?

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).

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-21 11:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-16  0:54 libmnl compile failure maowenan
2016-12-19  8:49 ` Phil Sutter
2016-12-19  8:55   ` maowenan
2016-12-21  4:26   ` maowenan
2016-12-21 11:28     ` Florian Westphal

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).