ios - 编译 Liblinphone 时出现 Libtool 问题

标签 ios sip autotools libtool speex

我正在尝试编译这个库:
https://github.com/BelledonneCommunications/linphone-iphone

在生成过程中我得到了这个:

/linphone-iphone/submodules/build/..//externals/speex/libspeex/cb_search.c
libtool: Version mismatch error.  This is libtool 2.4.6, but the
libtool: definition of this LT_INIT comes from libtool 2.4.2.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
libtool: and run autoconf again.
make[4]: *** [cb_search.lo] Error 63
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [build-speex] Error 2
make: *** [broadcast_all] Error 2

好的,那么,(如 here 所述):

cd ../externals/speex/  
autoreconf --force --install

cd cd ../../build && make all

然后……又发生了!
libtool 有什么问题?

最佳答案

运行 autoreconf 后,必须执行相应的 configure 脚本。在那之前,autoreconf 所做的工作是无效的。

有时 make 会识别这一点,但这里可能不是这样。 因此,我建议您运行顶级 configure 脚本(我假设这就是您在开始时运行的脚本),然后使用 make all 继续构建。

您可能遇到了软件分发方式的错误。如果分发者认为他们必须将依赖项作为软件的子项目分发,他们应该注意所使用的 libtool 版本之间没有差异。

关于ios - 编译 Liblinphone 时出现 Libtool 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28788920/

相关文章:

跨平台数据文件访问

ios - 网页 View : fatal error: unexpectedly found nil while unwrapping an Optional value

android - Sip 管理器 API 支持

iOS - 通过动画将搜索栏从中心移动到导航栏下方(Swift)

simulator - SIP测试平台

ios - 虹吸调用不起作用 - pjsip

mysql - 如何将 mysql.h 和 my_global.h 包含到 Makefile.am 中?

autotools - 从脚本中查找由 autotools 定义的 $pkgdatadir

iphone - 如何在iOS应用程序中在Google Plus上发布图像

ios - 意外发现 nil UIImageView