2
votes

I am trying to connect asterisk to Google talk, however I kept on receiving an error saying that the Motif channel is absent. I then realised that res_xmpp.so is not loading. all the dependencies are installed and res_xmpp.so as well as chan_motif are selected to be compiled. However, after compiling I get the following error if I try to load 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.

Does anyone know ho to solve this problem??????

2

2 Answers

0
votes

You have recompile asterisk and res_xmpp on same system with same compiler.

Asterisk prevent use of module compiled in other environment due to security reasons.

0
votes

If you just want to compile one module, without having to recompile the whole source tree, the simplest solution is to add these lines to the source code of the module you wish to compile:

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

Digium does something similar when they distribute binary only modules.