head broken if no refclocks

Hal Murray hmurray at megapathdsl.net
Mon Jun 27 05:44:50 UTC 2016


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'


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list