Re: [chrony-dev] [chrony-announce] chrony-4.0-pre1 released

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


That makes sense - I have only built it on Mojave (10.14.6) and Catalina (10.15.3), which both have SYS_TIMEX and CLOCK_GETTIME.

The reason for failure is CLOCK_GETTIME was introduced in 10.12 and SYS_TIMEX not until 10.13, hence the need for <dlfcn.h> in 10.12

Sorry about that.

> On 17/03/2020, at 4:35 PM, David Bohman <debohman@xxxxxxxxx> wrote:
> 
> 4.0-pre1 does not build on my macOS Sierra system. The following patch fixes it:
> 
> diff --git a/sys_macosx.c b/sys_macosx.c
> index 701c078..1b0fc4e 100644
> --- a/sys_macosx.c
> +++ b/sys_macosx.c
> @@ -46,8 +46,9 @@
>  #include "privops.h"
>  #include "util.h"
>  
> -#ifdef HAVE_MACOS_SYS_TIMEX
>  #include <dlfcn.h>
> +
> +#ifdef HAVE_MACOS_SYS_TIMEX
>  #include "sys_netbsd.h"
>  
>  static int have_ntp_adjtime = 0;
> 
> On Mon, Mar 16, 2020 at 9:38 AM Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> The first prerelease for chrony-4.0 is now available.
>  

Bryan Christianson
bryan@xxxxxxxxxxxxx




--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/