<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>Trouble compiling asterisk-addons MySQL</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi All,</FONT>
<BR><FONT SIZE=2 FACE="Arial">I am having trouble compiling the mysql addon for asterisk. I had downloaded the most recent version from CVS and placed it in /usr/src/ and I get the following error below. </FONT></P>
<P><FONT SIZE=2 FACE="Courier New">root@linux2:/usr/src/asterisk-addons# make install</FONT>
<BR><FONT SIZE=2 FACE="Courier New">./mkdep -fPIC -I../asterisk -D_GNU_SOURCE `ls *.c`</FONT>
<BR><FONT SIZE=2 FACE="Courier New">cdr_addon_mysql.c:33:19: mysql.h: No such file or directory</FONT>
<BR><FONT SIZE=2 FACE="Courier New">cdr_addon_mysql.c:34:20: errmsg.h: No such file or directory</FONT>
<BR><FONT SIZE=2 FACE="Courier New">for x in ; do install -m 755 $x /usr/lib/asterisk/modules ; done</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">BTW. I have asterisk running just fine.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">James</FONT>
</P>
</BODY>
</HTML>