try
cvs checkout -D "04/01/04 asterisk-addons
with the latest cvs of asterisk

harold

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of rich allen
Sent: Tuesday, July 06, 2004 11:22 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] compiling mysql addon

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

Reply via email to