[ntp:questions] Unresolved Symbol

Danny Mayer mayer at ntp.isc.org
Wed Aug 8 17:47:50 UTC 2007


Aggie wrote:
> What do you mean by "followed the SYS_VXWORKS" code in the tree?
> 
> I just found out that there's a variable called nofork in ntp, i think
> i will just need to set this variable to 1, then i won't need to use
> fork().
> 
> Wait() and pipe() are only called in makeshell.c    What does this
> file do?? Do i have to use this file??
> 

This is part of the libopts code. We don't use it in windows and we
don't use it anywhere that I'm aware of.

> And adjtime() isn't implemented in vxworks.   In ntp_machine.h casey
> left a note:
> 

If it's not implemented in vxworks you can use the version in
libntp/adjtime.c

> /* usrtime.h
>  * Bob Herlien's excellent time code find it at:
>  * ftp://ftp.atd.ucar.edu/pub/vxworks/vx/usrTime.shar
>  * I would recommend this instead of clock_[g|s]ettime() plus you get
>  * adjtime() too ... casey
>  */
> 
> But the link is no longer valid. Does anyone have this file?? Thanks
> 
> I couldn't build the ntp for vxworks yet. I will add content to the
> link once I know how. I realized many persons have been trying to port
> ntp to vxworks. I will post a full step by step procedure of how to
> port it once I know. Please help.

You need to explain more about the environment in order to give you more
help.

Danny



More information about the questions mailing list