[Asterisk-Users] cdr_addon_mysql compile error

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Jan 29 09:32:56 MST 2004


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




More information about the asterisk-users mailing list