[Asterisk-Users] cdr_addon_mysql compile error

Asterisk VOIP asterisk at cape.com
Thu Jan 29 10:31:58 MST 2004


On Thu, 29 Jan 2004 10:32:56 -0600, Tilghman Lesher wrote
> On Wednesday 28 January 2004 16:47, Asterisk VOIP wrote:
> > 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../asterisk  -I/usr/include/mysql     -c -o
> > cdr_addon_mysql.o cdr_addon_mysql.c
> > cdr_addon_mysql.c: In function `mysql_log':
> > cdr_addon_mysql.c:113: structure has no member named `userfield'
> > cdr_addon_mysql.c:114: structure has no member named `userfield'
> > cdr_addon_mysql.c:114: structure has no member named `userfield'
> > make: *** [cdr_addon_mysql.o] Error 1
> >
> > any ideas?
> 
> Please recompile and reinstall the latest version of Asterisk before 
> you attempt to compile cdr_addon_mysql.  Your header files are out 
> of date.
> 
> -Tilghman
> 
> _______________________________________________
> 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

Tilghman,

a reinstall of * only or zaptel, libpri, as well?

btw, thanks for the great module and advice.

-wr






More information about the asterisk-users mailing list