On Sun, 28 May 2023 at 12:25, Dave Hart <daveh...@gmail.com> wrote:

> On Wednesday, May 24, 2023 at 5:42:20 PM UTC-4, Roger wrote:
> > Make failed on the very elderly system I'm trying the dev on
> > with the message that I needed to add -fPIC to CFLAGS.
>
> Martin Burnicki ran into the same problem on a presumably recent Linux.
> Harlan Stenn has a fix for this problem.  Apparently after updating
> sntp/libopts he forgot to do something to add those flags to the libopts
> tearoff build to match the rest of the package's compiler switches.
>
> I'll try to find that workaround and get a new tarball out.
>

I've posted a new tarball, but it may not appear for a few minutes.  It
should resolve the build failure you saw.

https://people.nwtime.org/hart/ntp-dev-3792-msm-v2.tar.gz

Alternatively, replace the

AM_CFLAGS = blah blah

line in sntp/libopts/Makefile.am with:

AM_CFLAGS = $(NTP_HARD_CFLAGS)
AM_CPPFLAGS = $(NTP_HARD_CPPFLAGS)
AM_LDFLAGS = $(NTP_HARD_LDFLAGS)

-- 
Cheers,
Dave Hart

Reply via email to