Android NDK error r10d

I am trying to compile some media library that uses some part of ffmpeg. I have the following errors:

/home/pro/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: conditional branch to PLT in THUMB-2 not supported yet. libavcodec/arm/videodsp_armv5te.S:29: error: unexpected opcode while processing relocation R_ARM_THM_JUMP19 clang++: error: linker command failed with exit code 1 (use -v to see invocation)

      

Application.mk file

APP_STL := gnustl_shared
APP_PLATFORM := android-9
APP_ABI := armeabi-v7a
NDK_TOOLCHAIN_VERSION=clang

      

On NDK r9c I have not experienced such errors. Any help, suggestions ...

+3


source to share


1 answer


Ok, so I had the same problem.

You need to use this Android NDK: Version 10e (May 2015)



You can download here: https://developer.android.com/ndk/downloads/older_releases.html

which works for me.

0


source







All Articles