add __adjtimex to get ntpd to work properly

David Mosberger-Tang dmosberger at gmail.com
Thu Jan 29 19:40:21 UTC 2009


Hi Khem,

UCLIBC_NTP_LEGACY does the trick, too.  Is there a way to
automatically force that when somebody selects the ntp package?  If
now, perhaps the help message could be clarified?

Thanks,

  --david

On Thu, Jan 29, 2009 at 1:00 AM, Khem Raj <raj.khem at gmail.com> wrote:
> On 1/28/2009 5:11 PM, David Mosberger-Tang wrote:
>>
>> Hi,
>>
>> 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.
>
> could you try building uclibc with UCLIBC_NTP_LEGACY ?
>



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


More information about the uClibc mailing list