I am getting some warnings and after installing addons I don’ get res_mysql.conf file in etc/conf. I have installed and running Mysql 5.0.22 server. Here is the log after ‘make’. I am not so good with linux at all so please have that in mind if you are replying this thread. And this is all running on SuSe10.
Thanks in advance
[quote]linux:/usr/src/asterisk-addons-1.2.3 # make
./mkdep -fPIC -I…/asterisk -D_GNU_SOURCE -I/usr/local/mysql/include ls *.c
make -C format_mp3 all
make[1]: Entering directory /usr/src/asterisk-addons-1.2.3/format_mp3' gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o common.o common.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o dct64_i386.o dct64_i386.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o decode_ntom.o decode_ntom.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o layer3.o layer3.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o tabinit.o tabinit.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o interface.o interface.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o format_mp3.o format_mp3.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -shared -Xlinker -x -o format_mp3.so common.o dct64_i386.o decode_ntom.o layer3.o tabinit.o interface.o format_mp3.o make[1]: Leaving directory
/usr/src/asterisk-addons-1.2.3/format_mp3’
cc -fPIC -I…/asterisk -D_GNU_SOURCE -I/usr/local/mysql/include -c -o app_saycountpl.o app_saycountpl.c
cc -shared -Xlinker -x -o app_saycountpl.so app_saycountpl.o
cc -fPIC -I…/asterisk -D_GNU_SOURCE -I/usr/local/mysql/include -c -o cdr_addon_mysql.o cdr_addon_mysql.c
cc -shared -Xlinker -x -o cdr_addon_mysql.so cdr_addon_mysql.o -lmysqlclient -lz -L/usr/local/mysql/lib
cc -fPIC -I…/asterisk -D_GNU_SOURCE -I/usr/local/mysql/include -c -o app_addon_sql_mysql.o app_addon_sql_mysql.c
cc -shared -Xlinker -x -o app_addon_sql_mysql.so app_addon_sql_mysql.o -lmysqlclient -lz -L/usr/local/mysql/lib
cc -fPIC -I…/asterisk -D_GNU_SOURCE -I/usr/local/mysql/include -c -o res_config_mysql.o res_config_mysql.c
res_config_mysql.c: In function ?realtime_mysql?:
res_config_mysql.c:117: warning: incompatible implicit declaration of built-in function ?snprintf?
res_config_mysql.c: In function ?realtime_multi_mysql?:
res_config_mysql.c:224: warning: incompatible implicit declaration of built-in function ?snprintf?
res_config_mysql.c: In function ?update_mysql?:
res_config_mysql.c:313: warning: incompatible implicit declaration of built-in function ?snprintf?
res_config_mysql.c: In function ?config_mysql?:
res_config_mysql.c:376: warning: incompatible implicit declaration of built-in function ?snprintf?
res_config_mysql.c: In function ?realtime_mysql_status?:
res_config_mysql.c:648: warning: incompatible implicit declaration of built-in function ?snprintf?
res_config_mysql.c:650: warning: incompatible implicit declaration of built-in function ?snprintf?
res_config_mysql.c:652: warning: incompatible implicit declaration of built-in function ?snprintf?
res_config_mysql.c:656: warning: incompatible implicit declaration of built-in function ?snprintf?
cc -shared -Xlinker -x -o res_config_mysql.so res_config_mysql.o -lmysqlclient -lz -L/usr/local/mysql/lib
rm app_saycountpl.o
[/quote]