try cvs checkout -D "04/01/04 asterisk-addons
with the latest cvs of asterisk harold -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Darrin Johnson Sent: Wednesday, June 30, 2004 2:03 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] asterisk-addons unable to compile Hello, I know that there was a previous posting regarding this in which the addition of: CFLAGS+=-I../asterisk/include fixed the problem, but I have tried that and am still getting the following when trying to run make: ./mkdep -fPIC -I../asterisk/include/asterisk -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql `ls *.c` cc -fPIC -I../asterisk/include/asterisk -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 My Makefile -- the beginning -- looks like this: # This program is free software, distributed under the terms of # the GNU General Public License # MODS= CFLAGS+=-fPIC CFLAGS+=-I../asterisk/include/asterisk CFLAGS+=-I../asterisk CFLAGS+=-D_GNU_SOURCE INSTALL=install INSTALL_PREFIX= ASTLIBDIR=$(INSTALL_PREFIX)/usr/lib/asterisk MODULES_DIR=$(ASTLIBDIR)/modules Does anyone have any other suggestions of what to do to fix the error? Thanks! dj _______________________________________________ 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 _______________________________________________ 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