[asterisk-users] compilation problem with asterisk-addons
Erick Perez
eaperezh at gmail.com
Tue Oct 31 14:49:38 MST 2006
Hi,
Trying to compile asterisk-addons 1.2.5 on Centos 4.4 produces this:
Note: MySQL libraries are installed and the structure is as follows:
/usr/src/astsources/asterisk-1.2.13
/usr/src/astsources/asterisk-addons-1.2.5
in /usr/src/astsources/asterisk-addons-1.2.5 I do:
make clean
make
and the output is:
./mkdep -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql `ls *.c`
app_addon_sql_mysql.c:25:27: asterisk/file.h: No such file or directory
app_addon_sql_mysql.c:26:29: asterisk/logger.h: No such file or directory
app_addon_sql_mysql.c:27:30: asterisk/channel.h: No such file or directory
app_addon_sql_mysql.c:28:26: asterisk/pbx.h: No such file or directory
app_addon_sql_mysql.c:29:29: asterisk/module.h: No such file or directory
app_addon_sql_mysql.c:30:34: asterisk/linkedlists.h: No such file or directory
app_addon_sql_mysql.c:31:31: asterisk/chanvars.h: No such file or directory
app_addon_sql_mysql.c:32:27: asterisk/lock.h: No such file or directory
app_saycountpl.c:11:27: asterisk/file.h: No such file or directory
app_saycountpl.c:12:29: asterisk/logger.h: No such file or directory
app_saycountpl.c:13:30: asterisk/channel.h: No such file or directory
app_saycountpl.c:14:26: asterisk/pbx.h: No such file or directory
app_saycountpl.c:15:29: asterisk/module.h: No such file or directory
app_saycountpl.c:16:27: asterisk/lock.h: No such file or directory
cdr_addon_mysql.c:23:29: asterisk/config.h: No such file or directory
cdr_addon_mysql.c:24:30: asterisk/options.h: No such file or directory
cdr_addon_mysql.c:25:30: asterisk/channel.h: No such file or directory
cdr_addon_mysql.c:26:26: asterisk/cdr.h: No such file or directory
cdr_addon_mysql.c:27:29: asterisk/module.h: No such file or directory
cdr_addon_mysql.c:28:29: asterisk/logger.h: No such file or directory
cdr_addon_mysql.c:29:26: asterisk/cli.h: No such file or directory
res_config_mysql.c:41:30: asterisk/channel.h: No such file or directory
res_config_mysql.c:42:29: asterisk/logger.h: No such file or directory
res_config_mysql.c:43:29: asterisk/config.h: No such file or directory
res_config_mysql.c:44:29: asterisk/module.h: No such file or directory
res_config_mysql.c:45:27: asterisk/lock.h: No such file or directory
res_config_mysql.c:46:30: asterisk/options.h: No such file or directory
res_config_mysql.c:47:26: asterisk/cli.h: No such file or directory
res_config_mysql.c:48:28: asterisk/utils.h: No such file or directory
make -C format_mp3 all
make[1]: Entering directory
`/usr/src/astsources/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
common.c:1:29: asterisk/logger.h: No such file or directory
common.c: In function `decode_header':
common.c:93: warning: implicit declaration of function `ast_log'
common.c:93: error: `LOG_WARNING' undeclared (first use in this function)
common.c:93: error: (Each undeclared identifier is reported only once
common.c:93: error: for each function it appears in.)
make[1]: *** [common.o] Error 1
make[1]: Leaving directory
`/usr/src/astsources/asterisk-addons-1.2.5/format_mp3'
make: *** [format_mp3/format_mp3.so] Error 2
Thanks for your help.
--
------------------------------------------------------------
Erick Perez
Panama Sistemas
Integradores de Telefonia IP y Soluciones Para Centros de Datos
Panama, Republica de Panama
Cel Panama. +(507) 6694-4780
------------------------------------------------------------
More information about the asterisk-users
mailing list