build webrtc with pjsip failed

142 views
Skip to first unread message

raveendra battala

unread,
Apr 11, 2021, 8:39:23 AM4/11/21
to discuss-webrtc
Hi ,

I am trying to build pjproject-2.10 with the following configurations and webrtc shared library is  building failed with the following errors. could you share the reason for this build issues?

PJPROJECT configuration:
==========================
TARGET_ABI=arm64-v8a  ./configure-android --use-ndk-cflags  --enable-shared --disable-gsm-codec --disable-ilbc-codec --disable-g7221-codec --disable-resample --disable-libyuv

ANDROID_NDK_ROOT=/home/admin/Downloads/android-ndk-r21e

/usr/bin/ld: output/libwebrtc-aarch64-unknown-linux-android/modules/audio_processing/aec/aec_core.o: error adding symbols: file in wrong format

clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/home/admin/Downloads/pjproject-2.10/build/rules.mak:113: ../../lib/libwebrtc.so.2] Error 1
make[3]: Leaving directory '/home/admin/Downloads/pjproject-2.10/third_party/build/webrtc'
make[2]: *** [Makefile:89: libwebrtc.so] Error 2
make[2]: Leaving directory '/home/admin/Downloads/pjproject-2.10/third_party/build/webrtc'
make[1]: *** [Makefile:7: all] Error 1
make[1]: Leaving directory '/home/admin/Downloads/pjproject-2.10/third_party/build'
make: *** [Makefile:14: all] Error 1

Thanks&Regards,
Raveendra

Reply all
Reply to author
Forward
0 new messages