我其實將這個問題發佈到了pjsip郵件列表,但是還沒有得到任何迴應。所以我認爲它會在這裏嘗試我的運氣。pjsip building for arm7/iOS 4.3 - 在mips_test.o中找不到符號
這是一個非常簡單的問題,我認爲,我試圖編譯PJSIP(最新從主幹)的iPhone SDK 4.3在Mac 10.6.2
我這個指令 http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone如下:
- 從SVN
- 出口CFLAGS + = 「-march = ARMv7的-mcpu = ARM1176JZF-S -mcpu = Cortex-A8" 的 出口LDFLAGS + =」 -march = ARMv7的-mcpu = ARM1176JZF-S -mcpu =皮質簽出最新的代碼-a8「
- ./configure-iphone
- 化妝DEP & &使清潔& &使
它具有這樣的以下錯誤:
undefined symbols for architecture armv7: "_pjmedia_codec_g722_init",
referenced from: _g722_encode_decode in mips_test.o
_create_stream_g722 in mips_test.o "_pjmedia_codec_g722_deinit",
referenced from: _g722_encode_decode in mips_test.o
_create_stream_g722 in mips_test.o ld: symbol(s) not found for
architecture armv7 collect2: ld returned 1 exit status make[2]: ***
[../bin/pjmedia-test-arm-apple-darwin9] Error 1 make[1]: ***
[pjmedia-test] Error 2 make: *** [all] Error 1
沒有人有任何想法如何去解決這個?
可能會禁用pjmedia測試?
(我也嘗試從http://code.google.com/p/siphon/downloads/detail?name=patch-mips_test.txt&can=2&q=修補使用文件mips_test.c,同樣的問題)進行的iPhoneOS建立