gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] gpsd link fail on ubuntu 14.04


From: Reinhard Arlt
Subject: [gpsd-dev] gpsd link fail on ubuntu 14.04
Date: Tue, 13 Feb 2018 10:53:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Hallo,

on ubuntu 14.04 linking gpsd fails with

Altered configuration variables:
debug = True (default False): include debug information in build
magic_hat = False (default True): special Linux PPS hack for Raspberry Pi et al
scons: done reading SConscript files.
scons: Building targets ...
leapseconds_cache_rebuild(["leapseconds.cache"], ["leapsecond.py"])
timebase_h(["timebase.h"], ["leapseconds.cache"])
gcc -o timebase.o -c -pthread -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -g3 -O0 
-pthread -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/libusb-1.0 timebase.c
ar rc libgpsd.a bsd_base64.o crc24q.o gpsd_json.o geoid.o isgps.o 
libgpsd_core.o matrix.o net_dgpsip.o net_gnss_dispatch.o net_ntrip.o 
ntpshmread.o ntpshmwrite.o ppsthread.o packet.o pseudonmea.o pseudoais.o 
serial.o subframe.o timebase.o timespec_str.o drivers.o driver_ais.o 
driver_evermore.o driver_garmin.o driver_garmin_txt.o driver_geostar.o 
driver_italk.o driver_navcom.o driver_nmea0183.o driver_nmea2000.o 
driver_oncore.o driver_rtcm2.o driver_rtcm3.o driver_sirf.o driver_skytraq.o 
driver_superstar2.o driver_tsip.o driver_ubx.o driver_zodiac.o
ranlib libgpsd.a
gcc -o gpsd -pthread gpsd.o timehint.o shmexport.o dbusexport.o sd_socket.o -L. 
-lgpsd -lgps_static -lusb-1.0 -lbluetooth -lm -lrt -ldbus-1
./libgpsd.a(gpsd_json.o): In function `json_tpv_dump':
/home/ar/gpsd/gpsd/gpsd_json.c:195: undefined reference to `isfinite'
/home/ar/gpsd/gpsd/gpsd_json.c:198: undefined reference to `isfinite'
/home/ar/gpsd/gpsd/gpsd_json.c:201: undefined reference to `isfinite'
/home/ar/gpsd/gpsd/gpsd_json.c:204: undefined reference to `isfinite'
/home/ar/gpsd/gpsd/gpsd_json.c:207: undefined reference to `isfinite'
./libgpsd.a(gpsd_json.o):/home/ar/gpsd/gpsd/gpsd_json.c:210: more undefined 
references to `isfinite' follow
collect2: error: ld returned 1 exit status
scons: *** [gpsd] Error 1
scons: building terminated because of errors.


Kind regards

Reinhard



reply via email to

[Prev in Thread] Current Thread [Next in Thread]