On 20 Dec 2014, at 17:13, Jim Reid <[email protected]> wrote:

> Hi. I get the following compilation error on MacOSX 10.9.5 and FreeBSD9.0:
> 
> ./configure --with-crypto --with-openssl-libdir=/usr/local/lib 
> --with-openssl-incdir=/usr/local/ssl/include
> ...
> 
> ntp_io.c:3457:4: error: no member named '__u6_addr' in 'sockaddr_u'
> ntp_io.c:3457:4: error: no member named '__u6_addr' in 'sockaddr_u'
> ntp_io.c:3457:4: error: no member named '__u6_addr' in 'sockaddr_u'
> ntp_io.c:3457:4: error: no member named '__u6_addr' in 'sockaddr_u'
> ntp_io.c:3464:9: error: no member named '__u6_addr' in 'sockaddr_u'
> ntp_io.c:3464:9: error: no member named '__u6_addr' in 'sockaddr_u'
> ntp_io.c:3464:9: error: no member named '__u6_addr' in 'sockaddr_u'
> ntp_io.c:3464:9: error: no member named '__u6_addr' in 'sockaddr_u'
> ntp_io.c:3465:10: error: no member named '__u6_addr' in 'sockaddr_u'
> ntp_io.c:3465:10: error: no member named '__u6_addr' in 'sockaddr_u'
> ntp_io.c:3465:10: error: no member named '__u6_addr' in 'sockaddr_u'
> ntp_io.c:3465:10: error: no member named '__u6_addr' in 'sockaddr_un'

Replying to myself, eh?

This can be worked around by removing the bad (Solaris-specific?) code in the 
#ifdef at line 3453. That should be harmless as it just appears to print some 
debug info about packets arriving via ::1. The deleted code wasn't in 
ntp-dev-4.2.7p408.

_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool

Reply via email to