我試圖構建libsrtp,以便我可以在iPhone上使用它(我打算將它與libav的RTP實現一起使用)。正確的配置爲iPhone構建libsrtp?
我的配置:
./configure --build='arm-apple-darwin9'
我得到的,當我嘗試調用srtp_init()警告:
file was built for unsupported file format which is not the architecture being linked (armv7)
其次錯誤:
"_srtp_init", referenced from:
+[Manager initialize:] in Manager.o
Symbol(s) not found
有誰知道用於正確構建庫的正確配置?