[LinuxPPS] 2.6.22...

Udo van den Heuvel udovdh at xs4all.nl
Mon Jul 30 16:44:08 CEST 2007


Udo van den Heuvel wrote:
> Udo van den Heuvel wrote:
> After rebuilding ntpd stuff now looks like it's starting to work under
> 2.6.22.1 with ntp-pps 4.0.

Remaining issue is that when I *also* try to enable PPS via the ATOM
(next to NMEA)  driver I get:

(........)
gcc -m32 -march=i686 -mtune=c3-2 -pipe -mmmx -msse -fomit-frame-pointer
-ffast-math -finline-functions -mfpmath=sse,387 -Os -pie -fPIE -Wall
-Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow
-Wstrict-prototypes -o ntpd cmd_args.o ntp_config.o ntp_io.o ntpd.o
ntpd-opts.o version.o  -L/usr/lib libntpd.a -lm -lcrypto
../libopts/.libs/libopts.a ../libntp/libntp.a -lcap
libntpd.a(refclock_atom.o): In function `time_pps_destroy':
refclock_atom.c:(.text+0x0): multiple definition of `time_pps_destroy'
libntpd.a(refclock_nmea.o):refclock_nmea.c:(.text+0x0): first defined here
libntpd.a(refclock_atom.o): In function `time_pps_kcbind':
refclock_atom.c:(.text+0x186): multiple definition of `time_pps_kcbind'
libntpd.a(refclock_nmea.o):refclock_nmea.c:(.text+0xca): first defined here
libntpd.a(refclock_atom.o): In function `time_pps_create':
refclock_atom.c:(.text+0x1a7): multiple definition of `time_pps_create'
libntpd.a(refclock_nmea.o):refclock_nmea.c:(.text+0xeb): first defined here
libntpd.a(refclock_atom.o): In function `time_pps_fetch':
refclock_atom.c:(.text+0x1da): multiple definition of `time_pps_fetch'
libntpd.a(refclock_nmea.o):refclock_nmea.c:(.text+0x11e): first defined here
libntpd.a(refclock_atom.o): In function `time_pps_getcap':
refclock_atom.c:(.text+0x48d): multiple definition of `time_pps_getcap'
libntpd.a(refclock_nmea.o):refclock_nmea.c:(.text+0x799): first defined here
libntpd.a(refclock_atom.o): In function `time_pps_setparams':
refclock_atom.c:(.text+0x4b3): multiple definition of `time_pps_setparams'
libntpd.a(refclock_nmea.o):refclock_nmea.c:(.text+0x7bf): first defined here
libntpd.a(refclock_atom.o): In function `time_pps_getparams':
refclock_atom.c:(.text+0x519): multiple definition of `time_pps_getparams'
libntpd.a(refclock_nmea.o):refclock_nmea.c:(.text+0x825): first defined here
libntpd.a(refclock_atom.o): In function `time_pps_findpath':
refclock_atom.c:(.text+0x6c8): multiple definition of `time_pps_findpath'
libntpd.a(refclock_nmea.o):refclock_nmea.c:(.text+0x9e1): first defined here
libntpd.a(refclock_atom.o): In function `time_pps_findsource':
refclock_atom.c:(.text+0x745): multiple definition of `time_pps_findsource'
libntpd.a(refclock_nmea.o):refclock_nmea.c:(.text+0xda7): first defined here
libntpd.a(refclock_atom.o): In function `time_pps_readlink':
refclock_atom.c:(.text+0x8d5): multiple definition of `time_pps_readlink'
libntpd.a(refclock_nmea.o):refclock_nmea.c:(.text+0xa5e): first defined here
collect2: ld returned 1 exit status
make[3]: *** [ntpd] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/ntp-4.2.4p2/ntpd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/ntp-4.2.4p2/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/ntp-4.2.4p2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.19149 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.19149 (%build)


Any ideas? (building just for ATOM works fine)

Udo



More information about the LinuxPPS mailing list