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