Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook

Re: PJSIP Build

Yes, for both Simulator and Playbook:

/Developer/SDKs/bbndk-2.0.0-beta3/target//qnx6/armle-v7/usr/lib/libcrypto.so
/Developer/SDKs/bbndk-2.0.0-beta3/target//qnx6/armle-v7/usr/lib/libcrypto.so.2
/Developer/SDKs/bbndk-2.0.0-beta3/target//qnx6/x86/usr/lib/libcrypto.so
/Developer/SDKs/bbndk-2.0.0-beta3/target//qnx6/x86/usr/lib/libcrypto.so.2

Please use plain text.
BlackBerry Development Advisor
anhu
Posts: 54
Registered: ‎10-26-2011
My Device: Playbook

Re: PJSIP Build

Hi Bob, 

 

I believe you are looing for OpenSSL's libcrypto.  

Please have a look at your script. 

You specify to look in the ${QNX_TARGET}/armle-v7/lib for libraries. 

I think you might also need to specify that they need to look in ${QNX_TARGET}/armle-v7/usr/lib as well. 

 

Hopefully this helps.  

Best regards, 

Anthony 

 

Please use plain text.
Contributor
bobcripps
Posts: 16
Registered: ‎12-14-2011
My Device: Simulator

Re: PJSIP Build

[ Edited ]

Ok cheers moved the problem a lot further on now.

I've also had to explicitly link in libc thus:

LDFLAGS=" -L${QNX_TARGET}/armle-v7/lib -L{$QNX_TARGET}/armle-v7/usr/lib -lc"

 

So now I get errors in the PJ code which I'll see if I can get help on

{code}

/opt/qnx650/host/linux/x86/usr/bin/ntoarmv7-ld: warning: cannot find entry symbol _start; defaulting to 00102e50
../lib/libpj-arm-unknown-nto-qnx6.5.0eabi.a(os_timestamp_common.o): In function `get_elapsed':
/home/bcripps/dev/qcc-pj/pjproject-2.0-beta/pjlib/build/../src/pj/os_timestamp_common.c:36: undefined reference to `__aeabi_l2d'
../lib/libpj-arm-unknown-nto-qnx6.5.0eabi.a(os_timestamp_common.o): In function `elapsed_msec':
/home/bcripps/dev/qcc-pj/pjproject-2.0-beta/pjlib/build/../src/pj/os_timestamp_common.c:61: undefined reference to `__aeabi_l2d'
../lib/libpj-arm-unknown-nto-qnx6.5.0eabi.a(os_timestamp_common.o): In function `elapsed_usec':
/home/bcripps/dev/qcc-pj/pjproject-2.0-beta/pjlib/build/../src/pj/os_timestamp_common.c:92: undefined reference to `__aeabi_l2d'
../lib/libpj-arm-unknown-nto-qnx6.5.0eabi.a(os_timestamp_common.o): In function `pj_elapsed_nanosec':
/home/bcripps/dev/qcc-pj/pjproject-2.0-beta/pjlib/build/../src/pj/os_timestamp_common.c:123: undefined reference to `__aeabi_l2d'
make[2]: *** [../bin/pjlib-test-arm-unknown-nto-qnx6.5.0eabi] Error 1

{code}

 

My full scripts is now

 

{code}
RANLIB="${QNX_HOST}/usr/bin/ntoarmv7-ranlib " \
CPP="${QNX_HOST}/usr/bin/qcc -V4.4.2,gcc_ntoarmv7le_cpp -E "\
CC="${QNX_HOST}/usr/bin/qcc -V4.4.2,gcc_ntoarmv7le_cpp " \
LD="${QNX_HOST}/usr/bin/ntoarmv7-ld " \
LDFLAGS=" -L${QNX_TARGET}/armle-v7/lib -L{$QNX_TARGET}/armle-v7/usr/lib -lc" \
CFLAGS=" -g " \
./configure --build=i686-pc-linux \
--host=arm-unknown-nto-qnx6.5.0eabi \
--disable-audio \
--disable-oss \
--disable-speex-aec \
--disable-g711-codec \
--disable-l16-codec \
--disable-gsm-codec \
--disable-g722-codec \
--disable-g7221-codec \
--disable-speex-codec \
--disable-sdl \
--disable-ffmpeg \
--disable-v4l2 \
--disable-ilbc-codec \
--disable-oss \
--disable-speex-aec \
--disable-g711-codec \
--disable-l16-codec \
--disable-gsm-codec \
--disable-g722-codec \
--disable-g7221-codec \
--disable-speex-codec \
--disable-sdl \
--disable-ffmpeg \
--disable-v4l2 \
--disable-ilbc-codec

{code}

 

There was a PJSIP post which suggested "export AR+=-rcs" - I then ran my script but the error is the same despite

the variable being set in the auto mak files after ./configure

All help appreciated

Cheers

Bob

 

Please use plain text.
Contributor
Sad_Bird
Posts: 30
Registered: ‎12-02-2010
My Device: BlackBerry 8520

Re: PJSIP Build

Pretty old thread, So did you guys managed to workout the PJSIP for BB10? any sample key points or the steps to do it.

 

Since PJSIP has ported the their library for BB10 too, but I couldn't find any helping material, post, sample project or anything which tells something about adding PJSIP to your BB10 project.

Any help/hints/links would be appriciated.

Adil Soomro

Please use plain text.
Regular Contributor
ashish_developer
Posts: 96
Registered: ‎05-15-2013
My Device: blackberry z10

Re: PJSIP Build

hi,

i am facing the problem in building a pjsip project.

here is my console output:

/opt/bbndk/host_10_1_0_132/linux/x86/usr/bin/ntox8

6-ld: skipping incompatible /opt/bbndk/target_10_1_0_1020/qnx6/x86/usr/lib/libminiupnpc.a when searching for -lminiupnpc
/opt/bbndk/host_10_1_0_132/linux/x86/usr/bin/ntox86-ld: skipping incompatible /opt/bbndk/target_10_1_0_1020/qnx6/x86/lib/libminiupnpc.a when searching for -lminiupnpc
/opt/bbndk/host_10_1_0_132/linux/x86/usr/bin/ntox86-ld: skipping incompatible /opt/bbndk/target_10_1_0_1020/qnx6/x86/usr/lib/libminiupnpc.a when searching for -lminiupnpc
/opt/bbndk/host_10_1_0_132/linux/x86/usr/bin/ntox86-ld: skipping incompatible /opt/bbndk/target_10_1_0_1020/qnx6/x86//lib/libminiupnpc.a when searching for -lminiupnpc
/opt/bbndk/host_10_1_0_132/linux/x86/usr/bin/ntox86-ld: skipping incompatible /opt/bbndk/target_10_1_0_1020/qnx6/x86//usr/lib/libminiupnpc.a when searching for -lminiupnpc
/opt/bbndk/host_10_1_0_132/linux/x86/usr/bin/ntox86-ld: cannot find -lminiupnpc
cc: /opt/bbndk/host_10_1_0_132/linux/x86/usr/bin/ntox86-ld error 1
make[2]: *** [o-g/fiume] Error 1
make[1]: *** [debug] Error 2
make: *** [Simulator-Debug] Error 2

**** Build Finished ****
it is pjsip based project...plz help i have linked this library in my .pro file with  -lminiupnpc

Please use plain text.