gpsd-users
[Top][All Lists]
Advanced

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

[gpsd-users] Cross Compile for Android


From: robberer
Subject: [gpsd-users] Cross Compile for Android
Date: Tue, 01 Mar 2016 12:04:28 +0100
User-agent: Posteo Webmail

Good Day,

I'm trying to get gpsd on my Android phone. So far the compilation process succeeded.

I have the gps* binaries and a libgps.a .

If I run the binaries on my phone I get:

-bash: /data/local/bin/gpsctl: No such file or directory

with strace:

execve("bin/gpsctl", ["bin/gpsctl"], [/* 25 vars */]) = -1 ENOENT (No such file or directory) write(2, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
exit_group(1)                           = ?
+++ exited with 1 +++

Hmm...

----------------------------------------------------

# cat .scons-option-cache
ncurses = False
libgpsmm = False
shared = False
python = False
prefix = '/data/local'
target = 'arm-linux-gnueabi'
sysroot = '/root/android/sysroot'


# file gpsd
gpsd: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=7c38f9d8a7a2d7545059ddfb41efc9abd19de6b0, not stripped

----------------------------------------------------

What makes me thinking is the output from `readelf -a gpsd`

[Requesting program interpreter: /lib/ld-linux.so.3]

I do not have such a file on my Android phone. What am I missing ? is it possible to get static binaries with ALL libs included ?

kind regards,
Longrin






reply via email to

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