[uClibc]Compiling Iptables1.2.7a on X86

Fredrik Johnsson fredrikj at orestad-linux.se
Tue Oct 1 08:48:28 UTC 2002


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/ 
-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

I works flawlessly with glibc.

Any pointers or pathces?

Mvh Fredrik Johnsson
Örestad Linux & Network Consulting
Email: fredrikj at orestad-linux.se
Url: http://www.orestad-linux.net

More information about the uClibc mailing list