I'm trying to compile cdr_addon_mysql but keep getting this error. Again, searching 
the Wiki and the mailing list archive didn't bring up anything useful. Any help? Yes, 
I'm using MySQL 4.0. Maybe I have to switch back to 3.23?


# make
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: warning: parameter names (without types) in function declaration
cdr_addon_mysql.c:50: warning: data definition has no type or storage class
cdr_addon_mysql.c: In function `mysql_log':
cdr_addon_mysql.c:108: error: `mysql_lock' undeclared (first use in this function)
cdr_addon_mysql.c:108: error: (Each undeclared identifier is reported only once
cdr_addon_mysql.c:108: error: for each function it appears in.)
cdr_addon_mysql.c: In function `usecount':
cdr_addon_mysql.c:420: error: `mysql_lock' undeclared (first use in this function)
make: *** [cdr_addon_mysql.o] Error 1


Thanks
-Manuel


___________________________________________________
Ticinocom SA - Via Stazione 5 - 6600 Muralto
Tel 0844 007070 - Fax 0844 007071
http://www.ticinocom.com

_______________________________________________
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

Reply via email to