[pjsip] ISSUES While Running PJSUA Binary on ANDROID Device

Vikas Sharma vikas.sharma at vvdntech.in
Fri Apr 29 03:16:43 EDT 2016


Hi,

Can we have some workaround details on the above issues.

*With Warm Regards,*
Vikas Sharma
VVDN Technologies Pvt Ltd
*Cel*l* : *9971507491 | *Skype :* vsvikas2013

On Thu, Apr 28, 2016 at 11:12 PM, Vikas Sharma <vikas.sharma at vvdntech.in>
wrote:

> Just a little correction in the above query:
>
> *We were actually using Lollipop instead of Marshmallow android version.*
>
> *With Warm Regards,*
> Vikas Sharma
> VVDN Technologies Pvt Ltd
> *Cel*l* : *9971507491 | *Skype :* vsvikas2013
>
> On Thu, Apr 28, 2016 at 10:59 PM, Vikas Sharma <vikas.sharma at vvdntech.in>
> wrote:
>
>> Hi
>>
>> We 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/Android
>> <https://trac.pjsip.org/repos/wiki/Getting-Started/Android>*
>>
>>
>> *We are using below Android sdk and ndk versions:Android sdk:*
>> android-sdk_r24.4.1-linux.tgz
>> <http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz>
>> *Android ndk:* android-ndk-r11c-linux-x86_64.zip
>> <http://dl.google.com/android/repository/android-ndk-r11c-linux-x86_64.zip>
>>
>> *We are facing following issues when we run the compiled PJSUA binary on
>> android KITKAT/Marshmallow versions:*
>>
>> *1)For APP_PLATFORM as Android-23 and Marshmallow as android version:*
>> 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.*
>>
>> *Below are the logcat traces.*
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *V/XTWiFiOS( 1001): filter out passive location reportV/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/systemW/NativeCrashListener( 1001):
>> Couldn't find ProcessRecord for pid 30123*
>>
>> *Can 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 Sharma
>> VVDN Technologies Pvt Ltd
>> *Cel*l* : *9971507491 | *Skype :* vsvikas2013
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20160429/9996f962/attachment-0002.html>


More information about the pjsip mailing list