Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

warning: shared library text segment is not shareable error: treating warnings as errors #65

Open
Mahendra-Gohil opened this issue Aug 21, 2018 · 0 comments

Comments

@Mahendra-Gohil
Copy link

i'm getting these error while building ndk tool
Please let me know how to remove below errors.

Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
[armeabi-v7a] SharedLibrary : libffmpeg.so
I:/ndk-native-lib/android-ndk-r15b-windows-x86_64/android-ndk-r15b/build//../toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: warning: shared library text segment is not shareable
I:/ndk-native-lib/android-ndk-r15b-windows-x86_64/android-ndk-r15b/build//../toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: treating warnings as errors
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [G:/yt-watchme-master/app/src/main/obj/local/armeabi-v7a/libffmpeg.so] Error 1

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

1 participant