On Thursday 08 April 2004 03:07, Alessio Focardi wrote: > Here is the error I get compiling the asterisk-addons rpm > > cc -fPIC -I../asterisk -I/usr/include/mysql -c -o > cdr_addon_mysql.o cdr_addon_mysql.c cdr_addon_mysql.c:50: error: > `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a > function) make: *** [cdr_addon_mysql.o] Error 1 > > I'm pretty sure I got all that is needed: > > # rpm -qa | grep mysql
The problem is not lack of mysql support, the problem is that you don't have asterisk in the same directory as the asterisk-addons directory (which is where cdr_addon_mysql.c lives). Get that in place and it will compile just fine. -Tilghman _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users