Andrew Benton wrote:
> I'm fairly sure my ISP doesn't support ipv6

You can still have IPv6 connectivity nonetheless using 6to4 routing:

http://en.wikipedia.org/wiki/6to4
http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html

> so I decided to compile Gtk-Gnutella (cvs pulled about 12 hours ago)
> without support for ipv6.

This option is rather meant for people that really require it due to
using a really really low-end system, a broken IPv6 stack or no
IPv6 support at all.

> -DCURDIR=src/lib -O -W -Wall -Wformat=2 -D_LARGEFILE_SOURCE 
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  host_addr.c
> host_addr.c: In function 'is_private_addr':
> host_addr.c:79: error: 'ipv6_loopback' undeclared (first use in this 
> function)

Thanks, it's fixed again in CVS.

> It compiles and runs fine if I select to compile it with ipv6 support. 
> Perhaps the choice should be removed?

Some code should probably be re-arranged to be available in IPv4-only
mode as well. I think the way host addresses are passed will be unified
in the future. The current way allowed easy conversion of the code
and saves some memory as well as performance but in the long run, it's
too much hassle and you have some unnecessary lossage in IPv4-only
compile mode.

-- 
Christian

Attachment: pgpRKA5qKdcO3.pgp
Description: PGP signature

Reply via email to