[Asterisk-Users] asterisk addon mysql

Harold Workman hworkman at cytelcom.com
Mon Jun 28 08:30:31 MST 2004


Tommy,


I reverted asterisk-addons to 04/01/2004 and I was able to compile it with the
latest asterisk CVS.  Your a lifesaver.  Ive been pondering over this problem
for over a week now. Thanks!  



-- 
Harold Workman
CCNA, CCNP
Cytel Communications
hworkman at cytelcom.com
Ph. 281-449-4000 x3098


Quoting "T. Chan" <tommy.chan at utimail.com>:

> cvs checkout -D "mm/dd/yy" asterisk-addons
> 
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Harold
> Workman
> Sent: Monday, June 28, 2004 1:03 AM
> To: asterisk-users at lists.digium.com; T. Chan
> Cc: asterisk-users at lists.digium.com
> Subject: RE: [Asterisk-Users] asterisk addon mysql
> 
> 
> Tommy,
> 
> Thanks,  how do i get the older version of asterisk-addons?
> --
> Harold Workman
> 
> 
> Quoting "T. Chan" <tommy.chan at utimail.com>:
> 
> > Hi,
> >
> > I got the same thing, so what I did was for the asterisk-addons, I used
> CVS
> > April instead of the most current CVS and it worked. Of course, I would
> have
> > liked to use the most current CVS of asterisk-addons as well, but since
> the
> > old version works with the most current version of asterisk anyways, I
> left
> > it like that.
> >
> > -----Original Message-----
> > From: asterisk-users-admin at lists.digium.com
> > [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Harold
> > Workman
> > Sent: Sunday, June 27, 2004 3:49 AM
> > To: asterisk-users at lists.digium.com
> > Subject: [Asterisk-Users] asterisk addon mysql
> >
> >
> > hi,
> >
> > ive read through the last few posts with people having problems compiling
> > the
> > asterisk-addons for mysql support, and none of them have helped me resolve
> > my
> > compile problem.  I currently have -- CVS-06/24/04-22:20:31 and downloaded
> > asterisk-addons.
> > I compiled * first then asterisk-addons, have added
> > CFLAGS+=-I../asterisk/include
> >
> >
> > When I try to make install for asterisk-addons i get
> >
> > [root at 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 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
> >
> >
> > I have MySQL-server and devel upgraded at version 4.0.20 on a Fedora Core
> 1.
> > I
> > would really love to have mysql support....
> >
> >
> >
> >
> >
> >
> > Harold Workman
> >
> >
> >
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.707 / Virus Database: 463 - Release Date: 6/15/2004
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.707 / Virus Database: 463 - Release Date: 6/15/2004
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.707 / Virus Database: 463 - Release Date: 6/15/2004
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.707 / Virus Database: 463 - Release Date: 6/15/2004
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the asterisk-users mailing list