[Asterisk-Users] compiling mysql addon

rich allen traf at mtaonline.net
Tue Jul 6 21:22:02 MST 2004


running make gives:

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

fresh download from cvs, adding

CFLAGS+=-I../asterisk/include

to Makefile did not work ...

Thanks
- hcir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 817 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040706/cbcd7cbf/attachment.bin


More information about the asterisk-users mailing list