maer@nmr.lpc.ethz.ch (Matthias Ernst) (01/23/91)
I have now a version of xntp running on SGI IRIX 3.3.1. The important reply came from Scott Henry at SGI (Thanks !) -> From: scotth%harlie.corp.sgi.com@SGI.COM -> -> I am porting xntp to the Iris (though I'm running 3.3.2). Basic xntp -> without refclock support compiled fairly easily and performs fairly well -> (though not great). The two key changes are to compile with -D_BSD_COMPAT -> and -DADJTIME_IS_ACCURATE and hardwire hz=100, tick=10000, tickadj=5. -> Adding a refclock (I have a written a driver for the Kinemetrics TrueTime -> GOES clock, though it should work for the GPS clock as well) was a lot -> more work, though it seems to be working well. I am currently working on -> tuning the unix-clock interface for our clock, rather than the BSD clock -> that it was written for. I will be providing patches when I feel that I am -> done. I do not expect this to turn into a product, nor will SGI guarantee -> to provide support, as this work is being done for internal purposes. -> There are some more important things: 1. You should include the DAEMONLIBS= -lmld definition in your config file 2. If you are running yp, you have to add a -lsun compiler option in all Makefiles. 3. There is no ranlib on SysV systems. Delete the ranlib stuff in the Makefile in the lib subdirectory. 4. In ntp_unixclock.c (in the xntpd directory) you have to disable the call to clock_parms and set them to the fixed values tick=10000 and tickadj=5. (This is in line 93). With these changes everything went fine. Maybe we will get a better version from Scott, when he has done his changes. Matthias +-----------------------------------------------------------------------------+ | Matthias Ernst Domain: maer@nmr.lpc.ethz.ch | | Institut fuer physikalische Chemie Bitnet: maer@czheth5a.bitnet | | Eidgenoessische Technische Hochschule UUCP: ...!mcsun!chx400!ethz!maer | | ETH-Zentrum Phone: +41/1/256-4374 | | CH-8092 Zuerich Fax: +41/1/252-3402 | +-----------------------------------------------------------------------------+