我正在尝试编译这个库:
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/