Hello,
I try to compile the pjsip lib for iphone SDK 3.2, but I get an error which I have no solution.
Code:
export DEV=/Developer/Platforms/iPhoneOS.platform/Developer
export SDK=${DEV}/SDKs/iPhoneOS3.2.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"
pushd ${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
popd
./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
I Get :
Code:
In file included from ../include/pj/log.h:29,
from ../src/pj/ioqueue_select.c:32:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
In file included from ../src/pj/ioqueue_select.c:32:
../include/pj/log.h:144: error: syntax error before ‘va_list’
make[2]: *** [output/pjlib-arm-apple-darwin10/ioqueue_select.o] Error 1
make[1]: *** [pjlib] Error 2
make: *** [all] Error 1
Have you succeed to compilier for this version?
Thanks