[Top][All Lists]

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

Re: [gpsd-dev] GPSD for AOSP

From: Gary E. Miller
Subject: Re: [gpsd-dev] GPSD for AOSP
Date: Wed, 31 Oct 2018 13:05:05 -0700


On Wed, 31 Oct 2018 12:34:54 +0100
ABOU ZID Ahmed <address@hidden> wrote:

> I tried to push a cross compiled GPSD to AOSP

An odd choice of files.  AFAIK AOPS does not run systemd.

> But it seems that it’s not working. Can’t start it. I have a weird
> error : “gpsd no such file or directory”

How did you try to start it?

> but the gpsd is correctly
> preen I use some rules to put it on the system image on /system/bin.

I do not know what 'preen' is?

> So, I need to know which file are compiled for that part.

You already have that.

Just look at the files that got compiled in your cross compile.  Same

Here is what you should have see.  First the libgpsd:

ar rc libgpsd.a bsd_base64.o crc24q.o driver_ais.o driver_evermore.o 
driver_garmin.o driver_garmin_txt.o driver_geostar.o driver_greis.o 
driver_greis_checksum.o driver_italk.o driver_navcom.o driver_nmea0183.o 
driver_nmea2000.o driver_oncore.o driver_rtcm2.o driver_rtcm3.o drivers.o 
driver_sirf.o driver_skytraq.o driver_superstar2.o driver_tsip.o driver_ubx.o 
driver_zodiac.o geoid.o gpsd_json.o isgps.o libgpsd_core.o matrix.o 
net_dgpsip.o net_gnss_dispatch.o net_ntrip.o ntpshmread.o ntpshmwrite.o 
packet.o ppsthread.o pseudoais.o pseudonmea.o serial.o subframe.o timebase.o 

Then gpsd itself:

gcc -o gpsd -pthread dbusexport.o gpsd.o shmexport.o timehint.o sd_socket.o -L. 
-lgpsd -lgps_static -lusb-1.0 -lbluetooth -lm -lrt -ldbus-1

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: pgp0C9dxLJ33B.pgp
Description: OpenPGP digital signature

reply via email to

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