Yo Hal! On Mon, 04 Dec 2017 19:38:00 -0800 Hal Murray <hmur...@megapathdsl.net> wrote:
> > I can confirm that debug is being set. > > This is pretty weird. I wonder where it is being set, and why it > isn't also set in the other modules. > > > I don not see anything in there to turn on DEBUG. > > Is there a verbose option for waf to show the gcc commands it is > > running? > > waf -v is verbose mode. You can either hack the script or run the > equivalent by hand. I'd probably do it by hand: > > ./waf configure --out=foo > grep DEBUG foo/config.h > ./waf build -v | tee foo.log > > My config.h has: > /* #undef ENABLE_DEBUG_TIMING */ I get exactly the same results. ??? Then my build fails: [93/93] Linking foo/main/ntptime/ntptime 19:47:23 runner ['/usr/x86_64-pc-linux-gnu/gcc-bin/6.3.0/gcc', 'ntptime/ntptime.c.1.o', '-o/u1/src/NTP/ntpsec/foo/main/ntptime/ntptime', '-Wl,-Bstatic', '-Llibntp', '-lntp', '-Wl,-Bdynamic', '-lm', '-lrt', '-lbsd', '-Wl,-z,now', '-Wl,--strip-all', '-Wl,-z,relro'] ntpd/ntp_config.c.3.o: In function `destroy_attr_val_fifo': ntp_config.c:(.text+0x33): undefined reference to `check_gen_fifo_consistency' ntp_config.c:(.text+0x4c): undefined reference to `check_gen_fifo_consistency' ntpd/ntp_config.c.3.o: In function `destroy_int_fifo': Maybe the smart thing is to just change DEBUG to seomthing like NTP_DEBUG? RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you can’t measure it, you can’t improve it." - Lord Kelvin
pgp_6aEer447j.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel