Charles Wang
2005-Feb-26 04:34 UTC
[Asterisk-Users] ERROR: when compile app_addon_sql_mysql.c of asterisk_addon
Dear ALL: I got this error when try to compile asterisk_addon. Does anybody have solution about it ? 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 make: *** [app_addon_sql_mysql.o] Error 1 Best Regard Charles
cristiangafotas
2005-Feb-26 04:50 UTC
[Asterisk-Users] ERROR: when compile app_addon_sql_mysql.c of asterisk_addon
Update both asterisk and asterisk-addons. This error is usually due to not updating include files in /usr/src/include/asterisk (this files are updated when a make install is done from asterisk soruce dir). Regards, Cristian Alonso On Sat, 26 Feb 2005 19:34:59 +0800, Charles Wang <lazy.charles@gmail.com> wrote:> Dear ALL: > > I got this error when try to compile asterisk_addon. > > Does anybody have solution about it ? > > 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 > make: *** [app_addon_sql_mysql.o] Error 1 > > Best Regard > Charles > _______________________________________________ > 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 >