Skip to content
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.

Linker failed while linking libed25519_android.so. #9

Open
joelpou opened this issue Jul 25, 2017 · 1 comment
Open

Linker failed while linking libed25519_android.so. #9

joelpou opened this issue Jul 25, 2017 · 1 comment

Comments

@joelpou
Copy link

joelpou commented Jul 25, 2017

Hi,

I am getting the following error while attempting to build ECC-25519-Android project with Android Studio for the first time:

Error:Execution failed for task ':ecc-25519:linkEd25519_androidArmeabi-v7aDebugSharedLibrary'.

A build operation failed.
Linker failed while linking libed25519_android.so.

What am I missing? I've attached log file. Any help is appreciated. Thanks.
output.txt

@krusmir
Copy link

krusmir commented Jul 25, 2017

@pepelepoe The error is related to not finding -lm_hard. This flag was removed on NDK r15

You are probably using Android NDK r15 or higher, change your NDK to Android NDK r14 and it should work.

The hard float ABI was removed from the NDK in r12, but it still exists on r13 and r14. Only on r15 and moving forward it was officially removed.

Please see: https://android.googlesource.com/platform/ndk/+/master/docs/HardFloatAbi.md and https://groups.google.com/forum/#!topic/kaldi-help/cILizZfqHCk for similar discussions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants