Problem compiling asterisk-addon 1.6.0-beta2

I compile without problem asterisk 1.6.0-beta6, but when I tried to compile asterisk-addons 1.6.0 beta2 I ahave the following error :

[CC] res_config_mysql.c -> res_config_mysql.o
res_config_mysql.c: In function ‘config_mysql’:
res_config_mysql.c:585: error: too few arguments to function 'ast_config_internal_load’
res_config_mysql.c: At top level:
res_config_mysql.c:620: warning: initialization from incompatible pointer type
make[1]: *** [res_config_mysql.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/asterisk-addons-1.6.0-beta2/res’
make: *** [res] Error 2

Hello !

I encounter the same problem.

I think that in the new asterisk 1.6.0-beta6 was some change on the “ast_config_internal_load” function. The first change is a new parameter that shoul be passed to this function (const char *who_asked), so if you modify the res_config_mysql.c at line 585 and insert a new parameter to the function ("") it work fine, but I think it’s not correctly.
This is my modified 585 line :
if (!ast_config_internal_load(row[2], cfg, config_flags, “”, “”)) {


Problem solved, now I cat build it.