【问题标题】:Building PJSIP for iOS 4为 iOS 4 构建 PJSIP
【发布时间】:2011-09-26 05:31:04
【问题描述】:

我正在尝试为 iPhone 构建最新的稳定 PJSIP (1.10),在我的make 中遇到了一些错误。我已经按照here 的说明进行操作,但我没有任何运气。我搜索了 SO 和 google 并没有遇到任何其他人有同样的错误,所以我有点卡住了。

我已按照指示创建了我的config_site.h./configure-iphone 给出了我在其他地方看到的输出,因此该部分似乎工作正常。 make dep 似乎工作正常,make clean 也一样,但我在我的make 上收到以下错误(这应该是获得我可以使用的Xcode 项目之前的最后一步,至少通过我的阅读)。

if test ! -d ../bin; then mkdir -p ../bin; fi
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 -o ../bin/pjlib-util-test-arm-apple-darwin9 \
         output/pjlib-util-test-arm-apple-darwin9/main.o  output/pjlib-util-test-arm-apple-darwin9/xml.o  output/pjlib-util-test-arm-apple-darwin9/encryption.o  output/pjlib-util-test-arm-apple-darwin9/stun.o  output/pjlib-util-test-arm-apple-darwin9/resolver_test.o  output/pjlib-util-test-arm-apple-darwin9/test.o  output/pjlib-util-test-arm-apple-darwin9/http_client.o ../lib/libpjlib-util-arm-apple-darwin9.a /pjproject-1.10/pjlib/lib/libpj-arm-apple-darwin9.a  -O2  -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -framework AudioToolbox -framework Foundation -luuid -lpthread  -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit    
ld: library not found for -luuid
collect2: ld returned 1 exit status
make[2]: *** [../bin/pjlib-util-test-arm-apple-darwin9] Error 1
make[1]: *** [pjlib-util-test] Error 2
make: *** [all] Error 1

我在带有 Xcode 4.1 的 OS X 10.7.1 上运行(我也安装了 iOS 5 的测试版,但据我所知,make 输出似乎根本没有引用它的文件夹) .

【问题讨论】:

    标签: iphone ios ios5 osx-lion pjsip


    【解决方案1】:

    我不确定具体是什么原因造成的,但我能够通过在只安装 Xcode 4.1 的全新 OS X Lion 安装上构建应用程序来解决此问题。

    【讨论】:

      猜你喜欢
      • 2012-06-03
      • 2017-01-19
      • 2017-03-09
      • 2021-05-10
      • 2016-02-20
      • 2014-03-17
      • 1970-01-01
      • 1970-01-01
      • 2014-07-15
      相关资源
      最近更新 更多