Compile Problems

Comment on Asterisk app_dbodbc
Anonymous

Compile Problems

Posted:Fri 16 of Jul, 2004 (06:59 UTC)
I'm new to asterisk and had problems getting this module compiled, in the end I had to change a line in app_dbodbc.c from

static ast_mutex_t odbc_lock = AST_MUTEX_INITIALIZER;

to

AST_MUTEX_DEFINE_STATIC(odbc_lock);

before it would let me compile it because of a change in the way lock.h does something. Seems to be working now! (:biggrin:)