Hello,
When i try to compile my asterisk-addons-1.2.5 the following message is shown :
[root@voip asterisk-addons-1.2.5]# make clean
rm -f *.so *.o .depend
make -C format_mp3 clean
make[1]: directory /asterisk/asterisk-addons-1.2.5/format_mp3' rm -f *.o *.so *~ make[1]: leaving
/asterisk/asterisk-addons-1.2.5/format_mp3’
[root@voip asterisk-addons-1.2.5]# make install
./mkdep -fPIC -I…/asterisk/ -D_GNU_SOURCE -I/usr/include/mysql ls *.c
make -C format_mp3 all
make[1]: directory /asterisk/asterisk-addons-1.2.5/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
/asterisk/asterisk-addons-1.2.5/format_mp3’
cc -fPIC -I…/asterisk/ -D_GNU_SOURCE -I/usr/include/mysql -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/include/mysql -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
cc -fPIC -I…/asterisk/ -D_GNU_SOURCE -I/usr/include/mysql -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
cc -fPIC -I…/asterisk/ -D_GNU_SOURCE -I/usr/include/mysql -c -o res_config_mysql.o res_config_mysql.c
cc -shared -Xlinker -x -o res_config_mysql.so res_config_mysql.o -lmysqlclient -lz
for x in format_mp3/format_mp3.so app_saycountpl.so cdr_addon_mysql.so app_addon_sql_mysql.so res_config_mysql.so; do install -m 755 $x /usr/lib/asterisk/modules ; done
rm app_saycountpl.o
[root@voip asterisk-addons-1.2.5]#
The connection with mysql dont work and the cdr_mysql.conf file in /etc/asterisk not found. The sample are on configs dir in asterisk-addons-1.2.5.
Whats the problem? Can someone help me? Why cdr_mysql.conf is missing and cdr dont works?