简体   繁体   English

编译Liblinphone时出现Libtool问题

[英]Libtool issue while compiling Liblinphone

I'm trying to compile this lib: 我正在尝试编译这个库:
https://github.com/BelledonneCommunications/linphone-iphone https://github.com/BelledonneCommunications/linphone-iphone

During generation I get this: 在生成过程中,我得到以下信息:

/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

Ok, then, (as stated here ) : 好吧,那么,(如说这里 ):

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

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

And... It happens again! 而且...又发生了!
What's wring with libtool ? libtool到底在干什么?

After you run autoreconf , the appropriate configure script has to be executed. 运行autoreconf ,必须执行适当的configure脚本。 Until then, it the work autoreconf does is not effective. 在此之前, autoreconf所做的工作是无效的。

Sometimes make recognizes this, but it may not be the case here. 有时make认识到这一点,但在这里可能并非如此。 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 . 因此,我建议您运行顶级configure脚本(我假设这是您一开始就运行的脚本),然后使用make all恢复构建。

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. 如果分发者认为他们必须将依赖项作为软件的子项目分发,则应注意使用的libtool版本之间没有差异。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM