OSVR-Android-Build icon indicating copy to clipboard operation
OSVR-Android-Build copied to clipboard

ShieldTV: error, only position independent executables (PIE) are supported.

Open JeroMiya opened this issue 9 years ago • 1 comments
trafficstars

From a support ticket:

When a user tried running the server from the adb shell, they get this error: "error: only position independent executables (PIE) are supported."

This was on a Shield TV device with an HDK attached.

Related stack overflow question: http://stackoverflow.com/questions/24818902/running-a-native-library-on-android-l-error-only-position-independent-executab

Can't reproduce on the LG G4 or the Galaxy S6. Is it specific to the ShieldTV?

JeroMiya avatar May 03 '16 17:05 JeroMiya

I have the hardware to test but am really struggling on working out how to compile osvr-android-build from source.

Does adding an emulated device in the device emulator configured for shield tv specs in android studio not help you out in seeing what is going wrong?

Balderick avatar May 16 '17 17:05 Balderick