[ntp:questions] ***SPAM*** Atom complie error (with latest LinuxPPS)

Tom Playford tom.playford at gmail.com
Tue Aug 29 14:11:16 UTC 2006


Dear All,

I'm trying to get NTP and the latest 2.6 LinuxPPS patch working
together. I'm having problems.

I'm using the latest LinuxPPS (from the 'git' repository), NTP version
4.2.2p3 and Linux 2.6.17.

LinuxPPS compiles fine and I can see my PPS source ticking away at
/proc/pps/00/assert.

I've copied timepps.h to /usr/include/sys.

When I try to compile NTP (with ot special configure options), I get
these errors:

refclock_atom.c: In function 'atom_shutdown':
refclock_atom.c:227: error: invalid operands to binary !=
refclock_atom.c: In function 'atom_ppsapi':
refclock_atom.c:278: error: invalid operands to binary ==
refclock_atom.c: In function 'atom_timer':
refclock_atom.c:348: error: invalid operands to binary ==
make[2]: *** [refclock_atom.o] Error 1
make[2]: Leaving directory `/home/tom/ntp-4.2.2p3/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tom/ntp-4.2.2p3'
make: *** [all] Error 2

I have attached my version of timepps.c and NTP's config.h

Anyone know how to solve this?

Tom


More information about the questions mailing list