[Asterisk-Users] Can't compile cdr_mysql

Steven Critchfield critch at basesys.com
Wed Aug 13 13:16:34 MST 2003


On Wed, 2003-08-13 at 15:06, 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.

If you look just 2 lines farther up the screen you will see your true
problem. If it can't find errmsg.h then it should fail. 
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list