[comp.unix.aix] Network Time Protocol

mrl@uai.com (Mark R. Ludwig) (05/09/91)

Has anyone successfully implemented the Network Time Protocol on an
RS/6000?  I have managed to get version 3.4 (patch 13) built, but it
seems to be silently not working.  The code is heavily-dependent on
BSD semantics and include structure, but using -lbsd and -D_BSD seems
to have enabled the appropriate compatibility modes.  (Can someone
tell me what -D_BSD *does* anyway?)  Are there any other incantations
which might help?  I am allowing the Makefile to default to ``cc''
instead of ``xlc'' and I'm not sure that's correct, either.$$
-- 
INET: mrl@uai.com       UUCP: uunet!uaisun4!mrl       PSTN: +1 213 822 4422
USPS: 7740 West Manchester Boulevard, Suite 208, Playa del Rey, CA  90293
WANT: Succinct, insightful statement to occupy this space.  Inquire within.

carl@probitas.cs.utas.edu.au (Carl Lewis) (05/10/91)

In <1991May8.231256.14782@uai.com> mrl@uai.com (Mark R. Ludwig) writes:

>Has anyone successfully implemented the Network Time Protocol on an
>RS/6000?  I have managed to get version 3.4 (patch 13) built, but it
>seems to be silently not working.  The code is heavily-dependent on
>BSD semantics and include structure, but using -lbsd and -D_BSD seems
>to have enabled the appropriate compatibility modes.  (Can someone
>tell me what -D_BSD *does* anyway?)  Are there any other incantations
>which might help?  I am allowing the Makefile to default to ``cc''
>instead of ``xlc'' and I'm not sure that's correct, either.$$
>-- 
>INET: mrl@uai.com       UUCP: uunet!uaisun4!mrl       PSTN: +1 213 822 4422
>USPS: 7740 West Manchester Boulevard, Suite 208, Playa del Rey, CA  90293
>WANT: Succinct, insightful statement to occupy this space.  Inquire within.

Yes I have it ported . Unfortunetly there was a bug in gettimeofday and
settimeofday (can crash the system if called (im)properly :-). And even
if called according to IBM's nice manual page ( which doesn't describe 
the bits that crashed the system even though they're standard on 
every other system with BSD enhancements I can lay my hands on)
it does nothing.
These bugs were fixed in a partial update (2003 ?).

So if if you'd like the patched code drop me a line and I'll send it to
the AIX archive.

Carl


--
    Carl : Programmer (etc) with University of Tasmania
Internet : carl@cs.utas.edu.au || C.S.Lewis@cs.utas.edu.au
Address          || carl@probitas.cs.utas.edu.au

J.Crowcroft@cs.ucl.ac.uk (Jon Crowcroft) (05/12/91)

 >>Has anyone successfully implemented the Network Time Protocol on an
 >>RS/6000?  I have managed to get version 3.4 (patch 13) built, but it

 >Yes I have it ported . Unfortunetly there was a bug in gettimeofday and
 >settimeofday (can crash the system if called (im)properly :-). And even


we are running it as part of the AFS release from TransArc + i have
ported it to AIX/370 so our 3090 can synch up too...

no probs on the 3090 apart from copiler/#include differences...
so far, but it hasnt been running long...

 jon