[Asterisk-Users] Asterisk cdr mysql

Moises Silva moises.silva at gmail.com
Tue Nov 29 07:50:02 MST 2005


hum, may be a mismatching between the asterisk source and the mysql module
source. Where are you getting the sources and please explain how are you
starting the compilation.

Best Regards

On 11/27/05, Abdul Lateef Khan <lateef.np at gmail.com> wrote:
>
> Hi all,
>
> Did anyone installed asterisk-addons successfull? Becuase i am getting
> some error in installation.
>
> Error:
>
> cdr_addon_mysql.c: In function `my_load_module':
> cdr_addon_mysql.c:292: warning: assignment makes pointer from integer
> without a cast
> cc -shared -Xlinker -x -o cdr_addon_mysql.so cdr_addon_mysql.o
> -lmysqlclient -lz  -L/usr/lib/mysql
> cc -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql     -c -o
> app_addon_sql_mysql.o app_addon_sql_mysql.c
> app_addon_sql_mysql.c:164:64: macro "AST_LIST_REMOVE" requires 4
> arguments, but only 3 given
> app_addon_sql_mysql.c: In function `del_identifier':
> app_addon_sql_mysql.c:164: `AST_LIST_REMOVE' undeclared (first use in
> this function)
> app_addon_sql_mysql.c:164: (Each undeclared identifier is reported only
> once
> app_addon_sql_mysql.c:164: for each function it appears in.)
> make: *** [app_addon_sql_mysql.o] Error 1
> rm app_saycountpl.o
>
> Please help me how i can load this mysql cdr module?
>
>
> --
> Best Regards,
> Abdul Lateef Khan
> Computer Programmer
> Mobile No. : +974 - 5405022
> ICQ : 276-994-704
> YM! : abdul_zu at yahoo.com
> MSN : abdulzu at hotmail.com
> Google Talk : lateef.np at gmail.com
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051129/39846287/attachment.htm


More information about the asterisk-users mailing list