Ehhr... didn't expect to find this so soon... Only did make on asterisk (and had 1.0.3 still running).... after issuing a make-install on the CVS version of asterisk the asterisk-addons CVS compiled also without failures ..
Sorry :-) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: dinsdag 18 januari 2005 23:29 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] problems compiling asterisk-addons Hello maybe someone can help me? I did the CVS checkout and then compiled asterisk Then I tried to compile the addons and got the following (don't understand what's wrong at all and can't find anything about this error on google/wiki) 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 Can anyone help me out? Niels PS.. Below the full output of the make [EMAIL PROTECTED] asterisk-addons]# make ./mkdep -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql `ls *.c` app_addon_sql_mysql.c:164:64: macro "AST_LIST_REMOVE" requires 4 arguments, but only 3 given make -C format_mp3 all make[1]: Entering directory `/opt/asterisk-cvs/asterisk-addons/format_mp3' gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o common.o common.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o dct64_i386.o dct64_i386.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o decode_ntom.o decode_ntom.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o layer3.o layer3.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o tabinit.o tabinit.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o interface.o interface.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o format_mp3.o format_mp3.c format_mp3.c: In function `load_module': format_mp3.c:335: warning: passing arg 5 of `ast_format_register' from incompatible pointer type gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -shared -Xlinker -x -o format_mp3.so common.o dct64_i386.o decode_ntom.o layer3.o tabinit.o interface.o format_mp3.o make[1]: Leaving directory `/opt/asterisk-cvs/asterisk-addons/format_mp3' cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o app_saycountpl.o app_saycountpl.c cc -shared -Xlinker -x -o app_saycountpl.so app_saycountpl.o cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o cdr_addon_mysql.o cdr_addon_mysql.c 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 _______________________________________________ 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 _______________________________________________ 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