Actually has nothing to with ipv6 capabilities of the host. The
compile simply fails when svn rev >3620 is configured with
--disable-ipv6.
On Mon, Aug 6, 2012 at 11:52 AM, Chris Smith <fixie at chrissmith.org>
wrote:> I'm getting an error compiling nsd-3.2 with any svn rev greater than
> 3620 (3620 compiles fine) on a non-ipv6 enabled x64 host (the system
> has no ipv6 capabilities compiled in). NSD is being properly
> configured with --disable-ipv6.
> The latest rev 3624 works fine on hosts, both x86 and x64, that have
> ipv6 capabilities.
> Here's what I get:
> =======================================================>
x86_64-pc-linux-gnu-gcc -I. -I. -O2 -march=native -fomit-frame-pointer
> -pipe -floop-interchange -floop-strip-m
> ine -floop-block -c dns.c
> options.c: In function 'acl_addr_matches_ipv6host':
> options.c:310:48: error: 'union acl_addr_storage' has no member
named 'addr6'
> options.c:311:31: error: 'union acl_addr_storage' has no member
named 'addr6'
> options.c:315:49: error: 'union acl_addr_storage' has no member
named 'addr6'
> options.c:316:31: error: 'union acl_addr_storage' has no member
named 'addr6'
> options.c:321:41: error: 'union acl_addr_storage' has no member
named 'addr6'
> make: *** [options.o] Error 1
> =======================================================>
> Thank you,
>
> Chris