Iphone 为iOS 4构建PJSIP
我正在尝试为iPhone构建最新的稳定PJSIP(1.10),在我的Iphone 为iOS 4构建PJSIP,iphone,ios,ios5,osx-lion,pjsip,Iphone,Ios,Ios5,Osx Lion,Pjsip,我正在尝试为iPhone构建最新的稳定PJSIP(1.10),在我的make过程中遇到了一些错误。我已经按照指示做了,但我一点运气都没有。我搜索了SO和google,没有遇到其他人有同样的错误,所以我有点卡住了 我已经按照指示创建了我的config_site.h/configure iphone提供了我在别处看到的输出,因此该部分似乎工作正常make dep似乎工作正常,就像make clean一样,但我的make上出现了以下错误(至少通过阅读,这应该是获得可以使用的Xcode项目之前的最后一步
make
过程中遇到了一些错误。我已经按照指示做了,但我一点运气都没有。我搜索了SO和google,没有遇到其他人有同样的错误,所以我有点卡住了
我已经按照指示创建了我的config_site.h
/configure iphone
提供了我在别处看到的输出,因此该部分似乎工作正常make dep
似乎工作正常,就像make clean
一样,但我的make
上出现了以下错误(至少通过阅读,这应该是获得可以使用的Xcode
项目之前的最后一步)
我运行的是带有Xcode 4.1的OS X 10.7.1(我也安装了iOS 5的beta版,但从我所知,make输出似乎根本没有引用它的文件夹)。我不确定具体是什么原因造成的,但我可以通过在新安装的OSX Lion上构建应用程序来解决这个问题,只安装了Xcode 4.1
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