【问题标题】:Libtool issue while compiling Liblinphone编译 Liblinphone 时出现 Libtool 问题
【发布时间】:2015-03-01 01:06:32
【问题描述】:

我正在尝试编译这个库:
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 出了什么问题?

【问题讨论】:

    标签: ios sip autotools libtool speex


    【解决方案1】:

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

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

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

    【讨论】:

    • 其实我还没有安装一些依赖。但是有新的错误。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-03-24
    相关资源
    最近更新 更多