Just a little correction in the above query:
We were actually using Lollipop instead of Marshmallow android version.With Warm Regards,
Vikas Sharma
Vikas Sharma
VVDN Technologies Pvt Ltd
Cell : 9971507491 | Skype : vsvikas2013
On Thu, Apr 28, 2016 at 10:59 PM, Vikas Sharma <vikas.sharma@xxxxxxxxxxx> wrote:
Below are the logcat traces.1)For APP_PLATFORM as Android-23 and Marshmallow as android version:HiWe want to run a PJSIP application on an Android device.We have successfully compiled the PJSIP on an ubuntu 14.04 system for android version.We are following the below link to build the PJSIP with openh264 and libyuv support for android version.
https://trac.pjsip.org/repos/wiki/Getting-Started/AndroidAndroid ndk: android-ndk-r11c-linux-x86_64.zipWe are facing following issues when we run the compiled PJSUA binary on android KITKAT/Marshmallow versions:
For this we are using android-23 as a TARGET while compiling openh264 and as an APP_PLATFORM while configuring PJSIP.But when we run the PJSUA binary on adb shell of the connected device(Marshmallow version),we get the below error.
"error: only position independent executables (PIE) are supported" [We tried to solve this error by modifying the CFLAGS value but no luck.We were not able to configure pjsip with -fPIC in CFLAGS]2)For APP_PLATFORM as Android-16 and KITKAT as android version:
For this we are using android-16 as a TARGET while compiling openh264 and as an APP_PLATFORM while configuring PJSIP.But when we run the pjsua binary on adb shell of the connected device(KITKAT version),we are getting segmentation fault.
V/XTWiFiOS( 1001): filter out passive location report
V/WLAN_PSA( 262): NL MSG, len[048], NL type[0x11] WNI type[0x5050] len[028]
V/WLAN_PSA( 262): NL MSG, len[048], NL type[0x11] WNI type[0x5050] len[028]
E/LocSvc_libulp( 1001): I/===> int ulp_msg_process_system_update(UlpSystemEvent) line 1460
E/LocSvc_libulp( 1001): I/int ulp_msg_process_system_update(UlpSystemEvent): systemEvent:5
E/LocSvc_libulp( 1001): I/===> int ulp_brain_process_system_update(UlpSystemEvent) line 2345
V/WLAN_PSA( 262): NL MSG, len[048], NL type[0x11] WNI type[0x5050] len[028]
F/libc (30123): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 30123 (pjsua-arm-unkno)
I/DEBUG ( 246): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 246): AM write failure (32 / Broken pipe)
I/DEBUG ( 246): Build fingerprint: 'qcom/msm8909_512/msm8909_512:4.4.4/KTU84P/eng.lnxbuild.20150331.214016:userdebug/test-keys'
I/DEBUG ( 246): Revision: '0'
I/DEBUG ( 246): pid: 30123, tid: 30123, name: pjsua-arm-unkno >>> ./pjsua-arm-unknown-linux-androideabi <<<
I/DEBUG ( 246): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
--------- beginning of /dev/log/system
W/NativeCrashListener( 1001): Couldn't find ProcessRecord for pid 30123Can somebody help us to solve the above issues or tell us the correct way to run pjsua binary on an android device?With Warm Regards,
Vikas SharmaVVDN Technologies Pvt LtdCell : 9971507491 | Skype : vsvikas2013
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org