All of lore.kernel.org
 help / color / mirror / Atom feed
* problem with xtables-addons and CentOS 5.3
@ 2009-04-26 17:26 Leonardo Rodrigues
  2009-04-27  9:11 ` Jan Engelhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Leonardo Rodrigues @ 2009-04-26 17:26 UTC (permalink / raw)
  To: ML netfilter-devel


    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.

-- 


	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br

	Minha armadilha de SPAM, NÃO mandem email
	gertrudes@solutti.com.br
	My SPAMTRAP, do not email it




--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with xtables-addons and CentOS 5.3
  2009-04-26 17:26 problem with xtables-addons and CentOS 5.3 Leonardo Rodrigues
@ 2009-04-27  9:11 ` Jan Engelhardt
  2009-04-27 10:03   ` Leonardo Rodrigues
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Engelhardt @ 2009-04-27  9:11 UTC (permalink / raw)
  To: Leonardo Rodrigues; +Cc: ML netfilter-devel

On Sunday 2009-04-26 19:26, Leonardo Rodrigues wrote:

>
>   Hi,
>
>   i'm having a hard time trying to compile xtables-addons 1.14 on a CentOS 5.3
> x86_64 box

I added appropriate warning mechanisms to configure.ac for the next
release that this distro is unsupported.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with xtables-addons and CentOS 5.3
  2009-04-27  9:11 ` Jan Engelhardt
@ 2009-04-27 10:03   ` Leonardo Rodrigues
  2009-04-27 10:25     ` Jan Engelhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Leonardo Rodrigues @ 2009-04-27 10:03 UTC (permalink / raw)
  To: ML netfilter-devel

Jan Engelhardt escreveu:
> On Sunday 2009-04-26 19:26, Leonardo Rodrigues wrote:
>
>   
>>   i'm having a hard time trying to compile xtables-addons 1.14 on a CentOS 5.3
>> x86_64 box
>>     
>
> 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 ?

-- 


	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br

	Minha armadilha de SPAM, NÃO mandem email
	gertrudes@solutti.com.br
	My SPAMTRAP, do not email it




--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with xtables-addons and CentOS 5.3
  2009-04-27 10:03   ` Leonardo Rodrigues
@ 2009-04-27 10:25     ` Jan Engelhardt
  2009-04-27 10:38       ` Leonardo Rodrigues
                         ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jan Engelhardt @ 2009-04-27 10:25 UTC (permalink / raw)
  To: Leonardo Rodrigues; +Cc: ML netfilter-devel


On Monday 2009-04-27 12:03, Leonardo Rodrigues wrote:
> Jan Engelhardt escreveu:
>> On Sunday 2009-04-26 19:26, Leonardo Rodrigues wrote:
>>
>>>  i'm having a hard time trying to compile xtables-addons 1.14 on a CentOS
>>> 5.3
>>> x86_64 box
>>
>> 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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with xtables-addons and CentOS 5.3
  2009-04-27 10:25     ` Jan Engelhardt
@ 2009-04-27 10:38       ` Leonardo Rodrigues
  2009-04-27 21:16       ` Leonardo Rodrigues
       [not found]       ` <49F61DF9.4060508@solutti.com.br>
  2 siblings, 0 replies; 7+ messages in thread
From: Leonardo Rodrigues @ 2009-04-27 10:38 UTC (permalink / raw)
  To: ML netfilter-devel

Jan Engelhardt escreveu:
>
>>   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.

-- 


	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br

	Minha armadilha de SPAM, NÃO mandem email
	gertrudes@solutti.com.br
	My SPAMTRAP, do not email it




--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with xtables-addons and CentOS 5.3
  2009-04-27 10:25     ` Jan Engelhardt
  2009-04-27 10:38       ` Leonardo Rodrigues
@ 2009-04-27 21:16       ` Leonardo Rodrigues
       [not found]       ` <49F61DF9.4060508@solutti.com.br>
  2 siblings, 0 replies; 7+ messages in thread
From: Leonardo Rodrigues @ 2009-04-27 21:16 UTC (permalink / raw)
  To: ML netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 1438 bytes --]

Jan Engelhardt escreveu:
>
> 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



-- 


	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br

	Minha armadilha de SPAM, NÃO mandem email
	gertrudes@solutti.com.br
	My SPAMTRAP, do not email it





[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 5584 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem with xtables-addons and CentOS 5.3
       [not found]       ` <49F61DF9.4060508@solutti.com.br>
@ 2009-04-27 23:43         ` Jan Engelhardt
  0 siblings, 0 replies; 7+ messages in thread
From: Jan Engelhardt @ 2009-04-27 23:43 UTC (permalink / raw)
  To: Leonardo Rodrigues; +Cc: ML netfilter-devel


On Monday 2009-04-27 23:04, Leonardo Rodrigues wrote:
>
>    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."


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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-04-27 23:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-26 17:26 problem with xtables-addons and CentOS 5.3 Leonardo Rodrigues
2009-04-27  9:11 ` Jan Engelhardt
2009-04-27 10:03   ` Leonardo Rodrigues
2009-04-27 10:25     ` Jan Engelhardt
2009-04-27 10:38       ` Leonardo Rodrigues
2009-04-27 21:16       ` Leonardo Rodrigues
     [not found]       ` <49F61DF9.4060508@solutti.com.br>
2009-04-27 23:43         ` Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.