add __adjtimex to get ntpd to work properly

David Mosberger-Tang dmosberger at gmail.com
Fri Jan 30 21:40:48 UTC 2009


The patch seems reasonable enough.  Could it be checked into buildroot
so others don't have to discover this issue again?

Thanks,

  --david

On Fri, Jan 30, 2009 at 1:24 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> On Wed, Jan 28, 2009 at 8:11 PM, David Mosberger-Tang wrote:
>> Without the attached patch, ntpd from ntp-4.2.4p5 failed to sync with
>> the Linux kernel because it wants to use __adjtimex (not adjtimex).
>> Note that the configure's AC_CHECK_FUNCS() goes to some length to
>> verify that __adjtimex is available as a function, just defining a
>> macro of that name doesn't do the trick.
>
> this is a ntp problem, not uClibc.  please see the upstream report here:
> https://support.ntp.org/bugs/show_bug.cgi?id=769
>
> or just use the patch here:
> http://sources.gentoo.org/net-misc/ntp/files/ntp-4.2.4_p5-adjtimex.patch
> -mike
>



-- 
Mosberger Consulting LLC, http://www.mosberger-consulting.com/


More information about the uClibc mailing list