[uClibc]Building iptables vs. uClibc...

David McCullough davidm at lineo.com
Tue Aug 28 06:56:49 UTC 2001


Jivin Tom Cameron lays it down ...
> Hello all,
> 	I would like to know if anyone on the list has had success with
> building iptables against the uClibc libraries.  When I tried, I got an
> error:
> ---- SNIP BUILD GARBAGE ----
> "ip6tables.o: In function `parse_hostnetworkmask':
> ip6tables.o(.text+0x6d4): undefined reference to `in6addr_any'
> ip6tables.o: In function `print_firewall':
> iptables.o(.text+0x185b): undefined reference to `in6addr_any'
> iptables.o(.text+0x192f): undefined reference to `in6addr_any'
> collect2: ld returned 1 exit status
> make: *** [ip6tables] Error 1
> rm libiptc/libip6tc.o libiptc/libip4tc.o
> [root at tommyboy iptables-1.2.2]#
> 
> 	Now, I've turned on ipv6 support in uClibc, and that didn't seem to
> help (I tried it with ipv6 off, too).  Are these just parts of uClibc's
> ipv6 support that are broken or not what GlibC is using?  If there is an
> alternative to `in6addr_any' in uClibc, I'd be happy to tear through the
> iptables files, and replace all instances.  Anyway, I was just
> wondering.  Thanks in advance!

Do it every day :-)

You may need to turn off ipv6 support in iptables though, in the Makefile
find the section that checks for kernel headers and sets DO_IPV6, comment
it out and you should be fine,

Cheers,
Davidm

-- 
David McCullough:  Ph: +61 7 3435 2815  Lineo (Where Open Meets Smart)
davidm at lineo.com   Fx: +61 7 3891 3630  825 Stanley St., W'gabba QLD 4102, Oz





More information about the uClibc mailing list