bugzilla-daemon at bugzilla.netfilter.org
2009-Jan-13 12:34 UTC
[Bug 569] New: in6addr_any undeclared
http://bugzilla.netfilter.org/show_bug.cgi?id=569
Summary: in6addr_any undeclared
Product: iptables
Version: CVS (please indicate timestamp)
Platform: All
OS/Version: All
Status: NEW
Severity: blocker
Priority: P1
Component: unknown
AssignedTo: laforge at netfilter.org
ReportedBy: rep.dot.nop at gmail.com
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
--
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at bugzilla.netfilter.org
2009-Feb-11 10:35 UTC
[Bug 569] in6addr_any undeclared
http://bugzilla.netfilter.org/show_bug.cgi?id=569
laforge at netfilter.org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|laforge at netfilter.org |kaber at trash.net
--
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.
Apparently Analagous Threads
- [Bug 1333] New: 1.8.2: build fails with gcc 9
- [Bug 626] New: Execution and compilation problems
- [Bug 1291] New: iptables 1.8.0+ no longer builds against kernel 3.10.108
- [Bug 1231] New: libxt_bpf.c:69:6: error: 'union bpf_attr' has no member named 'pathname'
- [Bug 1104] New: Use close on exec flags instead of fcntl