gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Garmin 18X LVC and upcoming week rollover


From: Rich Wales
Subject: Re: [gpsd-users] Garmin 18X LVC and upcoming week rollover
Date: Sat, 30 Nov 2019 23:07:24 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

I'm trying to build gpsd from the Git code, and I'm having problems.
(This is an Ubuntu 18.04 system.)

See below for the output from when I run scons.

I'm particularly perplexed, right off the bat, with the error claiming
CC doesn't work -- I do have gcc 7.4.0 installed.

And in an earlier build attempt (before I installed a bunch of missing
things), which actually made it further than this, I got errors while
linking gpsd, complaining about numerous missing math functions.

Suggestions, anyone?  Am I perhaps missing some prerequisite packages?

Rich

========================================================================

scons: Reading SConscript files ...
This system is: linux2
Checking whether the C compiler works... (cached) no
ERROR: CC doesn't work
Checking if compiler accepts -pthread... (cached) no
Checking whether the C++ compiler works... (cached) no
C++ doesn't work, suppressing libgpsmm build.
Checking for C header file curses.h... (cached) no
Turning off ncurses support, curses.h not found.
Checking pkg-config for libusb-1.0... (cached) no
Checking for C library librt... (cached) no
Checking for C library libm... (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... (cached) no
SUN_LEN is not system-defined, using local definition
Checking for C header file linux/can.h... (cached) no
You do not have kernel CANbus available.
Checking if compiler is C11... (cached) no
Checking for C header file libkern/OSAtomic.h... (cached) no
No memory barriers - SHM export and time hinting may not be reliable.
Checking if compiler supplies __ORDER_BIG_ENDIAN__... (cached) no
Checking for C header file endian.h... (cached) no
Checking for C header file sys/endian.h... no
Checking for C header file machine/endian.h... no
You do not have the endian.h header file. RTCM V2 support disabled.
Checking for C header file arpa/inet.h... no
Checking for C header file netdb.h... no
Checking for C header file netinet/in.h... no
Checking for C header file netinet/ip.h... no
Checking for C header file sys/sysmacros.h... no
Checking for C header file sys/socket.h... no
Checking for C header file sys/un.h... no
Checking for C header file syslog.h... no
Checking for C header file termios.h... no
Checking for C header file winsock2.h... no
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 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 strptime()... no
Checking for C function sincos()... no
Checking for C function __sincos()... no
Checking for C header file sys/timepps.h... no
Forcing magic_hat=no since RFC2783 API is unavailable
Checking if sys/ioctl.h supplies TIOCMIWAIT... (cached) no
Neither TIOCMIWAIT nor RFC2783 API is available)
Checking that xsltproc can make man pages... (cached) no
Checking pkg-config for QtNetwork... (cached) no
Turning off Qt support, library not found.
Checking if compiler accepts -Wall... (cached) no
Checking if compiler accepts -Wcast-align... (cached) no
Checking if compiler accepts -Wextra... (cached) no
Checking if compiler accepts -Wimplicit-fallthrough... (cached) no
Checking if compiler accepts -Wmissing-declarations... (cached) no
Checking if compiler accepts -Wmissing-prototypes... (cached) no
Checking if compiler accepts -Wno-missing-field-initializers... (cached) no
Checking if compiler accepts -Wno-uninitialized... (cached) no
Checking if compiler accepts -Wpointer-arith... (cached) no
Checking if compiler accepts -Wreturn-type... (cached) no
Checking if compiler accepts -Wstrict-prototypes... (cached) no
Checking if compiler accepts -Wvla... (cached) 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
{'OPT': '-DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes',
'BASECFLAGS': '-fno-strict-aliasing', 'CC': 'x86_64-linux-gnu-gcc
-pthread', 'CXX': 'x86_64-linux-gnu-g++ -pthread', 'SO': '.so',
'LDFLAGS': '-Wl,-Bsymbolic-functions -Wl,-z,relro', 'LDSHARED':
'x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g
-fdebug-prefix-map=/build/python2.7-PPrPZj/python2.7-2.7.15=.
-fstack-protector-strong -Wformat -Werror=format-security  ',
'CCSHARED': '-fPIC', 'INCLUDEPY': '/usr/include/python2.7'}
Altered configuration variables:
nmea2000 = False (default True): NMEA2000/CAN support
rtcm104v2 = False (default True): rtcm104v2 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
magic_hat = False (default True): special Linux PPS hack for Raspberry
Pi et al
WARNING: not building cgps or gpsmon
WARNING: Python too old: gps/aiogps.py will not be installed

RTCM2 regression tests suppressed because rtcm104v2 is off.
Part of the website build requires asciidoc, not installed.
scons: done reading SConscript files.
scons: Building targets ...
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
/secure/home/richw/src/gpsd > gps_maskdump.c && chmod a-w gps_maskdump.c
gcc -o gps_maskdump.os -c -O2 -fPIC gps_maskdump.c
In file included from gps_maskdump.c:13:0:
gpsd.h:297:5: error: unknown type name 'speed_t'
     speed_t fixed_port_speed;           // Fixed port speed, if non-zero
     ^~~~~~~
gpsd.h:1062:23: warning: 'struct termios' declared inside parameter list
will not be visible outside of this definition or declaration
 void cfmakeraw(struct termios *);
                       ^~~~~~~
scons: *** [gps_maskdump.os] Error 1
scons: building terminated because of errors.

========================================================================



reply via email to

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