gpsd-users
[Top][All Lists]
Advanced

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

open SHM data only after cgps start


From: Hans Kurscheidt
Subject: open SHM data only after cgps start
Date: Fri, 5 Feb 2021 14:59:57 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

Sorry, if I keep talking to myself here, but I'm crawling forward.

After I got gpsd running as service, I cleaned out all old references to libgps and libgps-dev and cleaned Visual Studio's cache.

Should be OK now.

There's no dpkg -l libgps* output anymore

VisualStudio finds the richgt gps.h under ../gpsd-master/..; there is no other gps.h somewhere.

and the linker points to so.28

ldconfig -p | grep gps
        libgpsdpacket.so.28 (libc6,hard-float) => /usr/local/lib/libgpsdpacket.so.28         libgpsdpacket.so (libc6,hard-float) => /usr/local/lib/libgpsdpacket.so
        libgps.so.28 (libc6,hard-float) => /usr/local/lib/libgps.so.28
        libgps.so (libc6,hard-float) => /usr/local/lib/libgps.so
        libQgpsmm.so.28 (libc6,hard-float) => /usr/local/lib/libQgpsmm.so.28
        libQgpsmm.so (libc6,hard-float) => /usr/local/lib/libQgpsmm.so

The compilation/linking is OK w/out errors or warnings and the executable is runable

BUT, I still have the old problem. (assume gpsd service running and fix available)

If I run my app after boot, No gps data is available and just once I got an error message, which I cannot reproduce, saying something like:

shared library error cannot ... data: No such file or directory

After running cgps once, data is available and remains 2b supplied to my app, even if I close cgps. This is reproduceable.

RGDS

hk




reply via email to

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