设置路径!
export PATH=$PATH:/home/XXX/toolchain4/pre/bin
make sure the cross compiler tool chain can be found in the $PATH 这样才可以查找到arm-apple-darwin9-gcc等
PjSIP Compilation
Getting pjsip source code
1. Get PjSIP from subversion repository:
svn checkout http://svn.pjsip.org/repos/pjproject/trunk pjproject
2. Set your config_site.h (pjlib/include/pj/config_site.h) to the following:#define PJ_CONFIG_IPHONE 1 #include <pj/config_site_sample.h>This will activate iPhone specific settings in the config_site_sample.h.
Media device for ipod/iphone
pjMedia
Download iphonesound.c, and save in pjmedia/src/pjmedia directory.
Complete config.h file in pjmedia/include/pjmedia at line 59 with:
/** Constant for AudioQueue sound backend. */ #define PJMEDIA_SOUND_IPHONE_SOUND 3
Configuration
Complete aconfigure.ac file at line 57