<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16421">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hello,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I have been hired to fix a large and complicated
installation using several Kamailio and Asterisk servers.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I found that I require some extra modules on some
of the Asterisk servers. I was hoping to be able to compile only the
modules needed and copy them to where they should
be.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Asterisk was not compiled locally on each server!
It was built elsewhere, added to svn and then checked out on each server. None
of the directories are standard either. </FONT><FONT size=2 face=Arial>It will
be a big job to replace all that.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>When I copied the modules I had compiled and tried
to load them, I got these errors:</FONT></DIV>
<DIV><FONT size=2 face=Arial>*CLI> load res_odbc.so<BR>[May 4 17:21:07]
WARNING[24075]: loader.c:695 inspect_module: Module 'res_odbc.so' was not
compiled with the same compile-time options as this version of Asterisk.<BR>[May
4 17:21:07] WARNING[24075]: loader.c:696 inspect_module: Module 'res_odbc.so'
will not be initialized as it may cause instability.<BR>[May 4 17:21:07]
WARNING[24075]: loader.c:734 load_resource: Module 'res_odbc.so' could not be
loaded.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Is it possible to see somewhere what compile-time
options were used when Asterisk was compiled? Do modules count as options? If I
compile Asterisk on two equal servers with the same options and one extra module
on one server. Can I then copy this module to the other server and load
it?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Thanks in advance!</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>With kind regards,</FONT></DIV>
<DIV><FONT size=2 face=Arial>Pan</FONT></DIV></BODY></HTML>