[Asterisk-Users] problem in compiling asterisk-addons

Kamran Ahmad p_kami at yahoo.com
Wed Feb 2 06:05:29 MST 2005


there is a problem in compiling asterisk-addons
any one have fixed this problem. i want
res_config_mysql.so any one help me

-----------------------------------------------------
[root at localhost asterisk-addons]# make
cc -fPIC -I../asterisk -D_GNU_SOURCE 
-I/usr/include/mysql     -c -o res_config_mysql.o
res_config_mysql.c
res_config_mysql.c: In function `realtime_mysql':
res_config_mysql.c:142: warning: passing arg 1 of
`ast_strlen_zero' makes pointer from integer without a
cast
res_config_mysql.c:144: warning: assignment makes
pointer from integer without a cast
res_config_mysql.c:149: warning: assignment makes
pointer from integer without a cast
res_config_mysql.c: In function
`realtime_multi_mysql':
res_config_mysql.c:189: warning: assignment makes
pointer from integer without a cast
res_config_mysql.c:250: warning: assignment makes
pointer from integer without a cast
res_config_mysql.c:259: warning: passing arg 1 of
`ast_strlen_zero' makes pointer from integer without a
cast
res_config_mysql.c:263: warning: assignment makes
pointer from integer without a cast
res_config_mysql.c: In function `config_mysql':
res_config_mysql.c:396: warning: assignment makes
pointer from integer without a cast
res_config_mysql.c:405: warning: assignment makes
pointer from integer without a cast
res_config_mysql.c: At top level:
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
/usr/include/asterisk/utils.h: At top level:
res_config_mysql.c:418: error: storage size of
`mysql_engine' isn't known
make: *** [res_config_mysql.o] Error 1
-------------------------------------------------------



	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail



More information about the asterisk-users mailing list