Right now instead of using the configure-iphone method I use the
conversion files I found in this link :
http://www.piemontewireless.net/PJSip155_and_iPhoneSDK312#Compilation
using the trunk 1.60 and sdk 4.0 I got the following error when I do
make:
make[2]: *** [../lib/libpj-arm-apple-darwin10.a] Error 1
make[1]: *** [pjlib] Error 2
make: *** [all] Error 1
I really dont know what to do.
I dont know if this will help but it is my only difference between
the link and what I'm using :
export DEV=/Developer/4.0/Platforms/iPhoneOS.platform/Developer
export SDK=${DEV}/SDKs/iPhoneOS4.0.sdk
export PATH=${DEV}/usr/bin:${PATH}
export CFLAGS="-O2 -arch armv6 -isysroot ${SDK}"
export LDFLAGS="-O2 -arch armv6 -isysroot ${SDK}"
export CPP="${DEV}/usr/bin/cpp"
cd ${DEV}/usr/bin
ln -s arm-apple-darwin10-gcc-4.0.1 arm-apple-darwin10-gcc
ln -s arm-apple-darwin10-g++-4.0.1 arm-apple-darwin10-g++
ln -s ranlib arm-apple-darwin10-ranlib
./aconfigure --host=arm-apple-darwin10 --disable-speex-aec \
--disable-speex-codec --disable-l16-codec --disable-g722-codec \
--disable-ilbc-codec --disable-ssl
make dep
make