4

我正在定制linphone(开源 voip 拨号器)。

当我从源代码构建 linphone-android 时,会发生一些错误。

有问题的路径是“submodules/libilbc-rfc3951/Makefile”。

错误是这样的:

./configure: line 2521: syntax error near unexpected token `disable-static'
./configure: line 2521: `LT_INIT(disable-static)'

什么是“ LT_INIT(disable-static) ”?

还有……我该怎么办?

对我来说这看起来很复杂。

4

2 回答 2

2

正如 Aduait 所提到的,http: //www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html 将解释什么是 LT_INIT(...)。

关于 LinPhone-Android 构建问题,您必须删除 submodules/libilbc-rfc3951/ 并尝试分别运行 make 或 prepare_source.sh。它将获取正确的代码进行编译。

我个人面临同样的问题,上述方法解决了我的问题。

于 2014-10-11T00:54:32.857 回答
2

我能够通过submodules/libilbc-rfc3951/运行这些命令来打败这个:

  • aclocal
  • autoconf
  • automake --add-missing
于 2014-11-10T16:37:32.727 回答