[Asterisk-Users] Can't compile cdr_mysql

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Aug 13 13:17:28 MST 2003


On Wednesday 13 August 2003 03:06 pm, Jerk Face wrote:
> I'm trying to compile the cdr_mysql module, but I am receiving
> error messages.
> I have installed mysql-devel.
>
> Here is the output of make cdr_mysql:
>
> cc -fPIC -I/usr/local/mysql/include -I/usr/include/mysql     -c -o
> cdr_mysql.o cdr_mysql.c
> cdr_mysql.c:30:26: mysql/errmsg.h: No such file or directory
> cdr_mysql.c: In function `mysql_log':
> cdr_mysql.c:74: `CR_SERVER_GONE_ERROR' undeclared (first use in
> this function)
> cdr_mysql.c:74: (Each undeclared identifier is reported only once
> cdr_mysql.c:74: for each function it appears in.)
> make: *** [cdr_mysql.o] Error 1
>
> I have looked up CR_SERVER_GONE_ERROR, but I'm not sure how that
> applies to compiling the module.
>
> Any help is appreciated.

Could you tell me where mysql/errmsg.h is located on your
distribution?  We can update the Makefile to look there for that
header.

-Tilghman




More information about the asterisk-users mailing list