First Last Prev Next    No search results available
Details
: in6addr_any undeclared
Bug#: 569
: iptables
: unknown
Status: RESOLVED
Resolution: FIXED
: All
: All
: CVS (please indicate timestamp)
: P1
: blocker

:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Assigned To: Jan Engelhardt <jengelh@medozas.de>

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2009-01-13 13:34
Both iptables-20090111 as well as 1.4.1, 1.4.2 (i.e. since the buildsystem
overhaul) fail to build if one turns off IPv6 support.

Previously there was a DO_IPV6 knob in the Makefiles that could be used to
build a purely IPv4-enabled iptables but this was removed.

Other packages do provide an --enable-ipv6 resp. --disable-ipv6 configure
option to allow for toggling IPv6 support.

Would (re-)adding a configure knob to turn off IPv6 support be accepted?
If not, how do you suggest can we turn off IPv6 support for (embedded) setups
that deliberately omit IPv6 or, in the future, IPv4 support from their libc's?

Thanks alot in advance for your comments.


Excerpt from the logs:
$ nm -D lib/libuClibc-0.9.30.so | grep _addr
0000000000043f33 T arc4random_addrandom
000000000003de34 T inet_addr
$ tail -n 4 nohup.out
/bin/sh ./libtool --tag=CC   --mode=link
/there/src/buildroot.git.x86_64/x86_64_build/staging/usr/bin/x86_64-linux-uclibc-gcc
 --sysroot=/there/src/buildroot.git.x86_64/x86_64_build/staging/ -isysroot
/there/src/buildroot.git.x86_64/x86_64_build/staging -I=/usr/include
-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64       -D_REENTRANT
-Wall -Waggregate-return -Wmissing-declarations    -Wmissing-prototypes
-Wredundant-decls -Wshadow -Wstrict-prototypes     -Winline -pipe 
-DXTABLES_LIBDIR=\"/usr/lib/xtables\" -DXTABLES_INTERNAL -I./include
-I./include  -Os -pipe -fno-tree-dominator-opts -fno-tree-loop-optimize
-fgcse-sm -fgcse-las -fgcse-after-reload  -fPIC -DPIC -rdynamic  -o iptables
iptables-standalone.o iptables.o -ldl -lm libiptc/libiptc.a
extensions/libext4.a libxtables.la 
/there/src/buildroot.git.x86_64/x86_64_build/staging/usr/bin/x86_64-linux-uclibc-gcc
--sysroot=/there/src/buildroot.git.x86_64/x86_64_build/staging/ -isysroot
/there/src/buildroot.git.x86_64/x86_64_build/staging -I=/usr/include
-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall
-Waggregate-return -Wmissing-declarations -Wmissing-prototypes
-Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe
-DXTABLES_LIBDIR=\"/usr/lib/xtables\" -DXTABLES_INTERNAL -I./include
-I./include -Os -pipe -fno-tree-dominator-opts -fno-tree-loop-optimize
-fgcse-sm -fgcse-las -fgcse-after-reload -fPIC -DPIC -rdynamic -o iptables
iptables-standalone.o iptables.o  -ldl -lm libiptc/libiptc.a
extensions/libext4.a ./.libs/libxtables.so -Wl,--rpath
-Wl,/there/src/buildroot.git.x86_64/x86_64_build/iptables-20090111/.libs
./.libs/libxtables.so: undefined reference to `in6addr_any'
collect2: ld returned 1 exit status
make[3]: *** [iptables] Error 1
------- Comment #1 From Jan Engelhardt 2009-04-03 22:42:25 -------
note to self: queued as 9c0fa7d8c84dc2478bd36d31b328b697fbe4d0af.
------- Comment #2 From Jan Engelhardt 2009-04-05 13:44:05 -------
Committed.

First Last Prev Next    No search results available