[Bug 569] New: in6addr_any undeclared

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Tue Jan 13 13:34:28 CET 2009


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.



More information about the netfilter-buglog mailing list