Bug#356756: Future of asterisk-rate-engine?? Re: Release-critical Bugreport for January 5, 2007

Christian Hammers ch at debian.org
Sat Jan 6 14:40:06 CET 2007


Hello

On 2007-01-06 Mark Purcell wrote:
> In the Debian GNU/LInux version of asterisk-rate-engine we have a Release 
> Critical bug as Debian is no longer supporting libmysqlclient14 and 
> rate-engine refuses to build with libmysqlclient15.
> 
> http://bugs.debian.org/356756

But this does not look like a MySQL related problem at all, although the MySQL upgrade was
has triggered the autobuilders to try building asterisk-rate-engine again:

1. 
 In file included from rate_engine.c:28:
 /usr/include/asterisk/file.h:27:2: error: #error You must include stdio.h before file.h!
  
 This seems to be an easy to fix change in the asterisk API.

2. 
 rate_engine.c:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'poster_lock' 
 rate_engine.c:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'poster_cond'

 In the source this looks like a pthread issue as lines 70/71 are:
   static pthread_mutex_t poster_lock = PTHREAD_MUTEX_INITIALIZER;
   static pthread_cond_t poster_cond = PTHREAD_COND_INITIALIZER;

3.
 rate_engine.c: In function 'routecall_exec':
 rate_engine.c:259: error: 'struct ast_channel' has no member named 'callerid'
 rate_engine.c:515: error: 'struct ast_channel' has no member named 'callerid'

 This looks like a Asterisk upstream API change, too.


bye,

-christian-




More information about the Pkg-voip-maintainers mailing list