[ntp:hackers] ntp 4.2.8 won't build on FreeBSD (fails in ntp_io.c)

John Marshall john.marshall at riverwillow.com.au
Mon Dec 22 04:19:59 UTC 2014


ntp 4.2.8 won't build on FreeBSD 10.1 or FreeBSD 8.4.  The build falls
over in ntp_io.c with...

    CC     ntp_io.o
  ntp_io.c: In function 'read_network_packet':
  ntp_io.c:3464: error: 'sockaddr_u' has no member named '__u6_addr'
  ntp_io.c:3464: error: 'sockaddr_u' has no member named '__u6_addr'
  ntp_io.c:3464: error: 'sockaddr_u' has no member named '__u6_addr'
  ntp_io.c:3464: error: 'sockaddr_u' has no member named '__u6_addr'
  ntp_io.c:3465: error: 'sockaddr_u' has no member named '__u6_addr'
  ntp_io.c:3465: error: 'sockaddr_u' has no member named '__u6_addr'
  ntp_io.c:3465: error: 'sockaddr_u' has no member named '__u6_addr'
  ntp_io.c:3465: error: 'sockaddr_u' has no member named '__u6_addr'
  *** Error code 1

  Stop in /build/ntp/ntp-4.2.8/ntpd.

I saw a report of the same problem in bugzilla for Mac OS X [bug 2697];
so I followed up on that report confirming the same for FreeBSD.

I noted substantial differences between the latest RC and 4.2.8.  It's a
shame this happened after such rock-solid RC's :-(

-- 
John Marshall


More information about the hackers mailing list