[Asterisk-Users] cdr_mysql compilation error

Manuel Marin Garcia mmg at transtelco.com.mx
Wed Jun 23 01:14:57 MST 2004


I am trying to compile current cvs asterisk-addons for mysql cdr but I
get the following error. Iam running mysql 4.0.20 and cvs v1 stable
version of asterisk.

cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/local/mysql/include      -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


Any idea?
-- 
Manuel Marin Garcia
TRANSTELCO S.A. DE C.V.
Campos Eliseos 9050 B4 – Cd. Juárez, Chih. 32452 - México
Oficina: +52 656 692 11 09 – Fax: +52 656 692 1112 - Celular: 915 727
6141
http://www.transtelco.com.mx




More information about the asterisk-users mailing list