Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVS Release 5.3(arm64 ndk build failed) #18

Closed
webrtcman opened this issue Dec 10, 2019 · 1 comment
Closed

AVS Release 5.3(arm64 ndk build failed) #18

webrtcman opened this issue Dec 10, 2019 · 1 comment

Comments

@webrtcman
Copy link

webrtcman commented Dec 10, 2019

make WEBRTC_VER=72.local dist_android
armv7 is ok:
[armeabi-v7a] Compile++ thumb: avs <= flow_manager.cc
[armeabi-v7a] Compile++ thumb: avs <= media_manager.cc
[armeabi-v7a] Compile++ thumb: avs <= video_renderer.cc
[armeabi-v7a] Compile++ thumb: avs <= audio_effect.cc
[armeabi-v7a] SharedLibrary : libavs.so
[armeabi-v7a] Install : libavs.so => libs/armeabi-v7a/libavs.so

But arm64 is failed:
......

/home/ryan/wire-audio-video-signaling/build/toolchains/android-arm64/ndk/ndk-build -C android -I ../build/android-arm64
Android NDK: WARNING: APP_PLATFORM android-21 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will not be comptible with devices older than android-21. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
Android NDK: WARNING:jni/Android.mk:avs: non-system libraries in linker flags: -lavscore -lre -lrew -lsodium -lwebrtc -lc++_static -lc++abi
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

make[1]: Entering directory `/home/ryan/wire-audio-video-signaling/android'
[arm64-v8a] Compile++ : avs <= flow_manager.cc
[arm64-v8a] Compile++ : avs <= media_manager.cc
[arm64-v8a] Compile++ : avs <= video_renderer.cc
[arm64-v8a] Compile++ : avs <= audio_effect.cc
[arm64-v8a] SharedLibrary : libavs.so

/home/ryan/devtools/android-ndk-r16b/build/../sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libc++_static.a(locale.o): In function float std::__ndk1::__do_strtod<float>(char const*, char**)': /usr/local/google/buildbot/src/android/ndk-release-r16/external/libcxx/include/locale:807: undefined reference to strtof_l'
/home/ryan/devtools/android-ndk-r16b/build/../sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libc++_static.a(locale.o): In function double std::__ndk1::__do_strtod<double>(char const*, char**)': /usr/local/google/buildbot/src/android/ndk-release-r16/external/libcxx/include/locale:813: undefined reference to strtod_l'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [obj/local/arm64-v8a/libavs.so] Error 1
make[1]: Leaving directory `/home/ryan/wire-audio-video-signaling/android'
mk/dist.mk:149: recipe for target '/home/ryan/wire-audio-video-signaling/build/dist/android/avs.aar' failed
make: *** [/home/ryan/wire-audio-video-signaling/build/dist/android/avs.aar] Error 2

I had try NDK r16b 、r17、r18、r19、r20. All are same error.
I don't know how to solve this problem. who can help me? thanks.

@Freeverc
Copy link

Same Problem.Did you solve it?

lucendio added a commit that referenced this issue Jun 7, 2021
Merge pull request #18 from wireapp/sodiumoxide25

Bump sodiumoxide25
Making Protocol Buffers available on npmjs (#21)

Merge pull request #821 from mazong1123/master

Fixed issue #775. Mark the ConvertibleFromAny constructor as explicit, and fix operator overload issue for Unprintable
Prepare for 1.1.1g release

Reviewed-by: Richard Levitte <levitte@openssl.org>
add srtp_remove_stream
release librem 0.5.3 (#20)

trice_lcand_add with port-range (#10)

* trice_lcand_add with port-range

* Fix for PR comments from Alfred

* Fix ccheck errors

* and another fix for ccheck
Don't ignore azure-pipelines.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants