gpsd-users
[Top][All Lists]
Advanced

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

Re: open SHM data only after cgps start


From: Gary E. Miller
Subject: Re: open SHM data only after cgps start
Date: Fri, 5 Feb 2021 10:48:38 -0800

Yo Hans!

On Fri, 5 Feb 2021 12:08:18 +0100
Hans Kurscheidt <lve0200@gmail.com> wrote:

> may be I'm compiling/linking w/ a wrong lib.

Yup.

> I am confused here. I use the following link switches:
> 
> -Wl,-z,relro -Wl,-z,noexecstack -Wl,--no-undefined "g++" -l"pthread" 
> -l"wiringPi" -l"gps" -Wl,-z,now

Without knowing what you are building, hard to say.

> I see serveral libs from dpkg
> 
> ii  libgps-dev                         3.16-4 armhf                  
> Global Positioning System - development files
> ii  libgps22:armhf                     3.16-4 armhf                  
> Global Positioning System - library
> ii  libgps23:armhf                     3.17-7~bpo9+1 
> armhf                  Global Positioning System - library

Nope.  You do not want those.  Those are from 2016 and not compatible
with newer gpsd.  The gpsd source includes -lgps.

> Are these the right things supposed 2b there, once installed from
> Master source?

Nope.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  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: pgpGFOv9wMNV0.pgp
Description: OpenPGP digital signature


reply via email to

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