Andres
2008-Sep-16 17:10 UTC
[asterisk-users] addons will not load when compiling Asterisk with DEBUG_THREADS
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
Mark Michelson
2008-Sep-16 17:22 UTC
[asterisk-users] addons will not load when compiling Asterisk with DEBUG_THREADS
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!