Building xt_LOGMARK from xtables-addons fails
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' .configCONFIG_NF_CONNTRACK_MARK=y
What's it i'm missing?
Signature · 4 lines
Cheers aft [email protected]
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 haveCONFIG_NF_CONNTRACKenabled, butCONFIG_NF_CONNTRACK_MARKis not (please enable).
Quoted 10 lines
but i've enabled
CONFIG_NF_CONNTRACK_MARK:[root@s1 linux]# grep '
NF_CONNTRACK_MARK' .configCONFIG_NF_CONNTRACK_MARK=yWhat's it i'm missing?
Sorry for bothering guyz :). I forgot to build the kernel after reconfiguration , before building xtables_addons.
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 haveCONFIG_NF_CONNTRACKenabled, butCONFIG_NF_CONNTRACK_MARKis not (please enable).[root@s1 linux]# grep '
NF_CONNTRACK_MARK' .configCONFIG_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.