<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV>
<P><FONT size=2>try <BR></FONT><FONT size=2>cvs checkout -D "04/01/04
asterisk-addons<BR></FONT><FONT size=2>with the latest cvs of
asterisk</FONT></P>
<P><FONT size=2>harold</FONT></P></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]<B>On Behalf Of </B>rich
allen<BR><B>Sent:</B> Tuesday, July 06, 2004 11:22 PM<BR><B>To:</B>
Asterisk-Users@lists.digium.com<BR><B>Subject:</B> [Asterisk-Users] compiling
mysql addon<BR><BR></FONT></DIV>running make
gives:<BR><BR>cdr_addon_mysql.c:50: warning: parameter names (without types)
in function declaration<BR>cdr_addon_mysql.c:50: warning: data definition has
no type or storage class<BR>cdr_addon_mysql.c: In function
`mysql_log':<BR>cdr_addon_mysql.c:108: error: `mysql_lock' undeclared (first
use in this function)<BR>cdr_addon_mysql.c:108: error: (Each undeclared
identifier is reported only once<BR>cdr_addon_mysql.c:108: error: for each
function it appears in.)<BR>cdr_addon_mysql.c: In function
`usecount':<BR>cdr_addon_mysql.c:420: error: `mysql_lock' undeclared (first
use in this function)<BR>make: *** [cdr_addon_mysql.o] Error 1<BR><BR>fresh
download from cvs,
adding<BR><BR><?fontfamily><?param Courier><?x-tad-bigger>CFLAGS+=-I../asterisk/include<?/x-tad-bigger><?/fontfamily><BR><BR>to
Makefile did not work ...<BR><BR>Thanks<BR>- hcir</BLOCKQUOTE></BODY></HTML>