Hi there
Currently im trying to get GPS working on my GETAC V110 laptop that had a Airprime EM7355 mobile card with gps support but i couldn’t figure out how to get the gps working on that one so i brought a dedicated gps module with linux support.
It shows up as /dev/ttyACM0 and its receiving data. the problem im having is that the flatpack gps apps im wanting to use need “gpsd” installed to work so i can link the gps module im using to the system.
So far i’ve looked through the bundles and software repos and cant find it so went to build through source and it fails,
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 2.02.186-2-.-2019-08-27- is an invalid version and will not be supported in a future release
warnings.warn(
scons: Reading SConscript files ...
scons version: 3.1.2
scons is running under Python version: 3.10.7.final.0
gpsd version: 3.24
This system is: linux
scons: done reading SConscript files.
scons: Cleaning targets ...
Removed gpsd-3.24/android/gpsd_config
Removed gpsd-3.24/gps/gps.py
Removed gpsd-3.24/gps/__init__.py
Removed gpsd-3.24/clients/gegps
Removed gpsd-3.24/include/gpsd_config.h
Removed gpsd-3.24/gpsd/crc24q.os
Removed gpsd-3.24/drivers/driver_greis_checksum.os
Removed gpsd-3.24/drivers/driver_rtcm2.os
Removed gpsd-3.24/libgps/gpspacket.os
Removed gpsd-3.24/gpsd/isgps.os
Removed gpsd-3.24/libgps/hex.os
Removed gpsd-3.24/libgps/os_compat.os
Removed gpsd-3.24/include/packet_names.h
Removed gpsd-3.24/gpsd/packet.os
scons: done cleaning targets.
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 2.02.186-2-.-2019-08-27- is an invalid version and will not be supported in a future release
warnings.warn(
scons: Reading SConscript files ...
scons version: 3.1.2
scons is running under Python version: 3.10.7.final.0
gpsd version: 3.24
This system is: linux
cc is gcc, version 12.2.1
Checking whether the C compiler works... yes
Checking if compiler accepts -pthread... no
Checking whether the C++ compiler works... yes
Checking for C header file curses.h... no
Turning off ncurses support, curses.h not found.
Checking pkg-config for libusb-1.0... yes
Checking for C library librt... no
Checking for C library libnsl... no
Checking for C library libsocket... no
Checking for C library libm... no
Checking for C library libthr... no
Checking pkg-config for dbus-1... yes
Checking pkg-config for bluez... no
Turning off Bluetooth support, library not found.
Checking for C type in_port_t... no
Did not find in_port_t typedef, assuming unsigned short int
Checking whether SUN_LEN is declared... yes
Checking for C header file linux/can.h... yes
You 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 whether __ORDER_BIG_ENDIAN__ is declared... yes
Checking whether __ORDER_LITTLE_ENDIAN__ is declared... yes
Checking whether __BYTE_ORDER__ is declared... yes
Your compiler has built-in endianness support.
Checking for C header file arpa/inet.h... yes
Checking for C header file linux/serial.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/sysmacros.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 FLT_EVAL_METHOD is 0... no
WARNING: FLT_EVAL_METHOD is not 0
Checking if strerror_r() returns int... no
Checking time_t is 8 bytes... yes
Checking for C function cfmakeraw()... no
Checking for C function clock_gettime()... no
Checking for C function daemon()... no
Checking for C function fcntl()... no
Checking for C function fork()... no
Checking for C function getopt_long()... no
Checking for C function gmtime_r()... no
Checking for C function inet_ntop()... no
Checking for C function strlcat()... no
Checking for C function strlcpy()... no
Checking for C function strnlen()... no
Checking for C function strptime()... no
Checking for C header file sys/timepps.h... no
Forcing magic_hat=no since RFC2783 API is unavailable
Checking whether TIOCMIWAIT is declared... yes
Checking for C library libdbus-1... no
libdbus-1 not found, dbus_export cannot be enabled.
WARNING: AsciiDoctor not found.
WARNING: Some documentation and html will not be built.
Checking pkg-config for QtNetwork... no
Turning off Qt support, library not found.
Checking if compiler accepts -Wall... no
Checking if compiler accepts -Wextra... no
Checking if compiler accepts --disable-excess-fp-precision... no
Checking if compiler accepts -fexcess-precision=standard... no
Checking if compiler accepts -Wcast-align... 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 -Wundef... no
Checking if compiler accepts -Wvla... no
Checking whether canplayer program exists...no
Checking whether coverage program exists.../usr/bin/coverage
Checking whether cppcheck program exists...no
Checking whether dia program exists...no
Checking whether flake8 program exists.../usr/bin/flake8
Checking whether pycodestyle program exists.../usr/bin/pycodestyle
Checking whether pylint program exists...no
Checking whether scan-build program exists.../usr/bin/scan-build
Checking whether tar program exists.../usr/bin/tar
Checking whether valgrind program exists.../usr/bin/valgrind
Program canplayer not found -- skipping NMEA 2000 tests
Program cppcheck not found -- skipping cppcheck checks
Program dia not found -- not rebuiding cycle.svg.
Program pylint not found -- skipping pylint checks
Checking whether python program exists.../usr/bin/python
Checking Python lib dir... /usr/lib/python3.10/site-packages
System PYTHONPATH is empty
Ensure your PYTHONPATH includes /usr/local/lib/python3.10/site-packages/
Checking Python config vars... ok
Checking Python target version... 3.10
Checking Python module serial (pyserial)...
WARNING: ubxtool and zerk are missing optional runtime module serial
Checking Python module cairo (pycairo)... found
Checking Python module gi (pygobject)... found
Checking pkg-config for gtk+-3.0... no
WARNING: gtk+-3.0 not found.
WARNING: xgps and xgpsspeed are missing runtime dependencies
Checking Python module matplotlib... found
Altered configuration variables:
bluez = False (default True): BlueZ support for Bluetooth devices
ncurses = False (default True): build with ncurses
qt = False (default True): build Qt bindings
magic_hat = False (default True): special Linux PPS hack for Raspberry Pi et al
manbuild = 0 (default auto): build help in man and HTML formats. No/Auto/Yes.
WARNING: ncurses not found, not building cgps or gpsmon.
NMEA2000 regression tests suppressed because rtcm104v2 is off or canplayer is missing.
scons: done reading SConscript files.
scons: Building targets ...
Creating 'gpsd-3.24/android/gpsd_config'
chmod -w gpsd-3.24/android/gpsd_config
Creating 'gpsd-3.24/gps/gps.py'
chmod -w gpsd-3.24/gps/gps.py
chmod +x gpsd-3.24/gps/gps.py
Creating 'gpsd-3.24/gps/__init__.py'
chmod -w gpsd-3.24/gps/__init__.py
chmod +x gpsd-3.24/gps/__init__.py
PylibLink(["gpsd-3.24/clients/gps"], [])
Creating 'gpsd-3.24/clients/gegps'
chmod -w gpsd-3.24/clients/gegps
chmod +x gpsd-3.24/clients/gegps
Creating 'gpsd-3.24/include/gpsd_config.h'
gcc -o gpsd-3.24/gpsd/crc24q.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/gpsd/crc24q.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/drivers/driver_greis_checksum.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/drivers/driver_greis_checksum.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/drivers/driver_rtcm2.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/drivers/driver_rtcm2.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/libgps/gpspacket.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/libgps/gpspacket.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/gpsd/isgps.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/gpsd/isgps.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/libgps/hex.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/libgps/hex.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/libgps/os_compat.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/libgps/os_compat.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
rm -f gpsd-3.24/include/packet_names.h && sed -e '/^ *\([A-Z][A-Z0-9_]*\),/s// "\1",/' < gpsd-3.24/include/packet_states.h > gpsd-3.24/include/packet_names.h && chmod a-w gpsd-3.24/include/packet_names.h
gcc -o gpsd-3.24/gpsd/packet.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/gpsd/packet.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/libgpsdpacket.so.29.0.1 -Wl,now -Wl,-z -Wl,relro -Wl,-sort-common -Wl,--enable-new-dtags -shared -Wl,-Bsymbolic -Wl,-soname=libgpsdpacket.so.29 gpsd-3.24/gpsd/crc24q.os gpsd-3.24/drivers/driver_greis_checksum.os gpsd-3.24/drivers/driver_rtcm2.os gpsd-3.24/libgps/gpspacket.os gpsd-3.24/gpsd/isgps.os gpsd-3.24/libgps/hex.os gpsd-3.24/libgps/os_compat.os gpsd-3.24/gpsd/packet.os -Lgpsd-3.24 -ldbus-1
/usr/bin/ld: cannot find now: No such file or directory
collect2: error: ld returned 1 exit status
scons: *** [gpsd-3.24/libgpsdpacket.so.29.0.1] Error 1
scons: building terminated because of errors.
WARNING: ncurses not found, not building cgps or gpsmon.
WARNING: xgps and xgpsspeed are missing runtime dependencies
WARNING: ubxtool and zerk are missing optional runtime module serial
Ensure your PYTHONPATH includes /usr/local/lib/python3.10/site-packages/
WARNING: AsciiDoctor not found.
WARNING: Some documentation and html will not be built.
Thats the log from the terminal, im sure i’ve managed to install the the critical dependency’s as listed on https://gpsd.gitlab.io/gpsd/building.html
The tutorial im vaguely following as its pretty much the same module is from https://gpswebshop.com/blogs/tech-support-by-os-linux/how-to-connect-an-usb-gps-receiver-with-a-linux-computer
Anyone got any guidance on how to install this hardware?