Configuration work. Make has compilation errors as follows:
s
mrg@linux-yxjo:/usr/local/src/foxtrotgps/foxtrotgps-1.2.2> make
make all-recursive
make[1]: Entering directory '/usr/local/src/foxtrotgps/foxtrotgps-1.2.2'
Making all in po
make[2]: Entering directory '/usr/local/src/foxtrotgps/foxtrotgps-1.2.2/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/local/src/foxtrotgps/foxtrotgps-1.2.2/po'
Making all in src
make[2]: Entering directory '/usr/local/src/foxtrotgps/foxtrotgps-1.2.2/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR="\"/usr/local/share\"" -DPACKAGE_PIXMAPS_DIR="\"/usr/local/share/pixmaps\"" -DPACKAGE_LOCALE_DIR="\"/usr/local/share/locale\"" -DPACKAGE_HTML_DIR="\"/usr/local/share/doc/foxtrotgps\"" -DPACKAGE_LIBEXEC_DIR="\"/usr/local/lib/foxtrotgps\"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libxml2 -g -O2 -MT gps_functions.o -MD -MP -MF .deps/gps_functions.Tpo -c -o gps_functions.o gps_functions.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from globals.h:6,
from gps_functions.c:20:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:23,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from globals.h:6,
from gps_functions.c:20:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
679 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126,
from globals.h:6,
from gps_functions.c:20:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from gps_functions.c:7:
/usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here
551 | struct _GTimeVal
| ^~~~~~~~~
gps_functions.c: In function ‘cb_gpsd_data’:
gps_functions.c:756:23: error: incompatible types when assigning to type ‘double’ from type ‘timespec_t’ {aka ‘struct timespec’}
756 | gpsdata->fix.time = libgps_gpsdata.fix.time;
| ^~~~~~~~~~~~~~
gps_functions.c:761:35: error: ‘struct gps_data_t’ has no member named ‘status’
761 | gpsdata->valid = (libgps_gpsdata.status != STATUS_NO_FIX);
| ^
make[2]: *** [Makefile:537: gps_functions.o] Error 1
make[2]: Leaving directory '/usr/local/src/foxtrotgps/foxtrotgps-1.2.2/src'
make[1]: *** [Makefile:506: all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/foxtrotgps/foxtrotgps-1.2.2'
make: *** [Makefile:417: all] Error 2
Appologies. I am using Opensuse 15.2 lp152.66- default #1 SMP Tue Mar 2 13:18:19 UTC 2021 (73933a3) x86_64 x86_64 x86_64 GNU/Linux
5.3.18-