0
我想編譯從http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone。PJSIP未定義的符號體系結構Armv7
cd /path/to/your/pjsip/dir
$ ./configure-iphone
$ make dep && make clean && make
我得到以下未定義的符號錯誤。
Undefined symbols for architecture armv7:
"_pjmedia_avi_streams_get_num_streams", referenced from:
_app_init in pjsua_app.o
_reset_dev_info in libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)
"_pjmedia_avi_streams_get_stream", referenced from:
_app_init in pjsua_app.o
_reset_dev_info in libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)
"_pjmedia_vid_register_factory", referenced from:
_pjmedia_avi_dev_create_factory in libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)
"_pjmedia_vid_dev_get_local_index", referenced from:
_pjmedia_avi_dev_get_param in libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)
_pjmedia_avi_dev_free in libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)
"_pjmedia_vid_dev_get_global_index", referenced from:
_pjmedia_avi_dev_alloc in libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)
"_pjmedia_avi_player_create_streams", referenced from:
_pjmedia_avi_dev_alloc in libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)
"_pjmedia_avi_streams_get_stream_by_media", referenced from:
_pjmedia_avi_dev_alloc in libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status
make[2]: *** [../bin/pjsua-arm-apple-darwin9] Error 1
make[1]: *** [pjsua] Error 2
make: *** [all] Error 1
請幫忙編譯這個項目的Xcode 4.3。
將此添加到構建設置中的預處理器宏PJ_AUTOCONF – 2015-05-22 05:39:05