[Asterisk-Users] Rate Engine Compile Error

Deon Rodden drodden at webunited.net
Wed Jul 28 06:36:31 MST 2004


I've tried to compile rate-engine 0.5.2 on Fedora Core 1, Redhat 9 and
OpenNA Linux 1.0 and all give me an "Error 1" after typing "make" but with
no real reason given. Just a few standard/non-critical warning messages, and
then suddenly "Error 1"

Anybody successfully compile Rate Engine? The least cost routing module for
Asterisk?


Thanks in advance.


-----------------
[root at dev rate-engine]# make
cc -O3 -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -g -fno-in
line-functions -D_REENTRANT -I/usr/include/pcre -DWITH_MYSQL -I/usr/include/
mysql   -c -o rate_engine.o rate_engine.c
rate_engine.c:60: error:
`__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__'
undeclared here (not in a function)
rate_engine.c: In function `cdr_ratecall':
rate_engine.c:450: warning: implicit declaration of function
`ast_channel_walk'
rate_engine.c:450: warning: assignment makes pointer from integer without a
cast
rate_engine.c:450: warning: assignment makes pointer from integer without a
cast
rate_engine.c: In function `poster_worker':
rate_engine.c:652: warning: unused parameter `arg'
rate_engine.c: In function `rates_reload':
rate_engine.c:1801: warning: unused parameter `argc'
rate_engine.c:1801: warning: unused parameter `argv'
rate_engine.c: In function `rates_status':
rate_engine.c:1813: warning: unused parameter `argc'
rate_engine.c:1813: warning: unused parameter `argv'
make: *** [rate_engine.o] Error 1
[root at dev rate-engine]#

-----------------




More information about the asterisk-users mailing list