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

Andres andres at telesip.net
Tue Sep 16 13:16:55 CDT 2008


Mark Michelson wrote:

>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?
>
>  
>
Hi Mark,

I did not.  Now that I did reconfigure/recompile the addons, they loaded 
without issue.

Thanks!
Andres
http://www.neuroredes.com

>Mark!
>
>_______________________________________________
>-- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
>AstriCon 2008 - September 22 - 25 Phoenix, Arizona
>Register Now: http://www.astricon.net
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>  
>




More information about the asterisk-users mailing list