NTS update

Gary E. Miller gem at rellim.com
Sat Mar 23 01:32:10 UTC 2019


Yo Matthew!

On Sat, 23 Mar 2019 01:08:06 +0000
Matthew Selsky <Matthew.Selsky at twosigma.com> wrote:

> This sounds like:
> https://ubuntuforums.org/archive/index.php/t-985136.html

Sure does.

> "The solution is simple, for some reason, when linking the library,
> -lssl must be in front of -lcrypto."

Fingers crossed.

> Can you run "./waf build -v" to confirm the order of the linker
> arguments?

I think this is what you want:

[115/137] Linking build/main/ntpd/ntpd
18:26:05 runner ['/usr/bin/gcc', '-pie', 'ntpd/ntp_config.c.20.o', 'ntpd/ntp_io.c
.20.o', 'ntpd/ntp_loopfilter.c.20.o', 'ntpd/ntp_packetstamp.c.20.o', 'ntpd/ntp_pe
er.c.20.o', 'ntpd/ntp_proto.c.20.o', 'ntpd/ntp_sandbox.c.20.o', 'ntpd/ntp_scanner
.c.20.o', 'ntpd/ntp_signd.c.20.o', 'ntpd/ntp_timer.c.20.o', 'ntpd/ntp_dns.c.20.o'
, 'ntpd/ntpd.c.20.o', 'build/host/ntpd/ntp_parser.tab.c.20.o', 'ntpd/ntp_control.
c.1.o', 'ntpd/ntp_filegen.c.1.o', 'ntpd/ntp_leapsec.c.1.o', 'ntpd/ntp_monitor.c.1
.o', 'ntpd/ntp_recvbuff.c.1.o', 'ntpd/ntp_restrict.c.1.o', 'ntpd/ntp_util.c.1.o',
 'ntpd/nts.c.1.o', 'ntpd/nts_server.c.1.o', 'ntpd/nts_client.c.1.o', 'ntpd/nts_co
okie.c.1.o', 'ntpd/nts_extens.c.1.o', 'ntpd/ntp_refclock.c.3.o', 'ntpd/refclock_c
onf.c.3.o', 'ntpd/refclock_oncore.c.4.o', 'ntpd/refclock_trimble.c.5.o', 'ntpd/re
fclock_truetime.c.6.o', 'ntpd/refclock_gpsd.c.7.o', 'ntpd/refclock_jjy.c.8.o', 'n
tpd/refclock_generic.c.9.o', 'ntpd/refclock_spectracom.c.10.o', 'ntpd/refclock_pp
s.c.11.o', 'ntpd/refclock_hpgps.c.12.o', 'ntpd/refclock_zyfer.c.13.o', 'ntpd/refc
lock_arbiter.c.14.o', 'ntpd/refclock_nmea.c.15.o', 'ntpd/refclock_neoclock.c.16.o
', 'ntpd/refclock_modem.c.17.o', 'ntpd/refclock_local.c.18.o', 'ntpd/refclock_shm
.c.19.o', '-o/u/local/src/NTP/ntpsec/build/main/ntpd/ntpd', '-Wl,-Bstatic', '-Lli
baes_siv', '-Llibntp', '-Llibparse', '-laes_siv', '-lntp', '-lparse', '-Wl,-Bdyna
mic', '-L/usr/local/ssl/lib', '-L/usr/local/ssl/lib', '-lcrypto', '-lssl', '-lm',
 '-lrt', '-lcap', '-lpthread', '-ldl', '-lssp', '-lssp_nonshared', '-Wl,-z,now', 
'-Wl,--strip-all', '-Wl,-z,relro']


>  And then swap them to confirm the fix?

I tried to modify the wscript to do that, but failed...

> I'd be happy to rejigger the wscript files once you confirm the fix
> itself.

Any ideas how I could confirm?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190322/dee7240b/attachment.bin>


More information about the devel mailing list