On 5/28/2023 6:39 AM, Dave Hart wrote:
On Sun, 28 May 2023 at 12:25, Dave Hart <daveh...@gmail.com <mailto: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 <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)

That should probably be:

 AM_CFLAGS= $(NTP_HARD_CFLAGS) blah blah

The Makefile.am in this directory now uses AM_CFLAGS, as I recall.

H
--
AM_CPPFLAGS = $(NTP_HARD_CPPFLAGS)
AM_LDFLAGS = $(NTP_HARD_LDFLAGS)

--
Cheers,
Dave Hart


--
Harlan Stenn <st...@nwtime.org>
http://networktimefoundation.org - be a member!
--
This is questions@lists.ntp.org
Subscribe: questions+subscr...@lists.ntp.org
Unsubscribe: questions+unsubscr...@lists.ntp.org



Reply via email to