[Asterisk-Users] compile error with asterisk-addons

Johannes van Hulst han.vanhulst at terra.com.br
Mon Jun 14 10:08:37 MST 2004


I try to install asterisk-addons but I get an error.
Who can help me? Is my MySQL not complete or do I have another problem?


root at unitedsecure asterisk-addons]# make install
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: `mysql_lock' undeclared (first use in this function)
cdr_addon_mysql.c:108: (Each undeclared identifier is reported only once
cdr_addon_mysql.c:108: for each function it appears in.)
cdr_addon_mysql.c: In function `usecount':
cdr_addon_mysql.c:420: `mysql_lock' undeclared (first use in this function)
make: *** [cdr_addon_mysql.o] Error 1
[root at unitedsecure asterisk-addons]#

Best regards,
Han van Hulst





More information about the asterisk-users mailing list