# Help with loading new module please

**URL:** <https://community.asterisk.org/t/help-with-loading-new-module-please/46557>\
**Category:** Asterisk Support\
**Created:** [July 1, 2014, 8:28pm UTC](https://community.asterisk.org/t/help-with-loading-new-module-please/46557 "2014-07-01T20:28:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![percivjr](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@percivjr](https://community.asterisk.org/u/percivjr)\
**Post date:** [July 1, 2014, 8:28pm UTC](https://community.asterisk.org/t/help-with-loading-new-module-please/46557/1 "2014-07-01T20:28:57Z")

</div>

I compiled asterisk-11.2.1 over a year ago and it’s been running well ever since.

I now want to add res\_xmpp and chan\_motif.

I’ve installed libiksemel+dev+utils.

I ran:  
configure  
make menuselect (res\_xmpp and chan\_motif were already selected but I guess they failed to compile originally because libiksemel wasn’t installed)  
make

I copied the resulting res\_xmpp.so and chan\_motif.so to /usr/lib/asterisk/modules.

However when I try to load res\_xmpp.so, I get the following error:  
Module ‘res\_xmpp.so’ was not compiled with the same compile-time options as this version of Asterisk

Have I done anything wrong or omitted any steps? Is there any solution to this problem apart from re-installing the whole of Asterisk? I’m reluctant to do that for fear of breaking a working system!

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [July 1, 2014, 9:32pm UTC](https://community.asterisk.org/t/help-with-loading-new-module-please/46557/2 "2014-07-01T21:32:42Z")

</div>

make install

---

<div class="post-metadata">

**Author:** ![percivjr](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@percivjr](https://community.asterisk.org/u/percivjr)\
**Post date:** [July 1, 2014, 9:45pm UTC](https://community.asterisk.org/t/help-with-loading-new-module-please/46557/3 "2014-07-01T21:45:29Z")

</div>

Thanks for the reply.

Does ‘make install’ install just install the newly-compiled modules or the whole of Asterisk?

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [July 1, 2014, 9:50pm UTC](https://community.asterisk.org/t/help-with-loading-new-module-please/46557/4 "2014-07-01T21:50:16Z")

</div>

The whole of Asterisk, but not the configuration.

---

<div class="post-metadata">

**Author:** ![percivjr](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@percivjr](https://community.asterisk.org/u/percivjr)\
**Post date:** [July 2, 2014, 5:48pm UTC](https://community.asterisk.org/t/help-with-loading-new-module-please/46557/5 "2014-07-02T17:48:08Z")

</div>

That’s it. Many thanks.
