BelledonneCommunications / linphone-sdk

Mirror for linphone-sdk (https://gitlab.linphone.org/BC/public/linphone-sdk.git)
GNU Affero General Public License v3.0
105 stars 81 forks source link

Build Error for android linphone-sdk #49

Open rjsuzuki opened 4 years ago

rjsuzuki commented 4 years ago

[ 72%] Forcing build for 'EP_belr' [ 73%] Performing build step for 'EP_belr' [ 50%] Built target belr [ 58%] Linking CXX executable belr-parse /Users/ryansuzuki/Library/Android/sdk/ndk/20.0.5594570/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: warning: liblog.so, needed by /Users/ryansuzuki/StudioProjects/linphone-android/linphone-sdk/linphone-sdk/android-arm64/lib/libbctoolbox.so, not found (try using -rpath or -rpath-link) /Users/ryansuzuki/StudioProjects/linphone-android/linphone-sdk/linphone-sdk/android-arm64/lib/libbctoolbox.so: undefined reference to `__android_log_assert' clang++: error: linker command failed with exit code 1 (use -v to see invocation) make[8]: [tools/belr-parse] Error 1 make[7]: [tools/CMakeFiles/belr-parse.dir/all] Error 2 make[6]: [all] Error 2 make[5]: [/Users/ryansuzuki/StudioProjects/linphone-android/linphone-sdk/WORK/android-arm64/Stamp/EP_belr/EP_belr-build] Error 2 make[4]: [CMakeFiles/EP_belr.dir/all] Error 2 make[3]: [all] Error 2 make[2]: [android-arm64-prefix/src/android-arm64-stamp/android-arm64-build] Error 2 make[1]: [CMakeFiles/android-arm64.dir/all] Error 2 make: *** [all] Error 2

NDK 20 and NDK 21 both create the same error. release version 4.4

I can't manage to build a successful sdk - please advise.

zxpgo commented 3 years ago

how to solve?