<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 17, 2020 at 1:34 PM Gary E. Miller via devel <<a href="mailto:devel@ntpsec.org">devel@ntpsec.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yo Hal!<br>
<br>
On Sun, 16 Feb 2020 21:42:59 -0800<br>
Hal Murray via devel <<a href="mailto:devel@ntpsec.org" target="_blank">devel@ntpsec.org</a>> wrote:<br>
<br>
> wscript says:<br>
>         # MacOS doesn't have timer_create ??<br>
>         ('timer_create', ["signal.h", "time.h"], "RT", False),<br>
> <br>
> Can a MacOS wizard verify that and/or see what versions do/don't<br>
> support it? Thanks.<br>
<br>
I'm not a MacOS wizard, but I can verify that my up to date osX<br>
has no such function.<br>
<br>
[...]<br>
Checking for function timer_create                              : no <br>
[...]<br>
<br>
# fgrep timer_create /opt/local/include -R<br>
# <br>
<br>
My linux man page says timer_create() is POSIX 1993, so maybe a missing<br>
feature macro?<br>
<br>
       timer_create(): _POSIX_C_SOURCE >= 199309L<br></blockquote><div><br></div><div>timer_create() was originally part of the POSIX Real-Time Extensions and is</div><div>now considered a "C Extension". newlib protects the method prototype with</div><div>_POSIX_TIMERS which has to be defined on a per OS basis as a feature</div><div>beyond the base POSIX version. </div><div><br></div><div>POSIX itself doesn't give much of a hint except the Real-Time Extension</div><div>history. That's the clue that support is likely very much optional and varies.</div><div><br></div><div><a href="https://pubs.opengroup.org/onlinepubs/9699919799/functions/timer_create.html">https://pubs.opengroup.org/onlinepubs/9699919799/functions/timer_create.html</a> </div><div><br></div><div>--joel <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
But, when I tried to build with git head, I now get this error:<br>
<br>
Waf: Leaving directory `/usr/local/src/NTP/ntpsec/build/main'<br>
Fatal Python error: PyThreadState_Get: no current thread<br>
../Do-config-ntpsec: line 11: 13733 Abort trap: 6           ./waf build<br>
<br>
RGDS<br>
GARY<br>
---------------------------------------------------------------------------<br>
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703<br>
        <a href="mailto:gem@rellim.com" target="_blank">gem@rellim.com</a>  Tel:+1 541 382 8588<br>
<br>
            Veritas liberabit vos. -- Quid est veritas?<br>
    "If you can't measure it, you can't improve it." - Lord Kelvin<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@ntpsec.org" target="_blank">devel@ntpsec.org</a><br>
<a href="http://lists.ntpsec.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ntpsec.org/mailman/listinfo/devel</a><br>
</blockquote></div></div>