Does any one know the process to create the pjsip library (.a) file for iPhone SDK 4 on snow leopard? I have tried to create the file using the steps using which i have created .a file for leopard and iPhone SDK 3.0, it shows the error -
for dir in pjlib pjlib-util pjnath third_party pjmedia pjsip pjsip-apps; do \
if make -C $dir/build all; then \
true; \
else \
exit 1; \
fi; \
done
make -f /pjp/pjproject-1.0/build/rules.mak APP=PJLIB app=pjlib ../lib/libpj-arm-apple-darwin9.a
make[2]: *** No rule to make target `/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/stddef.h', needed by `output/pjlib-arm-apple-darwin9/ioqueue_select.o'. Stop.
make[1]: *** [pjlib] Error 2
make: *** [all] Error 1
for dir in pjlib pjlib-util pjnath third_party pjmedia pjsip pjsip-apps; do \
if make -C $dir/build all; then \
true; \
else \
exit 1; \
fi; \
done
make -f /pjp/pjproject-1.0/build/rules.mak APP=PJLIB app=pjlib ../lib/libpj-arm-apple-darwin9.a
make[2]: *** No rule to make target `/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/stddef.h', needed by `output/pjlib-arm-apple-darwin9/ioqueue_select.o'. Stop.
make[1]: *** [pjlib] Error 2
make: *** [all] Error 1
ar: _up/pjsua/main.o: No such file or directory
ar: _up/pjsua/pjsua_app.o: No such file or directory