[uClibc]Compiling Iptables1.2.7a on X86
Jeremy Jones
jeremy at samnjack.com
Tue Oct 1 14:41:00 UTC 2002
Hello,
On Tue, 2002-10-01 at 02:48, Fredrik Johnsson wrote:
> Hi!
>
> Noted on the working apps list on the website that iptables should work but
> that there is a problem with IPv6.
>
> And it's correct , I get the following error while compiling it:
>
> cc -O2 -Wall -Wunused -I/usr/src/linux-2.4.19/include -Iinclude/
> -DIPTABLES_VERSION=\"1.2.7a\"
> -DIP6T_LIB_DIR=\"/usr/i386-linux-uclibc/lib/iptables\" -rdynamic -o ip6tables
> ip6tables-standalone.c ip6tables.o libiptc/libiptc.a -ldl
> ip6tables.o: In function `parse_hostnetworkmask':
> ip6tables.o(.text+0x78e): undefined reference to `in6addr_any'
> ip6tables.o: In function `print_firewall':
> ip6tables.o(.text+0x19eb): undefined reference to `in6addr_any'
> collect2: ld returned 1 exit status
> make: *** [ip6tables] Error 1
> rm libiptc/libip6tc.o libiptc/libip4tc.o
>
...snip...
>
> Any pointers or pathces?
>
You need to enable ipv6 when you compile uclibc. Look in Config.<arch>.
Jeremy
More information about the uClibc
mailing list