Hi to all,
I am using asterisk 11.0.6 with asterisk addons 1.6,i am facing problem with asterisk-addons installtion
i am getting error message like this whem i run make.Can any one guide me pls to resolve this issue.
i configured mysql properly and addons reading asterisk also.But i am not getting the exact problem here can any help me to get out of this problem.
CC=“gcc” CXX=“g++” LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="–silent" makeopts
make[1]: Entering directory /usr/src/asterisk-addons-1.6.2.3/menuselect' make[1]:
makeopts’ is up to date.
make[1]: Leaving directory /usr/src/asterisk-addons-1.6.2.3/menuselect' CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect make[1]: Entering directory
/usr/src/asterisk-addons-1.6.2.3/menuselect’
gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c
gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a
make[1]: Leaving directory /usr/src/asterisk-addons-1.6.2.3/menuselect' menuselect/menuselect --check-deps menuselect.makeopts Generating embedded module rules ... make[1]: Entering directory
/usr/src/asterisk-addons-1.6.2.3’
make[1]: Leaving directory /usr/src/asterisk-addons-1.6.2.3' make[1]: Entering directory
/usr/src/asterisk-addons-1.6.2.3’
make[1]: Leaving directory /usr/src/asterisk-addons-1.6.2.3' make[1]: Entering directory
/usr/src/asterisk-addons-1.6.2.3’
make[1]: Leaving directory /usr/src/asterisk-addons-1.6.2.3' make[1]: Entering directory
/usr/src/asterisk-addons-1.6.2.3/channels’
make[1]: Nothing to be done for all'. make[1]: Leaving directory
/usr/src/asterisk-addons-1.6.2.3/channels’
make[1]: Entering directory /usr/src/asterisk-addons-1.6.2.3/apps' [CC] app_addon_sql_mysql.c -> app_addon_sql_mysql.o app_addon_sql_mysql.c: In function ‘load_module’: app_addon_sql_mysql.c:594: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type /usr/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’ [LD] app_addon_sql_mysql.o -> app_addon_sql_mysql.so [CC] app_saycountpl.c -> app_saycountpl.o app_saycountpl.c: In function ‘saywords’: app_saycountpl.c:48: error: dereferencing pointer to incomplete type app_saycountpl.c:51: error: dereferencing pointer to incomplete type app_saycountpl.c:54: error: dereferencing pointer to incomplete type app_saycountpl.c: In function ‘load_module’: app_saycountpl.c:109: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type /usr/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’ make[1]: *** [app_saycountpl.o] Error 1 make[1]: Leaving directory
/usr/src/asterisk-addons-1.6.2.3/apps’
make: *** [apps] Error 2
Thanks & Regards,
Vishnu