head broken if no refclocks
Eric S. Raymond
esr at thyrsus.com
Mon Jun 27 06:20:36 UTC 2016
Hal Murray <hmurray at megapathdsl.net>:
> after a simple ./waf configure
>
> [murray at fed raw]$ ./waf build
> --- building host ---
> Waf: Entering directory `/home/murray/ntpsec/raw/build/host'
> [1/5] Processing ntpd/ntp_parser.y
> [2/5] Compiling build/host/ntpd/ntp_parser.tab.c
> /home/murray/ntpsec/raw/ntpd/ntp_parser.y: In function âyyparseâ:
> /home/murray/ntpsec/raw/ntpd/ntp_parser.y:996:33: error:
> ânum_refclock_confâ undeclared (first use in this function)
> for (dtype = 1; dtype < (int)num_refclock_conf; dtype++)
> ^
> /home/murray/ntpsec/raw/ntpd/ntp_parser.y:996:33: note: each undeclared
> identifier is reported only once for each function it appears in
> /home/murray/ntpsec/raw/ntpd/ntp_parser.y:997:12: error: ârefclock_confâ
> undeclared (first use in this function)
> if (refclock_conf[dtype]->basename != NULL &&
> !strcasecmp(refclock_conf[dtype]->basename, $2) == 0)
> ^
>
> Waf: Leaving directory `/home/murray/ntpsec/raw/build/host'
Right you are. This one really is my fault - I should have tested the
no-clocks case. Fix pushed.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
More information about the devel
mailing list