Skip to contentSkip to conversation

latest iptables requires IPv6

Buildroot Hamish Moffatt 2 participants 3 messages Nov 10, 2008

lore
Share & tools
lore
#0 lore raw

r23403 | correa | 2008-09-16 12:12:23 +1000 (Tue, 16 Sep 2008) | 1 line

Fix iptables compile error by updating to Makefile.autotools.in and bumping version to 1.4.1

This new version of iptables requires IPv6. The old iptables.mk patched the old version to work without it, but that appears to be a lot harder in this version.

Do the rest of you have IPV6 enabled in uClibc? I don't (unnecessary bloat). Any suggestions? Anyone got a patch?

It looks like a few functions in xtables.c could be disabled, and Makefile.am modified not to compile the ipv6-specific programs (ip6tables etc).. all this would need a runtime IPV6 detection because of external toolchains.

thanks
Hamish

Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
#1 lore raw

Le Mon, 10 Nov 2008 17:05:05 +1100,
Hamish Moffatt <[email protected]> a ?crit :

Quoted 4 lines

It looks like a few functions in xtables.c could be disabled, and Makefile.am modified not to compile the ipv6-specific programs (ip6tables etc).. all this would need a runtime IPV6 detection because of external toolchains.

Users of external toolchains are supposed to tell in the configuration system whether their external toolchain supports IPv6 or not.

See toolchain/external-toolchain/Config.in, option BR2_INET_IPV6.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
#2 lore raw
Quoted 8 lines · Thomas Petazzoni

Le Mon, 10 Nov 2008 17:05:05 +1100,
Hamish Moffatt <[email protected]> a ?crit :

Quoted 4 lines

It looks like a few functions in xtables.c could be disabled, and Makefile.am modified not to compile the ipv6-specific programs (ip6tables etc).. all this would need a runtime IPV6 detection because of external toolchains.

Quoted 4 lines

Users of external toolchains are supposed to tell in the configuration system whether their external toolchain supports IPv6 or not.

See toolchain/external-toolchain/Config.in, option BR2_INET_IPV6.

Thanks, but that doesn't solve the real issue of building without IPV6. I'll see if I can patch it.

Hamish

Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>