[Asterisk-Users] compiling mysql addon

Harold Workman hworkman at cytelcom.com
Wed Jul 7 06:47:20 MST 2004


try
cvs checkout -D "04/01/04 asterisk-addons
with the latest cvs of asterisk

harold

  -----Original Message-----
  From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of rich allen
  Sent: Tuesday, July 06, 2004 11:22 PM
  To: Asterisk-Users at lists.digium.com
  Subject: [Asterisk-Users] compiling mysql addon


  running make gives:

  cdr_addon_mysql.c:50: warning: parameter names (without types) in function
declaration
  cdr_addon_mysql.c:50: warning: data definition has no type or storage
class
  cdr_addon_mysql.c: In function `mysql_log':
  cdr_addon_mysql.c:108: error: `mysql_lock' undeclared (first use in this
function)
  cdr_addon_mysql.c:108: error: (Each undeclared identifier is reported only
once
  cdr_addon_mysql.c:108: error: for each function it appears in.)
  cdr_addon_mysql.c: In function `usecount':
  cdr_addon_mysql.c:420: error: `mysql_lock' undeclared (first use in this
function)
  make: *** [cdr_addon_mysql.o] Error 1

  fresh download from cvs, adding

  CFLAGS+=-I../asterisk/include

  to Makefile did not work ...

  Thanks
  - hcir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040707/d9190c9b/attachment.htm


More information about the asterisk-users mailing list