我正在尝试从 http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone编译pjsip。
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 编译这个项目。