[Asterisk-Users] asterisk-addons mysql
Ed Devine
ncfm at airmail.net
Wed Jun 9 10:03:20 MST 2004
I just downloaded the latest *CVS onto a freshly installed Redhat 9
system, and I noticed that the compile of asterisk-addons fails as
follows:
# make clean ; make install
rm -f *.so *.o .depend
./mkdep -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql `ls
*.c`
cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o
cdr_addon_mysql.o cdr_addon_mysql.c
cdr_addon_mysql.c:50:
`__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__'
undeclared here (not in a function)
make: *** [cdr_addon_mysql.o] Error 1
any ideas what happened?
More information about the asterisk-users
mailing list