[asterisk-users] addons will not load when compiling Asterisk with DEBUG_THREADS

Mark Michelson mmichelson at digium.com
Tue Sep 16 12:22:55 CDT 2008


Andres wrote:
> Hi,
> 
> I was trying to get more details on some deadlocks we are experiencing 
> with Asterisk Version 1.4.21.1 so I went ahead and compiled it with 
> DONT_OPTIMIZE and DEBUG_THREADS.
> 
> The problem now is that asterisk_addon modules will not load.  I get 
> messages like:
> 
> [Sep 16 11:57:04] WARNING[6444] loader.c: Module 'cdr_addon_mysql.so' 
> was not compiled with the same compile-time options as this version of 
> Asterisk.
> 
> Unfortunately the 'menuselect' in 'asterisk-addons' does not have the 
> 'Compiler Flags Menu'.
> How do I go about enabiling those Flags manually the the Makefile?
> 
> Thanks,
> Andres
> http://www.neuroredes.com
> 

If you reconfigure and recompile addons after changing the menuselect flags of 
Asterisk, then addons should be recompiled with the same compile-time flags. Did 
you re-run the configure script in addons after updating Asterisk?

Mark!



More information about the asterisk-users mailing list