problem with xtables-addons and CentOS 5.3
Hi,
i'm having a hard time trying to compile xtables-addons 1.14 on a
CentOS 5.3 x86_64 box
i'm using:
./configure --prefix=/usr --with-xtables=/usr
and make
and the failure is:
make[2]: Entering directory `/tmp/xtables-addons-1.14/extensions'
GEN modules
make[3]: Entering directory `/usr/src/kernels/2.6.18-128.1.6.el5.centos.plus-x86_64'
CC [M] /tmp/xtables-addons-1.14/extensions/compat_xtables.o
In file included from /tmp/xtables-addons-1.14/extensions/compat_xtables.c:20:/tmp/xtables-addons-1.14/extensions/compat_skbuff.h:29: error: redefinition of 'skb_reset_network_header' include/linux/skbuff.h:1016: error: previous definition of 'skb_reset_network_header' was here /tmp/xtables-addons-1.14/extensions/compat_skbuff.h:33: error: redefinition of 'tcp_hdr' include/linux/tcp.h:169: error: previous definition of 'tcp_hdr' was here /tmp/xtables-addons-1.14/extensions/compat_skbuff.h:37: error: redefinition of 'udp_hdr' include/linux/udp.h:33: error: previous definition of 'udp_hdr' was here
In file included from /tmp/xtables-addons-1.14/extensions/compat_xtables.c:21:/tmp/xtables-addons-1.14/extensions/compat_xtnu.h:9: error: redefinition of typedef 'bool' include/linux/types.h:36: error: previous declaration of 'bool' was here /tmp/xtables-addons-1.14/extensions/compat_xtnu.h:10: error: redeclaration of enumerator 'false' include/linux/stddef.h:16: error: previous definition of 'false' was here /tmp/xtables-addons-1.14/extensions/compat_xtnu.h:10: error: redeclaration of enumerator 'true' include/linux/stddef.h:18: error: previous definition of 'true' was here /tmp/xtables-addons-1.14/extensions/compat_xtables.c: In function 'xtnu_ip_route_me_harder':/tmp/xtables-addons-1.14/extensions/compat_xtables.c:381: error: too many arguments to function 'ip_route_me_harder' make[4]: *** [/tmp/xtables-addons-1.14/extensions/compat_xtables.o] Error 1
make[3]: *** [_module_/tmp/xtables-addons-1.14/extensions] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.18-128.1.6.el5.centos.plus-x86_64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/tmp/xtables-addons-1.14/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xtables-addons-1.14'
make: *** [all] Error 2
[root@centos53 xtables-addons-1.14]#
any hint on compiling xtables-addons on CentOS 5.3 ???
Thanks.
Signature · 16 lines
Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, NÃO mandem email [email protected] My SPAMTRAP, do not email it -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Leonardo Rodrigues
Hi,
i'm having a hard time trying to compile xtables-addons 1.14 on a CentOS 5.3
x86_64box
I added appropriate warning mechanisms to configure.ac for the next release that this distro is unsupported.
Jan Engelhardt escreveu:
Quoted 10 lines · Leonardo Rodrigues
Quoted 5 lines
i'm having a hard time trying to compile xtables-addons 1.14 on a CentOS 5.3
x86_64boxI added appropriate warning mechanisms to configure.ac for the next release that this distro is unsupported.
hmmmm that's bad ..... is there any workaround, or it's simply
unsupported ?
is it the shipped iptables that has problem ? is it some shipped lib
that has problems ?
Signature · 16 lines
Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, NÃO mandem email [email protected] My SPAMTRAP, do not email it -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Leonardo Rodrigues
Jan Engelhardt escreveu:
Quoted 6 lines · Leonardo Rodrigues
Quoted 4 lines
i'm having a hard time trying to compile xtables-addons 1.14 on a CentOS
5.3x86_64box
Quoted 6 lines
Quoted 2 lines
I added appropriate warning mechanisms to configure.ac for the next release that this distro is unsupported.
hmmmm that's bad ..... is there any workaround, or it's simply unsupported ? is it the shipped iptables that has problem ? is it some shipped lib that
has problems ?
It is the RHEL/Centos kernel that's riddled with problematic backports as usual.
Jan Engelhardt escreveu:
Quoted 8 lines
Quoted 5 lines
hmmmm that's bad ..... is there any workaround, or it's simply unsupported ? is it the shipped iptables that has problem ? is it some shipped lib that
has problems ?It is the RHEL/Centos kernel that's riddled with problematic backports as usual.
so getting a fresh kernel source (from www.kernel.org) and get it
running should workaround the problem ?
i'll just try that ..... thanks for the hint.
Signature · 16 lines
Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, NÃO mandem email [email protected] My SPAMTRAP, do not email it -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Jan Engelhardt escreveu:
Quoted 3 lines
It is the RHEL/Centos kernel that's riddled with problematic backports as usual.
after compiling a vanilla kernel, i could successfully compile
xtables-addons 1.14 on CentOS 5.3 x86_64 box.
Jan .... what do you thinkg about changing the warning
echo "WARNING: This distribution is not officially supported.";
to something like:
echo "WARNING: This distribution is not officially supported when using CentOS/RHEL supplied kernel."; echo "When using a kernel compiled from scratch, from official kernel sources (not CentOS/RHEL ones)," echo "xtables-addons can be compiled and works fine."
it would be more useful than simply 'not supported' ......
i dont know if that would be necessary, but i uninstalled supplied
iptables as well and installed from sources. So i have successfully:
[root@centos53 ~]# cat /etc/redhat-release
CentOS release 5.3 (Final)
[root@centos53 ~]# iptables --version iptables v1.4.3.2
[root@centos53 ~]# uname -a
Linux centos53 2.6.29.1-grsec #1 SMP Mon Apr 27 16:30:29 BRT 2009 x86_64 x86_64 x86_64 GNU/Linux [root@centos53 ~]#
and xtables-addons 1.14
Signature · 8 lines
Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, NÃO mandem email [email protected] My SPAMTRAP, do not email it
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Leonardo Rodrigues
after compiling a vanilla kernel, i could successfully compile xtables-addons 1.14 on CentOS 5.3
x86_64box.Jan .... what do you thinkg about changing the warning
echo "WARNING: This distribution is not officially supported.";
Quoted 7 lines
to something like:
echo "WARNING: This distribution is not officially supported when using CentOS/RHEL supplied kernel.";
echo "When using a kernel compiled from scratch, from official kernel sources (not CentOS/RHEL ones),"
echo "xtables-addons can be compiled and works fine."
Ok so I changed it, because accuracy is in my interest.
-echo "WARNING: This distribution is not officially supported."; +echo "WARNING: This distribution's shipped kernel is not supported."; --
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html