[Asterisk-Users] Asterisk 1.0.7 -addons doesn't compile
Scott Gruby
subscribelists at gruby.com
Sat Mar 19 08:39:53 MST 2005
On Mar 18, 2005, at 10:47 PM, Russell Bryant wrote:
> Hello everyone,
>
> Version 1.0.7 of Asterisk, Zaptel, libpri, and Asterisk-addons has now
> been released. Libpri and -addons have not changed, but have been
> updated anyway to keep the version numbers consistent. All of the
> tarballs are available on the ftp site.
>
>
Asterisk-addons doesn't compile.
app_addon_sql_mysql.c:164:36: macro "AST_LIST_REMOVE" requires 4
arguments, but only 3 given
app_addon_sql_mysql.c: In function `del_identifier':
app_addon_sql_mysql.c:164: error: `AST_LIST_REMOVE' undeclared (first
use in this function)
app_addon_sql_mysql.c:164: error: (Each undeclared identifier is
reported only once
app_addon_sql_mysql.c:164: error: for each function it appears in.)
make: *** [app_addon_sql_mysql.o] Error 1
Replacing app_addon_sql_mysql.c from asterisk-addons 1.0.1 gets me
further (AST_LIST_REMOVE is the only change between the two), but then
it gets stuck at:
res_config_mysql.c:418: error: variable `mysql_engine' has initializer
but incomplete type
res_config_mysql.c:419: error: unknown field `name' specified in
initializer
res_config_mysql.c:419: warning: excess elements in struct initializer
res_config_mysql.c:419: warning: (near initialization for
`mysql_engine')
res_config_mysql.c:420: error: unknown field `load_func' specified in
initializer
res_config_mysql.c:420: warning: excess elements in struct initializer
res_config_mysql.c:420: warning: (near initialization for
`mysql_engine')
res_config_mysql.c:421: error: unknown field `realtime_func' specified
in initializer
res_config_mysql.c:421: warning: excess elements in struct initializer
res_config_mysql.c:421: warning: (near initialization for
`mysql_engine')
res_config_mysql.c:422: error: unknown field `realtime_multi_func'
specified in initializer
res_config_mysql.c:422: warning: excess elements in struct initializer
res_config_mysql.c:422: warning: (near initialization for
`mysql_engine')
res_config_mysql.c:423: error: unknown field `update_func' specified in
initializer
res_config_mysql.c:424: warning: excess elements in struct initializer
res_config_mysql.c:424: warning: (near initialization for
`mysql_engine')
res_config_mysql.c: In function `parse_config':
res_config_mysql.c:491: warning: assignment makes pointer from integer
without a cast
res_config_mysql.c: At top level:
res_config_mysql.c:418: error: storage size of `mysql_engine' isn't
known
BTW, the CVS directories are still left in the tarballs.
Anyone know how to fix these issues (besides just installing addons
1.0.1?
Thanks.
More information about the asterisk-users
mailing list