iPhone 用の最新の安定した PJSIP (1.10) をビルドしようとしていますが、make
. ここの指示に従いましたが、うまくいきません。私はSOとグーグルを検索しましたが、同じエラーで他の人に出くわしていないので、少し行き詰まっています。
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 の出力は、私が知る限り、そのフォルダーをまったく参照していないようです)。