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

Posts: 18
Registered: ‎10-12-2012
My Device: Playbook
My Carrier: none

Porting Web Service Framework - Help needed please!

[ Edited ]

I'm trying to port wsf cpp soap library to bb10 so I can use it without much success, I'm hoping I can get some help from far more knowledgeable people than me on here, so here goes:

- Download and extract wsf cpp:

http://dist.wso2.org/products/wsf/cpp/2.1.0/wso2-wsf-cpp-src-2.1.0.zip or http://wso2.com/products/web-services-framework/cpp/ (enter some random details on the right hand side to download).

- Then

cd path/to/wso2-wsf-cpp-src-2.1.0

- Setup ndk environment by running

source path/to/bbndk-env.sh

- Setup the porting environment (just copy paste into the same shell):
RANLIB="${QNX_HOST}/usr/bin/ntoarmv7-ranlib "
CPP="${QNX_HOST}/usr/bin/qcc -V4.6.3,gcc_ntoarmv7le -E "
CC="${QNX_HOST}/usr/bin/qcc -V4.6.3,gcc_ntoarmv7le "
LD="${QNX_HOST}/usr/bin/ntoarmv7-ld "
CPPFLAGS="-D__PLAYBOOK__ -D__QNXNTO__ -D_GNU_SOURCE -I/home/tux/dev/bbndk10_0_09/target_10_0_9_1673/qnx6/usr/include"
CFLAGS=" -g -fPIC -fstack-protector-strong"
LDFLAGS="-L${QNX_TARGET}/armle-v7/lib -L${PREFIX}/lib -lpthread -lc -lscreen -lasound -lpps -lm -lpng14 -lbps -lEGL -lGLESv2 -Wl,-z,relro -Wl,-z,now -pie"

- then configure:

./configure --enable-openssl --enable-savan=no --prefix=../wsf_bb10_ssl --build=i686-pc-linux --host=arm-unknown-nto-qnx8.0.0eabi

Notice that I don't need savan, but DO need ssl.

- Now make:

I'm unable to solve the errors I get

my configure output is here:


and my make output is here (full - too big for pastebin):


and my make output is here (small):



Really really hoping someone can help me out!


Immediatley I notieced the following in my config.log:

configure:21247: result: yes
configure:21260: WARNING: net/if_dl.h: present but cannot be compiled
configure:21262: WARNING: net/if_dl.h: check for missing prerequisite headers?
configure:21264: WARNING: net/if_dl.h: see the Autoconf documentation
configure:21266: WARNING: net/if_dl.h: section "Present But Cannot Be Compiled"
configure:21268: WARNING: net/if_dl.h: proceeding with the preprocessor's result
configure:21270: WARNING: net/if_dl.h: in the future, the compiler will take precedence


see full log here:


Please use plain text.