Compiling pjsip for iOS 4.0

最后都变了- 提交于 2019-12-04 08:01:29
./configure-iphone

Fresh from SVN

Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h.

Further customizations can be put in:
  - 'user.mak'
  - 'pjlib/include/pj/config_site.h'

The next step now is to run 'make dep' and 'make'.

Done configuring for iPhoneOS4.2.sdk

Shouldn't ./configure-iphone setup pjlib/include/pj/config_site.h

As

#define PJ_CONFIG_IPHONE 1
#include <pj/config_site_sample.h>

Thanks for the fix @Schroedinger

The specific step you are missing is to have a config_site.h file in the proper location.

pjlib/include/pj/config_site.h

It needs to contain the following:

#define PJ_CONFIG_IPHONE 1
#include <pj/config_site_sample.h>

So the configuration will avoid libraries that are not needed or won't compile for the arm chip in the iPhone.

After this addition start over with:

./configure-iphone

and then

make dep && make clean && make
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!