Re: Strange error on NetBSD

2024-06-23 Thread ASSI via devel
Hal Murray via devel writes: > Near the top, it says: > > // _XOPEN_SORUCE needed for strptime() > #define _XOPEN_SOURCE Correct. However, as you said you also need siginfo_t, it needs to be defined with a value of at least 500, so the correct _POSIX_C_SOURCE level gets defined in addition. Real

Re: Strange error on NetBSD

2024-06-23 Thread Hal Murray via devel
Fred Wright said: >> The test-all part of option-tester gets the following error. > Why only in option-tester? That was just a simple way to tickle the problem. (Which was why I put it together in the first place.) The code that causes the problem is libparse/clk_sel240x.c Near the top, it

Re: Strange error on NetBSD

2024-06-22 Thread Fred Wright via devel
On Fri, 21 Jun 2024, Hal Murray via devel wrote: Does anybody other than me run/test on NetBSD? Ocasionally. I have a NetBSD 6.1.5 VM. The test-all part of option-tester gets the following error. Why only in option-tester? ntp_stdlib includes signal.h Do we have to do some magic to ma

Re: Strange error on NetBSD

2024-06-22 Thread Hal Murray via devel
James said: > After checking some webpages, I have a notion that NetBSD has siginfo, > rather than siginfo_t. If they are the same struct, then a relatively > simple #define or typedef should amend the Issue. I have not tested it > yet. The NetBSD man page says: The sigaction() function confo

Re: Strange error on NetBSD

2024-06-21 Thread James Browning via devel
On Friday, June 21, 2024 1:35:59 PM PDT Hal Murray via devel wrote: > Does anybody other than me run/test on NetBSD? I do not; I think I tested on NetBSD once or a few times years ago. > The test-all part of option-tester gets the following error. > > ntp_stdlib includes signal.h > Do we have to