Libtool问题,同时编译Liblinphone

我试图编译这个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绑定

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

有时make认识到这一点,但在这里可能不是这样。 因此,我build议您运行顶级configure脚本(我假设这是您开始运行的),然后使用make all恢复构build。

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

Interesting Posts