[uClibc]NTPClient can not run properly on MIPS

Uwe Beutin uwe at imbrium.de
Wed Jul 17 14:28:35 UTC 2002


On Wed, 17 Jul 2002, Van Duc Uy wrote:

> i'm porting the ntpclient to MIPS MSP3000 no_MMU , uClibc-0.9.10, 
> uClinux-2.4.14.
> The program is successfully compiled but can not run properly.
> Following is the out put :
> ---------------------------------------------------------------------------------------
> # ntpclient -d -h 192.168.23.104 -i 1000 -l

I think you should take care to use the host name for NTP queries, not
the IP address since the program will try to resolve the name with
gethostbyname(). But in this case you should really get the message 
"Could not set up host ..."

I have compiled and tried to run the ntpclient with the libc and the
uClibc as well but I have similar problems on my uCdimm as well, no
matter which lib I use. My output on a uCdimm is always something like:

# ntpclient -h ntp0.fau.de
15571 85166.LIBC:PRINTF# 

Program terminates here. Works fine on my i386 production system, 
though. Haven't looked further, but the implementation of ntpclient 
could be buggy.

	Uwe




More information about the uClibc mailing list