Skip to contentSkip to conversation

Building xt_LOGMARK from xtables-addons fails

DISCUSSION Arif Hossain 2 participants 3 messages Aug 3, 2012 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to build my modules with xtables_addons. I'm not using distribution's kernel-header package.

I've configured with "./configure --with-kbuild=<my_kernel's source>

After issuing "make", it reports:

In file included
from /usr/local/src/xtables-addons/extensions/xt_LOGMARK.c:18:
/usr/local/src/xtables-addons/extensions/compat_xtables.h:17:4: warning:
#warning You have CONFIG_NF_CONNTRACK enabled, but CONFIG_NF_CONNTRACK_MARK is not (please enable).

but i've enabled CONFIG_NF_CONNTRACK_MARK :

[root@s1 linux]# grep 'NF_CONNTRACK_MARK' .config
CONFIG_NF_CONNTRACK_MARK=y

What's it i'm missing?

Signature · 4 lines
Cheers

aft
[email protected]
#1 lore raw
Quoted 16 lines · Arif Hossain

Hi,

I'm trying to build my modules with xtables_addons. I'm not using distribution's kernel-header package.

I've configured with "./configure --with-kbuild=<my_kernel's source>

After issuing "make", it reports:

In file included
from /usr/local/src/xtables-addons/extensions/xt_LOGMARK.c:18:
/usr/local/src/xtables-addons/extensions/compat_xtables.h:17:4: warning:
#warning You have CONFIG_NF_CONNTRACK enabled, but CONFIG_NF_CONNTRACK_MARK is not (please enable).

Quoted 10 lines

but i've enabled CONFIG_NF_CONNTRACK_MARK :

[root@s1 linux]# grep 'NF_CONNTRACK_MARK' .config
CONFIG_NF_CONNTRACK_MARK=y

What's it i'm missing?

Sorry for bothering guyz :). I forgot to build the kernel after reconfiguration , before building xtables_addons.

#2 lore raw
In reply to Arif Hossain
Quoted 9 lines · Arif Hossain

I've configured with "./configure --with-kbuild=<my_kernel's source> In file included
from /usr/local/src/xtables-addons/extensions/xt_LOGMARK.c:18:
/usr/local/src/xtables-addons/extensions/compat_xtables.h:17:4: warning:
#warning You have CONFIG_NF_CONNTRACK enabled, but CONFIG_NF_CONNTRACK_MARK is not (please enable).

[root@s1 linux]# grep 'NF_CONNTRACK_MARK' .config
CONFIG_NF_CONNTRACK_MARK=y

Only thing I can think of is that you are looking at the wrong .config and/or that you changed your .config without building a kernel with it.