Re: linux-next: Tree for Jan 2 (netfilter)

4 messages, 2 authors, 2013-01-03 · open the first message on its own page

Re: linux-next: Tree for Jan 2 (netfilter)

From: Randy Dunlap <hidden>
Date: 2013-01-02 18:38:29

On 01/01/13 20:12, Stephen Rothwell wrote:
Hi all,

Changes since 20121224:
when NF_CONNTRACK is not enabled (build was on i386):

  CC [M]  net/netfilter/xt_CT.o
In file included from net/netfilter/xt_CT.c:16:0:
include/net/netfilter/nf_conntrack.h:77:22: error: field 'ct_general' has incomplete type
include/net/netfilter/nf_conntrack.h: In function 'nf_ct_get':
include/net/netfilter/nf_conntrack.h:157:30: error: 'const struct sk_buff' has no member named 'nfct'
include/net/netfilter/nf_conntrack.h: In function 'nf_ct_put':
include/net/netfilter/nf_conntrack.h:164:2: error: implicit declaration of function 'nf_conntrack_put' [-Werror=implicit-function-declaration]
net/netfilter/xt_CT.c: In function 'xt_ct_target_v0':
net/netfilter/xt_CT.c:30:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:34:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c: In function 'xt_ct_target_v1':
net/netfilter/xt_CT.c:47:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:51:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c: In function 'xt_ct_tg_check_v0':
net/netfilter/xt_CT.c:155:15: error: 'struct net' has no member named 'ct'
net/netfilter/xt_CT.c: In function 'xt_ct_tg_check_v1':
net/netfilter/xt_CT.c:299:15: error: 'struct net' has no member named 'ct'
net/netfilter/xt_CT.c: In function 'notrack_tg':
net/netfilter/xt_CT.c:392:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:395:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:397:2: error: implicit declaration of function 'nf_conntrack_get' [-Werror=implicit-function-declaration]
net/netfilter/xt_CT.c:397:22: error: 'struct sk_buff' has no member named 'nfct'
cc1: some warnings being treated as errors
make[3]: *** [net/netfilter/xt_CT.o] Error 1



Full randconfig file is attached.

-- 
~Randy

Re: linux-next: Tree for Jan 2 (netfilter)

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2013-01-03 01:36:18

Hi,

On Wed, Jan 02, 2013 at 10:39:43AM -0800, Randy Dunlap wrote:
On 01/01/13 20:12, Stephen Rothwell wrote:
quoted
Hi all,

Changes since 20121224:
when NF_CONNTRACK is not enabled (build was on i386):

  CC [M]  net/netfilter/xt_CT.o
In file included from net/netfilter/xt_CT.c:16:0:
include/net/netfilter/nf_conntrack.h:77:22: error: field 'ct_general' has incomplete type
include/net/netfilter/nf_conntrack.h: In function 'nf_ct_get':
include/net/netfilter/nf_conntrack.h:157:30: error: 'const struct sk_buff' has no member named 'nfct'
include/net/netfilter/nf_conntrack.h: In function 'nf_ct_put':
include/net/netfilter/nf_conntrack.h:164:2: error: implicit declaration of function 'nf_conntrack_put' [-Werror=implicit-function-declaration]
net/netfilter/xt_CT.c: In function 'xt_ct_target_v0':
net/netfilter/xt_CT.c:30:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:34:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c: In function 'xt_ct_target_v1':
net/netfilter/xt_CT.c:47:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:51:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c: In function 'xt_ct_tg_check_v0':
net/netfilter/xt_CT.c:155:15: error: 'struct net' has no member named 'ct'
net/netfilter/xt_CT.c: In function 'xt_ct_tg_check_v1':
net/netfilter/xt_CT.c:299:15: error: 'struct net' has no member named 'ct'
net/netfilter/xt_CT.c: In function 'notrack_tg':
net/netfilter/xt_CT.c:392:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:395:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:397:2: error: implicit declaration of function 'nf_conntrack_get' [-Werror=implicit-function-declaration]
net/netfilter/xt_CT.c:397:22: error: 'struct sk_buff' has no member named 'nfct'
cc1: some warnings being treated as errors
make[3]: *** [net/netfilter/xt_CT.o] Error 1
Sorry, I cannot reproduce the selection that your config file
contains:

CONFIG_NF_CONNTRACK=n
NETFILTER_XT_TARGET_CT=m

after make oldconfig is run. NETFILTER_XT_TARGET_CT already depends on
NF_CONNTRACK in our Kconfig, so I don't see what can be bad yet.

Re: linux-next: Tree for Jan 2 (netfilter)

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2013-01-03 02:30:09

On Thu, Jan 03, 2013 at 02:35:59AM +0100, Pablo Neira Ayuso wrote:
quoted
when NF_CONNTRACK is not enabled (build was on i386):

  CC [M]  net/netfilter/xt_CT.o
In file included from net/netfilter/xt_CT.c:16:0:
include/net/netfilter/nf_conntrack.h:77:22: error: field 'ct_general' has incomplete type
include/net/netfilter/nf_conntrack.h: In function 'nf_ct_get':
include/net/netfilter/nf_conntrack.h:157:30: error: 'const struct sk_buff' has no member named 'nfct'
include/net/netfilter/nf_conntrack.h: In function 'nf_ct_put':
include/net/netfilter/nf_conntrack.h:164:2: error: implicit declaration of function 'nf_conntrack_put' [-Werror=implicit-function-declaration]
net/netfilter/xt_CT.c: In function 'xt_ct_target_v0':
net/netfilter/xt_CT.c:30:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:34:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c: In function 'xt_ct_target_v1':
net/netfilter/xt_CT.c:47:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:51:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c: In function 'xt_ct_tg_check_v0':
net/netfilter/xt_CT.c:155:15: error: 'struct net' has no member named 'ct'
net/netfilter/xt_CT.c: In function 'xt_ct_tg_check_v1':
net/netfilter/xt_CT.c:299:15: error: 'struct net' has no member named 'ct'
net/netfilter/xt_CT.c: In function 'notrack_tg':
net/netfilter/xt_CT.c:392:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:395:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:397:2: error: implicit declaration of function 'nf_conntrack_get' [-Werror=implicit-function-declaration]
net/netfilter/xt_CT.c:397:22: error: 'struct sk_buff' has no member named 'nfct'
cc1: some warnings being treated as errors
make[3]: *** [net/netfilter/xt_CT.o] Error 1
Sorry, I cannot reproduce the selection ...
Caught it. Patch attached, thanks for the report.

Re: linux-next: Tree for Jan 2 (netfilter)

From: Randy Dunlap <hidden>
Date: 2013-01-03 18:55:23

On 01/02/13 18:30, Pablo Neira Ayuso wrote:
On Thu, Jan 03, 2013 at 02:35:59AM +0100, Pablo Neira Ayuso wrote:
quoted
quoted
when NF_CONNTRACK is not enabled (build was on i386):

  CC [M]  net/netfilter/xt_CT.o
In file included from net/netfilter/xt_CT.c:16:0:
include/net/netfilter/nf_conntrack.h:77:22: error: field 'ct_general' has incomplete type
include/net/netfilter/nf_conntrack.h: In function 'nf_ct_get':
include/net/netfilter/nf_conntrack.h:157:30: error: 'const struct sk_buff' has no member named 'nfct'
include/net/netfilter/nf_conntrack.h: In function 'nf_ct_put':
include/net/netfilter/nf_conntrack.h:164:2: error: implicit declaration of function 'nf_conntrack_put' [-Werror=implicit-function-declaration]
net/netfilter/xt_CT.c: In function 'xt_ct_target_v0':
net/netfilter/xt_CT.c:30:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:34:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c: In function 'xt_ct_target_v1':
net/netfilter/xt_CT.c:47:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:51:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c: In function 'xt_ct_tg_check_v0':
net/netfilter/xt_CT.c:155:15: error: 'struct net' has no member named 'ct'
net/netfilter/xt_CT.c: In function 'xt_ct_tg_check_v1':
net/netfilter/xt_CT.c:299:15: error: 'struct net' has no member named 'ct'
net/netfilter/xt_CT.c: In function 'notrack_tg':
net/netfilter/xt_CT.c:392:9: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:395:5: error: 'struct sk_buff' has no member named 'nfct'
net/netfilter/xt_CT.c:397:2: error: implicit declaration of function 'nf_conntrack_get' [-Werror=implicit-function-declaration]
net/netfilter/xt_CT.c:397:22: error: 'struct sk_buff' has no member named 'nfct'
cc1: some warnings being treated as errors
make[3]: *** [net/netfilter/xt_CT.o] Error 1
Sorry, I cannot reproduce the selection ...
Caught it. Patch attached, thanks for the report.
Acked-by: Randy Dunlap <redacted>

Thanks.


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