Hello I am tying to install asterisk addson, but when i give make, it shows me following error messages: 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:77: macro "AST_LIST_REMOVE" passed 4 arguments, but takes just 3 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 Any idea, why this compatability issue arised? Thanks
I'm having exactly the same problem, I'm currently using * HEAD. If anyone can help please let us know what is the issue. Regards, Humberto -----Mensagem original----- De: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] Em nome de rizwan Enviada em: Thursday, January 06, 2005 4:34 AM Para: asterisk-users@lists.digium.com Assunto: [Asterisk-Users] asterisk addson Hello I am tying to install asterisk addson, but when i give make, it shows me following error messages: 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:77: macro "AST_LIST_REMOVE" passed 4 arguments, but takes just 3 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 Any idea, why this compatability issue arised? Thanks _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
This is most likely due to the HUGE CHANGES in recent code in regards to linked-lists. Be patient. They are being fixed and optimized. -Matthew ----- Original Message ----- From: "rizwan" <rizwan@advcomm.net> To: <asterisk-users@lists.digium.com> Sent: Thursday, January 06, 2005 12:34 AM Subject: [Asterisk-Users] asterisk addson> Hello > > I am tying to install asterisk addson, but when i give make, it shows mefollowing error messages:> > cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -oapp_addon_sql_mysql.o app_addon_sql_mysql.c> app_addon_sql_mysql.c:164:77: macro "AST_LIST_REMOVE" passed 4 arguments,but takes just 3> app_addon_sql_mysql.c: In function `del_identifier': > app_addon_sql_mysql.c:164: `AST_LIST_REMOVE' undeclared (first use in thisfunction)> app_addon_sql_mysql.c:164: (Each undeclared identifier is reported onlyonce> app_addon_sql_mysql.c:164: for each function it appears in.) > make: *** [app_addon_sql_mysql.o] Error 1 > > Any idea, why this compatability issue arised? > > Thanks > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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
Matthew Boehm wrote:> This is most likely due to the HUGE CHANGES in recent code in regards to > linked-lists. Be patient. They are being fixed and optimized. > > -MatthewMatthew, Has there been any progress on this? I am still getting the same error (from CVS-HEAD as of a few minutes ago): app_addon_sql_mysql.c:164:77: macro "AST_LIST_REMOVE" passed 4 arguments, but takes just 3 Does anyone have a working copy of this code? Thanks. -- Kristian Kielhofner