2

我正在尝试将星号连接到 Google Talk,但是我一直收到一条错误消息,指出 Motif 频道不存在。然后我意识到 res_xmpp.so 没有加载。安装所有依赖项并选择 res_xmpp.so 以及 chan_motif 进行编译。但是,编译后如果我尝试加载 res_xmpp.so 会出现以下错误:

[Mar  8 15:08:15] WARNING[2802]: loader.c:824 inspect_module: Module 'res_xmpp.so' was not compiled with the same compile-time options as this version of Asterisk.
[Mar  8 15:08:15] WARNING[2802]: loader.c:825 inspect_module: Module 'res_xmpp.so' will not be initialized as it may cause instability.
[Mar  8 15:08:15] WARNING[2802]: loader.c:915 load_resource: Module 'res_xmpp.so' could not be loaded.

有谁知道如何解决这个问题??????

4

2 回答 2

0

您已在具有相同编译器的同一系统上重新编译星号和 res_xmpp。

由于安全原因,Asterisk 禁止使用在其他环境中编译的模块。

于 2014-03-09T14:35:43.930 回答
0

如果您只想编译一个模块,而不必重新编译整个源代码树,最简单的解决方案是将这些行添加到您要编译的模块的源代码中:

/* Changes to nullify checksum brianj */
#undef AST_BUILDOPT_SUM
#define AST_BUILDOPT_SUM ""

Digium 在分发仅二进制模块时会做类似的事情。

于 2016-10-28T18:42:26.107 回答