Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NTPd fails to build with MKINET6=no

Hi Scott !

WANT_IPV6 should be the right one - the other option trips over redefinitions against system header files (netdb.h) when the ntp local ISC library tries to simulate an IPV6 environment (ipv6.h).

Could you cvs update src/external/bsd/ntp and see whether I got it right (I currently have no completely clean non-ipv6 environment to test).


Scott Ellis wrote:
The build fails with:

--- dependall-ntp ---
ntp_intres.o: In function `ntp_intres':
ntp_intres.c:(.text+0x10fc): undefined reference to `in6addr_any'
ntp_intres.c:(.text+0x110a): undefined reference to `in6addr_any'
ntp_io.o: In function `is_wildcard_addr':
ntp_io.c:(.text+0x458): undefined reference to `in6addr_any'
ntp_io.o: In function `io_open_sockets':
ntp_io.c:(.text+0x3ae7): undefined reference to `in6addr_any'
ntp_io.c:(.text+0x3af3): undefined reference to `in6addr_any'
/nbu/source/netbsd/src/obj.amd64/nbu/source/netbsd/src/external/bsd/ntp/lib/libi scntp/libiscntp.a(netaddr.o):netaddr.c:(.text+0x6bf): more undefined references
to `in6addr_any' follow
collect2: ld returned 1 exit status
*** [ntpd] Error code 1

nbmake: stopped in /nbu/source/netbsd/src/external/bsd/ntp/bin/ntpd

Not sure where PLATFORM_HAVEIPV6 is getting defined, but that looks like the culprit.


Home | Main Index | Thread Index | Old Index