[Asterisk-Users] Slackware + Asterisk + asterisk-addons

Mike Machado mike at cheapnet.net
Sun Jan 30 21:24:26 MST 2005


There were some changes recently to the internal structure of the
realtime config. Make sure you have the latest CVS copy of both asterisk
and asterisk-addons and it should fix the compile error with
res_config_mysql.


On Sun, 2005-01-30 at 23:16 -0500, Bobby Lacey wrote:
> Hello
>  
> I am trying to get asterisk-addons installed so that I can use the
> mysql cdr feature. OK, I have the MySQL server (mysqld) installed, but
> I noticed that mysql-devel is also required. I tried to compile
> asterisk-addons and got a:
>  
> --CUT---
> res_config_mysql.c:422: error: unknown field `realtime_multi_func'
> specified in initializer
> res_config_mysql.c:422: warning: excess elements in struct initializer
> res_config_mysql.c:422: warning: (near initialization for
> `mysql_engine')
> res_config_mysql.c:423: error: unknown field `update_func' specified
> in initializer
> res_config_mysql.c:424: warning: excess elements in struct initializer
> res_config_mysql.c:424: warning: (near initialization for
> `mysql_engine')
> res_config_mysql.c: In function `parse_config':
> res_config_mysql.c:491: warning: assignment makes pointer from integer
> without a cast
> /usr/include/asterisk/utils.h: At top level:
> res_config_mysql.c:418: error: storage size of `mysql_engine' isn't
> known
> make: *** [res_config_mysql.o] Error 1
> root at allman:/usr/src/asterisk-addons#
> 
>  
> So I'm assuming that I need mysql-devel? I went to download the
> package from mysql.com, but the only format I saw was .rpm. I am using
> Slackware 10.0 so rpm doesnt want to work well. I get the following:
>  
> rpm -Uvh MySQL-devel-4.1.9-0.i386.rpm
> warning: MySQL-devel-4.1.9-0.i386.rpm: V3 DSA signature: NOKEY, key ID
> 5072e1f5
> error: Failed dependencies:
>         /bin/sh is needed by MySQL-devel-4.1.9-0
>  
>  
>  Does anyone have any suggestions or help they could offer?
>  
> Thanks in advance..
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list