编译Liblinphone时出现Libtool问题 [英] Libtool issue while compiling Liblinphone

查看:169
本文介绍了编译Liblinphone时出现Libtool问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编译此lib:
https://github.com/BelledonneCommunications/linphone-iphone

I'm trying to compile this lib:
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

然后,(如此处所述):

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

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

然后...又发生了!
libtool 怎么了?

And... It happens again!
What's wring with libtool?

推荐答案

运行autoreconf后,必须执行相应的configure脚本.在此之前,autoreconf的工作无效.

After you run autoreconf, the appropriate configure script has to be executed. Until then, it the work autoreconf does is not effective.

有时make可以识别这一点,但在这里可能并非如此. 因此,我建议您运行顶级configure脚本(假设这是您一开始就运行的脚本),然后使用make all恢复构建.

Sometimes make recognizes this, but it may not be the case here. Therefore I recommend you to run the top-level configure script (I assume that this is what you have ran at the beginning) and then resume building using make all.

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

You have probably hit a bug of how the software is distributed. If distributors think that they have to distribute the dependency as a sub-project of the software, they should take care that there are no discrepancies between libtool versions used.

这篇关于编译Liblinphone时出现Libtool问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆