<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Tilghman Lesher pisze:<br>
<blockquote
 id="mid_200807071244_25253_tilghman_mail_jeffandtilghman_com"
 cite="mid:200807071244.25253.tilghman@mail.jeffandtilghman.com"
 type="cite">
  <pre wrap="">Use the one in trunk.  It already supports arbitrary fields, no source change
necessary.  Motivate the right person, and it may even get backported to 1.4
(or backport it yourself).
  </pre>
</blockquote>
I've tried to use:<br>
<br>
<blockquote>svn co <a class="moz-txt-link-freetext" href="http://svn.digium.com/svn/asterisk-addons/trunk/">http://svn.digium.com/svn/asterisk-addons/trunk/</a>
asterisk-addons<br>
  <br>
Fetching external item into 'asterisk-addons/menuselect'<br>
  <br>
Fetching external item into 'asterisk-addons/menuselect/mxml'<br>
Checked out external at revision 82.<br>
  <br>
Checked out revision 342.<br>
Checked out revision 645.<br>
</blockquote>
and I have problem with compiling <br>
<blockquote>make[1]: Entering directory `/usr/src/asterisk-addons/cdr'<br>
&nbsp;&nbsp; [CC] cdr_addon_mysql.c -&gt; cdr_addon_mysql.o<br>
cdr_addon_mysql.c:94: warning: 'struct ast_cli_args' declared inside
parameter list<br>
cdr_addon_mysql.c:94: warning: its scope is only this definition or
declaration, which is probably not what you want<br>
cdr_addon_mysql.c: In function 'handle_cli_cdr_mysql_status':<br>
cdr_addon_mysql.c:97: error: 'CLI_INIT' undeclared (first use in this
function)<br>
cdr_addon_mysql.c:97: error: (Each undeclared identifier is reported
only once<br>
cdr_addon_mysql.c:97: error: for each function it appears in.)<br>
cdr_addon_mysql.c:98: error: 'struct ast_cli_entry' has no member named
'command'<br>
cdr_addon_mysql.c:103: error: 'CLI_GENERATE' undeclared (first use in
this function)<br>
cdr_addon_mysql.c:107: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:108: error: 'CLI_SHOWUSAGE' undeclared (first use in
this function)<br>
cdr_addon_mysql.c:114: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:114: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:116: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:116: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:116: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:118: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:118: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:120: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:121: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:122: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:123: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:125: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:127: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:129: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:131: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:133: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:136: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:138: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:140: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:143: error: 'CLI_SUCCESS' undeclared (first use in
this function)<br>
cdr_addon_mysql.c: At top level:<br>
cdr_addon_mysql.c:147: error: initializer element is not constant<br>
cdr_addon_mysql.c:147: error: (near initialization for
'cdr_mysql_status_cli[0].cmda[0]')<br>
cdr_addon_mysql.c: In function 'mysql_log':<br>
cdr_addon_mysql.c:182: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:182: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:182: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:182: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:182: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:182: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:182: warning: passing argument 2 of 'mysql_ssl_set'
from incompatible pointer type<br>
cdr_addon_mysql.c:182: warning: passing argument 3 of 'mysql_ssl_set'
from incompatible pointer type<br>
cdr_addon_mysql.c:182: warning: passing argument 4 of 'mysql_ssl_set'
from incompatible pointer type<br>
cdr_addon_mysql.c:184: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:184: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:184: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:184: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:184: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:184: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:184: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:184: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:184: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:184: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:184: warning: passing argument 1 of 'ast_strlen_zero'
from incompatible pointer type<br>
cdr_addon_mysql.c:184: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:184: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:184: warning: passing argument 2 of
'mysql_real_connect' from incompatible pointer type<br>
cdr_addon_mysql.c:184: warning: passing argument 3 of
'mysql_real_connect' from incompatible pointer type<br>
cdr_addon_mysql.c:184: warning: passing argument 4 of
'mysql_real_connect' from incompatible pointer type<br>
cdr_addon_mysql.c:184: warning: passing argument 5 of
'mysql_real_connect' from incompatible pointer type<br>
cdr_addon_mysql.c:184: warning: passing argument 7 of
'mysql_real_connect' from incompatible pointer type<br>
cdr_addon_mysql.c:189: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:189: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:219: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:219: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:219: warning: pointer type mismatch in conditional
expression<br>
cdr_addon_mysql.c:223: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:223: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:223: warning: pointer type mismatch in conditional
expression<br>
cdr_addon_mysql.c:263: error: storage size of 'tm' isn't known<br>
cdr_addon_mysql.c:265: warning: passing argument 1 of 'ast_localtime'
from incompatible pointer type<br>
cdr_addon_mysql.c:265: warning: passing argument 2 of 'ast_localtime'
from incompatible pointer type<br>
cdr_addon_mysql.c: In function 'my_load_config_string':<br>
cdr_addon_mysql.c:399: warning: assignment makes pointer from integer
without a cast<br>
cdr_addon_mysql.c: In function 'my_load_module':<br>
cdr_addon_mysql.c:434: error: 'CONFIG_FLAG_FILEUNCHANGED' undeclared
(first use in this function)<br>
cdr_addon_mysql.c:434: warning: initialization makes integer from
pointer without a cast<br>
cdr_addon_mysql.c:442: error: too many arguments to function
'ast_config_load'<br>
cdr_addon_mysql.c:446: error: 'CONFIG_STATUS_FILEUNCHANGED' undeclared
(first use in this function)<br>
cdr_addon_mysql.c:446: warning: comparison of distinct pointer types
lacks a cast<br>
cdr_addon_mysql.c:474: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:474: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:474: warning: passing argument 1 of 'ast_true' from
incompatible pointer type<br>
cdr_addon_mysql.c:502: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:502: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:506: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:506: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:507: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:507: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:508: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:508: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:509: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:509: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:525: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:525: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:525: warning: passing argument 1 of 'ast_strlen_zero'
from incompatible pointer type<br>
cdr_addon_mysql.c:525: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:525: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:525: warning: passing argument 1 of 'ast_strlen_zero'
from incompatible pointer type<br>
cdr_addon_mysql.c:525: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:525: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:525: warning: passing argument 1 of 'ast_strlen_zero'
from incompatible pointer type<br>
cdr_addon_mysql.c:526: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:526: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:526: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:526: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:526: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:526: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:526: warning: passing argument 2 of 'mysql_ssl_set'
from incompatible pointer type<br>
cdr_addon_mysql.c:526: warning: passing argument 3 of 'mysql_ssl_set'
from incompatible pointer type<br>
cdr_addon_mysql.c:526: warning: passing argument 4 of 'mysql_ssl_set'
from incompatible pointer type<br>
cdr_addon_mysql.c:528: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:528: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:528: warning: passing argument 1 of 'ast_strlen_zero'
from incompatible pointer type<br>
cdr_addon_mysql.c:528: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:528: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:528: warning: assignment from incompatible pointer
type<br>
cdr_addon_mysql.c:529: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:529: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:529: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:529: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:529: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:529: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:529: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:529: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:529: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:529: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:529: warning: passing argument 1 of 'ast_strlen_zero'
from incompatible pointer type<br>
cdr_addon_mysql.c:529: warning: passing argument 2 of
'mysql_real_connect' from incompatible pointer type<br>
cdr_addon_mysql.c:529: warning: passing argument 3 of
'mysql_real_connect' from incompatible pointer type<br>
cdr_addon_mysql.c:529: warning: passing argument 4 of
'mysql_real_connect' from incompatible pointer type<br>
cdr_addon_mysql.c:529: warning: passing argument 5 of
'mysql_real_connect' from incompatible pointer type<br>
cdr_addon_mysql.c:530: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:530: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:530: error: dereferencing pointer to incomplete type<br>
cdr_addon_mysql.c:530: error: request for member 'str' in something not
a structure or union<br>
cdr_addon_mysql.c:544: error: void value not ignored as it ought to be<br>
make[1]: *** [cdr_addon_mysql.o] Error 1<br>
make[1]: Leaving directory `/usr/src/asterisk-addons/cdr'<br>
make: *** [cdr] Error 2<br>
asterisk-IBM:/usr/src/asterisk-addons#<br>
  <br>
</blockquote>
Do you have idea what could be wrong?<br>
<br>
</body>
</html>