scons: Reading SConscript files ... This system is: linux2 Checking if compiler accepts -pthread... (cached) no Checking whether the C++ compiler works... (cached) no C++ doesn't work, suppressing libgpsmm build. Checking pkg-config for ncurses... (cached) no Turning off ncurses support, library not found. Checking pkg-config for libusb-1.0... (cached) no Checking for C library librt... (cached) no Checking for C library libthr... (cached) no Checking pkg-config for dbus-1... (cached) no Turning off dbus-export support, library not found. Checking pkg-config for bluez... (cached) no Turning off Bluetooth support, library not found. Checking for C type in_port_t... (cached) no Did not find in_port_t typedef, assuming unsigned short int Checking whether SUN_LEN is declared... (cached) no Checking whether SUN_LEN is declared... no SUN_LEN is not system-defined, using local definition Checking for C header file linux/can.h... no You do not have kernel CANbus available. Checking if compiler is C11... no Checking for C header file libkern/OSAtomic.h... no No memory barriers - SHM export and time hinting may not be reliable. Checking if compiler supplies __ORDER_BIG_ENDIAN__... yes Checking if compiler supplies __ORDER_LITTLE_ENDIAN__... yes Checking if compiler supplies __BYTE_ORDER__... yes Your compiler has built-in endianness support. Checking for C header file arpa/inet.h... yes Checking for C header file netdb.h... yes Checking for C header file netinet/in.h... yes Checking for C header file netinet/ip.h... yes Checking for C header file sys/socket.h... yes Checking for C header file sys/un.h... yes Checking for C header file syslog.h... yes Checking for C header file termios.h... yes Checking for C header file winsock2.h... no Checking for C function daemon()... yes Checking for C function strlcpy()... no Checking for C function strlcat()... no Checking for C function clock_gettime()... yes Checking for C function strptime()... yes Checking for C function gmtime_r()... yes Checking for C function inet_ntop()... yes Checking for C function fcntl()... yes Checking for C function fork()... yes Checking for C header file sys/timepps.h... yes Checking if sys/ioctl.h supplies TIOCMIWAIT... yes Checking that xsltproc can make man pages... no Neither xsltproc nor xmlto found, documentation cannot be built. Checking pkg-config for QtNetwork... no Turning off Qt support, library not found. Checking if compiler accepts -Wall... (cached) no Checking if compiler accepts -Wcast-align... no Checking if compiler accepts -Wextra... no Checking if compiler accepts -Wimplicit-fallthrough... no Checking if compiler accepts -Wmissing-declarations... no Checking if compiler accepts -Wmissing-prototypes... no Checking if compiler accepts -Wno-missing-field-initializers... no Checking if compiler accepts -Wno-uninitialized... no Checking if compiler accepts -Wpointer-arith... no Checking if compiler accepts -Wreturn-type... no Checking if compiler accepts -Wstrict-prototypes... no Checking if compiler accepts -Wvla... no Checking whether python program exists.../usr/bin/python Obtaining Python exe path... /usr/bin/python Obtaining Python lib dir... /usr/lib/python2.7/dist-packages Obtaining Python config vars... ok Altered configuration variables: nmea2000 = False (default True): NMEA2000/CAN support dbus_export = False (default True): enable DBUS export support bluez = False (default True): BlueZ support for Bluetooth devices libgpsmm = False (default True): build C++ bindings ncurses = False (default True): build with ncurses qt = False (default True): build QT bindings timeservice = True (default False): time-service configuration Part of the website build requires asciidoc, not installed. scons: done reading SConscript files. scons: Building targets ... rm -f ais_json.i && /usr/bin/python jsongen.py --ais --target=parser > ais_json.i && chmod a-w ais_json.i Creating 'gpsd_config.h' gcc -o ais_json.os -c -O2 -fPIC ais_json.c gcc -o bits.os -c -O2 -fPIC bits.c gcc -o gpsdclient.os -c -O2 -fPIC gpsdclient.c rm -f gps_maskdump.c && /usr/bin/python maskaudit.py -c /home/pi/gpsd-3.19 > gps_maskdump.c && chmod a-w gps_maskdump.c gcc -o gps_maskdump.os -c -O2 -fPIC gps_maskdump.c gcc -o gpsutils.os -c -O2 -fPIC gpsutils.c gcc -o hex.os -c -O2 -fPIC hex.c gcc -o json.os -c -O2 -fPIC json.c gcc -o libgps_core.os -c -O2 -fPIC libgps_core.c gcc -o libgps_dbus.os -c -O2 -fPIC libgps_dbus.c gcc -o libgps_json.os -c -O2 -fPIC libgps_json.c gcc -o libgps_shm.os -c -O2 -fPIC libgps_shm.c gcc -o libgps_sock.os -c -O2 -fPIC libgps_sock.c gcc -o netlib.os -c -O2 -fPIC netlib.c gcc -o os_compat.os -c -O2 -fPIC os_compat.c gcc -o rtcm2_json.os -c -O2 -fPIC rtcm2_json.c gcc -o rtcm3_json.os -c -O2 -fPIC rtcm3_json.c gcc -o shared_json.os -c -O2 -fPIC shared_json.c gcc -o libgps.so.25.0.0 -shared -Wl,-Bsymbolic -Wl,-soname=libgps.so.25 ais_json.os bits.os gpsdclient.os gps_maskdump.os gpsutils.os hex.os json.os libgps_core.os libgps_dbus.os libgps_json.os libgps_shm.os libgps_sock.os netlib.os os_compat.os rtcm2_json.os rtcm3_json.os shared_json.os -L. Create symlinks for: 'libgps.so.25.0.0': 'libgps.so.25'->'libgps.so.25.0.0', 'libgps.so'->'libgps.so.25.0.0' gcc -o dbusexport.o -c -O2 dbusexport.c Creating 'revision.h' gcc -o gpsd.o -c -O2 gpsd.c gcc -o shmexport.o -c -O2 shmexport.c gcc -o timehint.o -c -O2 timehint.c gcc -o sd_socket.o -c -O2 sd_socket.c gcc -o bsd_base64.o -c -O2 bsd_base64.c gcc -o crc24q.o -c -O2 crc24q.c gcc -o driver_ais.o -c -O2 driver_ais.c gcc -o driver_evermore.o -c -O2 driver_evermore.c gcc -o driver_garmin.o -c -O2 driver_garmin.c gcc -o driver_garmin_txt.o -c -O2 driver_garmin_txt.c gcc -o driver_geostar.o -c -O2 driver_geostar.c gcc -o driver_greis.o -c -O2 driver_greis.c gcc -o driver_greis_checksum.o -c -O2 driver_greis_checksum.c gcc -o driver_italk.o -c -O2 driver_italk.c gcc -o driver_navcom.o -c -O2 driver_navcom.c gcc -o driver_nmea0183.o -c -O2 driver_nmea0183.c gcc -o driver_nmea2000.o -c -O2 driver_nmea2000.c gcc -o driver_oncore.o -c -O2 driver_oncore.c gcc -o driver_rtcm2.o -c -O2 driver_rtcm2.c gcc -o driver_rtcm3.o -c -O2 driver_rtcm3.c gcc -o drivers.o -c -O2 drivers.c gcc -o driver_sirf.o -c -O2 driver_sirf.c gcc -o driver_skytraq.o -c -O2 driver_skytraq.c gcc -o driver_superstar2.o -c -O2 driver_superstar2.c gcc -o driver_tsip.o -c -O2 driver_tsip.c gcc -o driver_ubx.o -c -O2 driver_ubx.c gcc -o driver_zodiac.o -c -O2 driver_zodiac.c gcc -o geoid.o -c -O2 geoid.c gcc -o gpsd_json.o -c -O2 gpsd_json.c gcc -o isgps.o -c -O2 isgps.c gcc -o libgpsd_core.o -c -O2 libgpsd_core.c gcc -o matrix.o -c -O2 matrix.c gcc -o net_dgpsip.o -c -O2 net_dgpsip.c gcc -o net_gnss_dispatch.o -c -O2 net_gnss_dispatch.c gcc -o net_ntrip.o -c -O2 net_ntrip.c gcc -o ntpshmread.o -c -O2 ntpshmread.c gcc -o ntpshmwrite.o -c -O2 ntpshmwrite.c rm -f packet_names.h && sed -e '/^ *\([A-Z][A-Z0-9_]*\),/s// "\1",/' < packet_states.h > packet_names.h && chmod a-w packet_names.h gcc -o packet.o -c -O2 packet.c gcc -o ppsthread.o -c -O2 ppsthread.c gcc -o pseudoais.o -c -O2 pseudoais.c gcc -o pseudonmea.o -c -O2 pseudonmea.c gcc -o serial.o -c -O2 serial.c gcc -o subframe.o -c -O2 subframe.c timebase_h(["timebase.h"], ["leapseconds.cache"]) gcc -o timebase.o -c -O2 timebase.c gcc -o timespec_str.o -c -O2 timespec_str.c ar rc libgpsd.a bsd_base64.o crc24q.o driver_ais.o driver_evermore.o driver_garmin.o driver_garmin_txt.o driver_geostar.o driver_greis.o driver_greis_checksum.o driver_italk.o driver_navcom.o driver_nmea0183.o driver_nmea2000.o driver_oncore.o driver_rtcm2.o driver_rtcm3.o drivers.o driver_sirf.o driver_skytraq.o driver_superstar2.o driver_tsip.o driver_ubx.o driver_zodiac.o geoid.o gpsd_json.o isgps.o libgpsd_core.o matrix.o net_dgpsip.o net_gnss_dispatch.o net_ntrip.o ntpshmread.o ntpshmwrite.o packet.o ppsthread.o pseudoais.o pseudonmea.o serial.o subframe.o timebase.o timespec_str.o ranlib libgpsd.a gcc -o ais_json.o -c -O2 ais_json.c gcc -o bits.o -c -O2 bits.c gcc -o gpsdclient.o -c -O2 gpsdclient.c gcc -o gps_maskdump.o -c -O2 gps_maskdump.c gcc -o gpsutils.o -c -O2 gpsutils.c gcc -o hex.o -c -O2 hex.c gcc -o json.o -c -O2 json.c gcc -o libgps_core.o -c -O2 libgps_core.c gcc -o libgps_dbus.o -c -O2 libgps_dbus.c gcc -o libgps_json.o -c -O2 libgps_json.c gcc -o libgps_shm.o -c -O2 libgps_shm.c gcc -o libgps_sock.o -c -O2 libgps_sock.c gcc -o netlib.o -c -O2 netlib.c gcc -o os_compat.o -c -O2 os_compat.c gcc -o rtcm2_json.o -c -O2 rtcm2_json.c gcc -o rtcm3_json.o -c -O2 rtcm3_json.c gcc -o shared_json.o -c -O2 shared_json.c ar rc libgps_static.a ais_json.o bits.o gpsdclient.o gps_maskdump.o gpsutils.o hex.o json.o libgps_core.o libgps_dbus.o libgps_json.o libgps_shm.o libgps_sock.o netlib.o os_compat.o rtcm2_json.o rtcm3_json.o shared_json.o ranlib libgps_static.a gcc -o gpsd dbusexport.o gpsd.o shmexport.o timehint.o sd_socket.o -L. -lgpsd -lgps_static -lm ./libgpsd.a(ppsthread.o): In function `pps_thread_activate': ppsthread.c:(.text+0x1b7c): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status scons: *** [gpsd] Error 1 scons: building terminated because of errors.