problems compiling trak refclock

  • Follow


I have a TRAK 8821 GPS receiver.  This reciever has an RS232 port on it 
that can be commanded to send out the time.  The receiver is suppose to 
be supported by the refclock_trak  - 127.127.2.x.  I am using ntp 4.2.0 
(from ntp.org) with a red hat 9 machine (or fedora core 1, same result. 
)  NTP compiles fine, however the driver for this gps is replaced with a 
'dummy' driver.  By looking at the source files it would appear that 
this is standard procedure when the particular reference clock can not 
be supported.

When I look at refclock_conf.c  line 27 I find that both CLOCK_TRAK and 
PPS need to be defined before the driver is properly compiled.  So I 
tried installing the PPS kit (on a stock 2.4.21 kernel) and making the 
proper (I think) symbolic links in /usr/include/sys/  for timex.h and 
timepps.h.  NTP then compiles and seems to support the ppsapi (I can 
tell that by looking in the config.h file) but the refclock_trak still 
does not compile.

Is anyone out there using a trak GPS ?  If so how did you get it to work?

Regards
Dave Armstrong


0
Reply armstron (1) 6/4/2004 9:52:54 PM


0 Replies
119 Views

(page loaded in 0.033 seconds)


Reply: