Re: next-20120620 build error in netfilter

2 messages, 2 authors, 2012-06-23 · open the first message on its own page

Re: next-20120620 build error in netfilter

From: <hidden>
Date: 2012-06-20 18:38:00

On Wed, 20 Jun 2012 19:28:01 +0200, Pablo Neira Ayuso said:
On Wed, Jun 20, 2012 at 01:14:33PM -0400, Valdis Kletnieks wrote:
quoted
Today's linux-next fails to build with CONFIG_NF_NAT_NEEDED=y and CONFIG_NF_NAT=m

  LD      init/built-in.o
net/built-in.o:(.data+0x4408): undefined reference to `nf_nat_tcp_seq_adjust'
make: *** [vmlinux] Error 1
I guess you have NF_CT_NETLINK=y, right?
Yes.

Temporary workaround was setting NF_NAT=n (I don't use NAT, I just usually
build all the netfilter modules as =m even if I don't use them, just to provide
build coverage and trip over stuff like this).

Re: next-20120620 build error in netfilter

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2012-06-23 00:20:44

On Wed, Jun 20, 2012 at 02:37:52PM -0400, valdis.kletnieks@vt.edu wrote:
On Wed, 20 Jun 2012 19:28:01 +0200, Pablo Neira Ayuso said:
quoted
On Wed, Jun 20, 2012 at 01:14:33PM -0400, Valdis Kletnieks wrote:
quoted
Today's linux-next fails to build with CONFIG_NF_NAT_NEEDED=y and CONFIG_NF_NAT=m

  LD      init/built-in.o
net/built-in.o:(.data+0x4408): undefined reference to `nf_nat_tcp_seq_adjust'
make: *** [vmlinux] Error 1
I guess you have NF_CT_NETLINK=y, right?
Yes.

Temporary workaround was setting NF_NAT=n (I don't use NAT, I just usually
build all the netfilter modules as =m even if I don't use them, just to provide
build coverage and trip over stuff like this).
Probably NF_CT_NETLINK=m is a better workaround.

Anyway, I've enqueued the following patch to fix this:

http://1984.lsi.us.es/git/nf-next/commit/?id=d584a61a931e6cbfef0dd811c4ae0250ec5987f4

So you can use your previous config.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help