gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Shared memory interface with gpsd restart results in no


From: Gary E. Miller
Subject: Re: [gpsd-users] Shared memory interface with gpsd restart results in no data for client
Date: Fri, 15 Jun 2018 16:13:41 -0700

Yo Charles!

On Fri, 15 Jun 2018 17:05:17 -0600
Charles Curley <address@hidden> wrote:

> On Fri, 15 Jun 2018 15:31:02 -0700
> "Gary E. Miller" <address@hidden> wrote:
> 
> > > 1.  the static tick in shmexport.c does not work if gpsd is
> > > restarted (at least with a client attached to the shared
> > > memory)    
> > 
> > NONE of the gpsd clients survive a gpsd restart.  Been working on
> > that.  
> 
> Not entirely. My GnomeGPS minimal brain-dead client does survive a
> gpsd restart.

Oh, I was thinking gpsd included clients.

> https://github.com/charlescurley/gnome-gps

I grabbed a copy, does not compile for me:

# make
cd src && make production
make[1]: Entering directory '/u/local/src/GPS/gnome-gps/src'
gcc -O2 -o gnome-gps.o -Wall -c -Wno-deprecated-declarations gnome-gps.c 
`pkg-config --cflags --libs gtk+-2.0 libgps`
gnome-gps.c:32:2: error: #error Unknown gps API protocol version; see gps.h for 
the current value of GPSD_API_MAJOR_VERSION
 #error Unknown gps API protocol version; see gps.h for the current value of 
GPSD_API_MAJOR_VERSION
  ^~~~~
make[1]: *** [Makefile:26: gnome-gps.o] Error 1
make[1]: Leaving directory '/u/local/src/GPS/gnome-gps/src'
make: *** [Makefile:5: production] Error 2

You want to check the version at runtime, not when you compile.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgpbyib9WFISR.pgp
Description: OpenPGP digital signature


reply via email to

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