[ntp:questions] Can't seem to compile ntp 4.2.0 on RedHat 6.1

Clint Byrum clint at anonymizer.com
Mon Nov 3 21:37:30 UTC 2003

First, I'll say that no, I can't move off RedHat 6.1 just yet. That 
migration is planned for the next few months.

Until then, I'm stuck with it. I'd rather not deal with something like 
rdate, but it is imperative that I sync the time on these machines.

When I try to compile 4.2.0, I get this:

ntp_io.c: In function `io_multicast_add':
ntp_io.c:814: `IPV6_JOIN_GROUP' undeclared (first use in this function)
ntp_io.c:814: (Each undeclared identifier is reported only once
ntp_io.c:814: for each function it appears in.)
ntp_io.c: In function `io_multicast_del':
ntp_io.c:967: `IPV6_LEAVE_GROUP' undeclared (first use in this function)
make[2]: *** [ntp_io.o] Error 1
make[2]: Leaving directory `/usr/local/src/ntp-4.2.0/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ntp-4.2.0'
make: *** [all] Error 2

Some relevant versions:

glibc:    2.1.2
openssl:  0.9.7c
gcc:      egcs-2.91.66 (egcs-1.1.2)
kernel:   2.2.12-20

Any help is greatly appreciated. I do not need IPV6, as these boxes will 
be out of commission within 6 months. If I can turn off IPV6, that would 
solve this problem, would it not?


More information about the questions mailing list