All of lore.kernel.org
 help / color / mirror / Atom feed
* xtables-addons compile error
@ 2012-04-04  2:34 Mr Dash Four
  2012-04-05  5:24 ` Jan Engelhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Mr Dash Four @ 2012-04-04  2:34 UTC (permalink / raw)
  To: netfilter-devel

gcc -Wp,-MMD,./.libxt_DNETMAP.oo.d,-MT,libxt_DNETMAP.oo -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 	-D_REENTRANT -I../include -I/builddir/build/BUILD/xtables-addons-1.41/extensions -Wall -Waggregate-return -Wmissing-declarations 	-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 	-Winline -pipe  -DPIC -fPIC  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=pentium2 -fasynchronous-unwind-tables -o libxt_DNETMAP.oo -c libxt_DNETMAP.c;
In file included from ../include/net/netfilter/nf_nat.h:5,
                 from libxt_DNETMAP.c:15:
../include/net/netfilter/nf_conntrack_tuple.h:29: error: redefinition of 'union nf_conntrack_man_proto'
make[3]: *** [libxt_DNETMAP.oo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/builddir/build/BUILD/xtables-addons-1.41/extensions'
make[2]: *** [user-all-local] Error 2
make[2]: Leaving directory `/builddir/build/BUILD/xtables-addons-1.41/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/xtables-addons-1.41'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.FNo2bg (%build)

I am using/compiling against kernel version 3.3. With v3.2 that doesn't happen. Am I missing something?

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

* Re: xtables-addons compile error
  2012-04-04  2:34 xtables-addons compile error Mr Dash Four
@ 2012-04-05  5:24 ` Jan Engelhardt
  2012-04-05 11:01   ` Mr Dash Four
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Engelhardt @ 2012-04-05  5:24 UTC (permalink / raw)
  To: Mr Dash Four; +Cc: netfilter-devel

On Wednesday 2012-04-04 04:34, Mr Dash Four wrote:

>gcc -Wp,-MMD,./.libxt_DNETMAP.oo.d,-MT,libxt_DNETMAP.oo -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 	-D_REENTRANT -I../include -I/builddir/build/BUILD/xtables-addons-1.41/extensions -Wall -Waggregate-return -Wmissing-declarations 	-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 	-Winline -pipe  -DPIC -fPIC  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=pentium2 -fasynchronous-unwind-tables -o libxt_DNETMAP.oo -c libxt_DNETMAP.c;
>In file included from ../include/net/netfilter/nf_nat.h:5,
>                 from libxt_DNETMAP.c:15:
>../include/net/netfilter/nf_conntrack_tuple.h:29: error: redefinition of 'union nf_conntrack_man_proto'
>I am using/compiling against kernel version 3.3. With v3.2 that doesn't happen. Am I missing something?

This is resolved in the now-new xtables-addons 1.42.

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

* Re: xtables-addons compile error
  2012-04-05  5:24 ` Jan Engelhardt
@ 2012-04-05 11:01   ` Mr Dash Four
  2012-04-14  2:58     ` xtables-addons link error Mr Dash Four
  0 siblings, 1 reply; 7+ messages in thread
From: Mr Dash Four @ 2012-04-05 11:01 UTC (permalink / raw)
  To: netfilter-devel


> This is resolved in the now-new xtables-addons 1.42.
>   
Thanks, I'll deploy it later on today.

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

* Re: xtables-addons link error
  2012-04-05 11:01   ` Mr Dash Four
@ 2012-04-14  2:58     ` Mr Dash Four
  2012-04-14  8:28       ` Jan Engelhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Mr Dash Four @ 2012-04-14  2:58 UTC (permalink / raw)
  To: netfilter-devel

> Thanks, I'll deploy it later on today.
When I try to link/build xtables-addons 1.42 against kernel 3.3.1 I get this:

WARNING: /lib/modules/3.3.1-3.fc13.i686/extra/xtables-addons/xt_ECHO.ko needs unknown symbol ip6_dst_hoplimit
WARNING: /lib/modules/3.3.1-3.fc13.i686/extra/xtables-addons/xt_ECHO.ko needs unknown symbol ip6_local_out
WARNING: /lib/modules/3.3.1-3.fc13.i686/extra/xtables-addons/xt_ECHO.ko needs unknown symbol ip6_route_output

I do not have ipv6 enabled at all, maybe that's why this is happening, though I did not have this problem with earlier versions.

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

* Re: xtables-addons link error
  2012-04-14  2:58     ` xtables-addons link error Mr Dash Four
@ 2012-04-14  8:28       ` Jan Engelhardt
  2012-04-14 14:42         ` Mr Dash Four
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Engelhardt @ 2012-04-14  8:28 UTC (permalink / raw)
  To: Mr Dash Four; +Cc: netfilter-devel

On Saturday 2012-04-14 04:58, Mr Dash Four wrote:

>> Thanks, I'll deploy it later on today.
>When I try to link/build xtables-addons 1.42 against kernel 3.3.1 I get this:
>
>WARNING: /lib/modules/3.3.1-3.fc13.i686/extra/xtables-addons/xt_ECHO.ko needs unknown symbol ip6_dst_hoplimit
>WARNING: /lib/modules/3.3.1-3.fc13.i686/extra/xtables-addons/xt_ECHO.ko needs unknown symbol ip6_local_out
>WARNING: /lib/modules/3.3.1-3.fc13.i686/extra/xtables-addons/xt_ECHO.ko needs unknown symbol ip6_route_output
>
>I do not have ipv6 enabled at all, maybe that's why this is happening, though I did not have this problem with earlier versions.

As a temporary mitigation, please set build_ECHO=n in the mconfig file.

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

* Re: xtables-addons link error
  2012-04-14  8:28       ` Jan Engelhardt
@ 2012-04-14 14:42         ` Mr Dash Four
  2012-04-14 14:59           ` Mr Dash Four
  0 siblings, 1 reply; 7+ messages in thread
From: Mr Dash Four @ 2012-04-14 14:42 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: netfilter-devel


> As a temporary mitigation, please set build_ECHO=n in the mconfig file.
>   
Will do, thanks. That will exclude the ECHO module from the final build 
I take it, right?

On a side note - since I am building/testing kernels for various 
purposes more often than compiling/building xta kernel modules (I am 
also pretty fed up with having to build/reinstall my buildsys packages 
every time I move to another kernel!), I decided to incorporate the xta 
kernel modules as a kernel patch instead of building them separately 
each time I build a kernel for testing.

I remember getting the above errors, but since it was the first time I 
have attempted to include the xta modules as a patch, I thought that I 
must be doing something wrong. In addition to the above errors I also 
got a separate error, which stemmed from one of the xta kernel modules 
(I think it was DNETMAP) using/depending on a separate .o/.so kernel 
file being built prior to it, hence a few other unresolved symbols 
during linking. It was the reason I abandoned this effort pretty quickly.

Has this been attempted before - to include the xta modules as part of 
the kernel? If there is an interest, I could dig in again to see what 
other linking errors was I getting - just let me know.

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

* Re: xtables-addons link error
  2012-04-14 14:42         ` Mr Dash Four
@ 2012-04-14 14:59           ` Mr Dash Four
  0 siblings, 0 replies; 7+ messages in thread
From: Mr Dash Four @ 2012-04-14 14:59 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: netfilter-devel


> Has this been attempted before - to include the xta modules as part of 
> the kernel? If there is an interest, I could dig in again to see what 
> other linking errors was I getting - just let me know.
Forgot to add - for two of the xta modules (don't remember which ones 
though) there were errors that these are already in the kernel, so 
perhaps a logic in their code/Makefile could be added to exclude 
themselves from building if a decent/recent version of the kernel exists.

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

end of thread, other threads:[~2012-04-14 14:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-04  2:34 xtables-addons compile error Mr Dash Four
2012-04-05  5:24 ` Jan Engelhardt
2012-04-05 11:01   ` Mr Dash Four
2012-04-14  2:58     ` xtables-addons link error Mr Dash Four
2012-04-14  8:28       ` Jan Engelhardt
2012-04-14 14:42         ` Mr Dash Four
2012-04-14 14:59           ` Mr Dash Four

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.