search for: cdr_addon_mysql

Displaying 20 results from an estimated 181 matches for "cdr_addon_mysql".

2008 Jul 07
1
cdr_addon_mysql - additional fields
Hi, I need help with modifying cdr_addon_mysql.c I want to have more fields in cdr table in asterisk. I've tried to modify cdr_addon_mysql.c and replace userfield with ex team (sed -e 's/userfield/team/g' ). When I try to recomplie menuselect/menuselect --check-deps menuselect.makeopts Generating embedded module rules...
2004 Jul 31
2
Which version of MySQL works with cdr_addon_mysql?
I'm having problems compiling cdr_addon_mysql with MySQL 3.23.58 I get the following errors: 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 typ...
2007 Jul 13
3
asterisk-addons compilation "error: dereferencing pointer to incomplete type"
I am having trouble getting asterisk-addons 1.4.2 to compile (after a successful configure). Asterisk itself (and AsteriskGUI) compile fine. I get: cdr_addon_mysql.c: In function `handle_cdr_mysql_status': cdr_addon_mysql.c:91: error: dereferencing pointer to incomplete type cdr_addon_mysql.c:93: error: dereferencing pointer to incomplete type cdr_addon_mysql.c:95: error: dereferencing pointer to incomplete type cdr_addon_mysql.c:97: error: dereferencing...
2004 Jun 11
2
cdr_addon_mysql.c
Following the latest * CVS update, my MySQL was broken. Following the update, Asterisk-addons would compile fine, but when I ran asterisk I got the following error: ERROR[1202489024]: cdr_addon_mysql.c:203 mysql_log: Failed to insert into databas I then tried using the patch (bug id 0001823) from bugs.digium.com, and found that Asterisk-addons would no longer compile, giving me the following errors: make clean ; make install rm -f *.so *.o .depend ./mkdep -fPIC -I../asterisk -D_GNU_SOURCE -I...
2004 Jun 18
2
cdr_addon_mysql compiling error
I'm trying to compile cdr_addon_mysql but keep getting this error. Again, searching the Wiki and the mailing list archive didn't bring up anything useful. Any help? Yes, I'm using MySQL 4.0. Maybe I have to switch back to 3.23? # make cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o cdr_addon_mysql.o cdr_a...
2004 Jun 21
1
R: Re: cdr_addon_mysql compiling error
>> I'm trying to compile cdr_addon_mysql but keep getting this error. >> Again, searching the Wiki and the mailing list archive didn't bring up >> anything useful. Any help? Yes, I'm using MySQL 4.0. Maybe I have to >> switch back to 3.23? >> >> >> # make >> cc -fPIC -I../asterisk -D_...
2004 Jun 17
3
asterisk-addons compilation error
...s of today after updating both asterisk and asterisk-addons. These are both under /usr/src. Any ideas? dora-debian:/usr/local/src/asterisk-addons# make ./mkdep -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql `ls *.c` 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: error: `mysql_lock' undeclared (firs...
2004 Jan 28
1
cdr_addon_mysql compile error
Having some trouble building cdr_addon_mysql. I've installed mysql and mysql-dev and all related rpms on a RH9 box. The box is up and running *. I've checked out the asterisk-addons but at "make install", I receive the following error: ./mkdep -fPIC -I../asterisk -I/usr/include/mysql `ls *.c` cc -fPIC -I../asteri...
2004 Jun 27
1
asterisk addon mysql
...d * first then asterisk-addons, have added CFLAGS+=-I../asterisk/include When I try to make install for asterisk-addons i get [root@pbx asterisk-addons]# make clean ; make install rm -f *.so *.o .depend cc -fPIC -I../asterisk -D_GNU_SOURCE -I../asterisk/include -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 decla ration 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 th...
2004 Jun 21
0
R: Re: cdr_addon_mysql compiling error
...to have a look in -dev, but if anyone comes up with a solution, a reply would be appreciated. -Manuel -----Messaggio originale----- Da: Luckcuck Nick-LCKN001 [mailto:LCKN001@motorola.com] Inviato: lunedì, 21. giugno 2004 13:52 A: asterisk-users@lists.digium.com Oggetto: RE: [Asterisk-Users] Re: cdr_addon_mysql compiling error Hi, Another helpless person like me, I had the same problem a few days ago and a very helpful person suggested putting "CFLAGS+=-I../asterisk/include" in the Makefile, which worked fine for me. Maybe this is a problem with asterisk CVS ??? Don't really know but it...
2004 Jun 30
1
asterisk-addons unable to compile
...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_ad...
2004 Jul 06
1
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_mysq...
2004 Jun 15
2
Cdr_addon_mysql.c compile problem.
...AGS+=-I../asterisk CFLAGS+=-I/usr/include CFLAGS+=-DMYSQL_LOGUNIQUEID CFLAGS+=-D_GNU_SOURCE INSTALL=install INSTALL_PREFIX= ASTLIBDIR=$(INSTALL_PREFIX)/usr/lib/asterisk MODULES_DIR=$(ASTLIBDIR)/modules $> make cc -fPIC -I../asterisk -I/usr/include -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 th...
2010 May 13
1
Error at start of asterisk with cdr_addon_mysql.o
Hi all, I use asterisk-1.6.2.7 and asterisk addon version 1.6.2.1. It started ok with out cdr_addon_mysql.o. But when I put cdr_addon_mysql.o in to modules folder, it fail at start and the following out has been thrown: ---------- [root at localhost modules]# /usr/sbin/safe_asterisk: line 145: 13270 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >...
2005 Jul 05
3
Asterisk addons install problem
...ddon_sql_mysql.c:19:29: asterisk/module.h: No such file or directory app_addon_sql_mysql.c:20:34: asterisk/linkedlists.h: No such file or directory app_addon_sql_mysql.c:21:31: asterisk/chanvars.h: No such file or directory app_addon_sql_mysql.c:22:27: asterisk/lock.h: No such file or directory cdr_addon_mysql.c:17:29: asterisk/config.h: No such file or directory cdr_addon_mysql.c:18:30: asterisk/options.h: No such file or directory cdr_addon_mysql.c:19:30: asterisk/channel.h: No such file or directory cdr_addon_mysql.c:20:26: asterisk/cdr.h: No such file or directory cdr_addon_mysql.c:21:29: asteris...
2006 Dec 28
1
FW: cdr_addon_mysql.so did not register itself duringload
So no one else is having issues with MySQL and 1.4? I'm the only one? -----Original Message----- From: Savoy, Kevin - Williston, ND Sent: Wednesday, December 27, 2006 2:09 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [asterisk-users] cdr_addon_mysql.so did not register itself duringload Well the addons from 1.4 are installed. This original Asterisk 1.2.x box was created by my predecessor and he had the cdr_addon_mysql.so and res_config_mysql.so files on a server that we copied to any new installation. I'm not sure where he got these files...
2004 Nov 27
0
problems setting up cdr_addon_mysql
...: No such file or directory app_saycountpl.c:12:30: asterisk/channel.h: No such file or directory app_saycountpl.c:13:26: asterisk/pbx.h: No such file or directory app_saycountpl.c:14:29: asterisk/module.h: No such file or directory app_saycountpl.c:15:27: asterisk/lock.h: No such file or directory cdr_addon_mysql.c:17:29: asterisk/config.h: No such file or directory cdr_addon_mysql.c:18:30: asterisk/options.h: No such file or directory cdr_addon_mysql.c:19:30: asterisk/channel.h: No such file or directory cdr_addon_mysql.c:20:26: asterisk/cdr.h: No such file or directory cdr_addon_mysql.c:21:29: asterisk/mo...
2004 Jun 14
0
compile error with asterisk-addons
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@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 thi...
2004 Jun 23
1
cdr_mysql compilation error
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 thi...
2005 May 17
2
Compile Error - MySql addon
When compiling asterisk-addons I get the following error. Anyone got any idea's ?, any help would be appreciated. make[1]: Leaving directory `/usr/src/asterisk-addons/format_mp3' cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o cdr_addon_mysql.o cdr_addon_mysql.c cc -shared -Xlinker -x -o cdr_addon_mysql.so cdr_addon_mysql.o -lmysqlclient -lz -L/usr/lib/mysql /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lz collect2: ld returned 1 exit status make: *** [cdr_addon_mysql.so] Error 1 Best Regar...