I have zero problem compiling the addons 1.23 on FC4 and RH4, but for some reason, when I try to compile them on FC3, I get this: 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:36: 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: error: `AST_LIST_REMOVE' undeclared (first use in this function) app_addon_sql_mysql.c:164: error: (Each undeclared identifier is reported only once app_addon_sql_mysql.c:164: error: for each function it appears in.) make: *** [app_addon_sql_mysql.o] Error 1 Any ideas? Same code, so I don't think there's a problem with the code itself. It has to be some lib issue or weirdness. Anyone run into this before? N.
Still having no luck on this one. Have searched ye olde Google, and found a couple of other references to the same error, but stemming back to an earlier revision which was supposedly 'fixed.' No one's seen this before and knows what causes it? Newer version of gcc perhaps? GCC compiled differently? A particular version of the MySQL libs? N. On Sat, 12 Aug 2006 13:48:40 -0400, sip wrote> I have zero problem compiling the addons 1.23 on FC4 and RH4, but > for some reason, when I try to compile them on FC3, I get this: > > 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:36: 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: error: `AST_LIST_REMOVE' undeclared > (first use in this function) app_addon_sql_mysql.c:164: error: (Each > undeclared identifier is reported only once > app_addon_sql_mysql.c:164: error: for each function it appears in.) > make: *** [app_addon_sql_mysql.o] Error 1 > > Any ideas? Same code, so I don't think there's a problem with the > code itself. It has to be some lib issue or weirdness. Anyone run > into this before? > > N. > _______________________________________________ > --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
Tzafrir Cohen
2006-Aug-15 05:59 UTC
[asterisk-users] Issues compiling addons on Fedora Core 3
On Sat, Aug 12, 2006 at 01:48:40PM -0400, sip wrote:> I have zero problem compiling the addons 1.23 on FC4 and RH4, but for some > reason, when I try to compile them on FC3, I get this: > > 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:36: 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: error: `AST_LIST_REMOVE' undeclared (first use in > this function) > app_addon_sql_mysql.c:164: error: (Each undeclared identifier is reported only > once > app_addon_sql_mysql.c:164: error: for each function it appears in.) > make: *** [app_addon_sql_mysql.o] Error 1 >Where is the asterisk source directory? What version of asterisk do you have?> > > Any ideas? Same code, so I don't think there's a problem with the code itself. > It has to be some lib issue or weirdness. Anyone run into this before? > > > N. > _______________________________________________ > --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 >-- Tzafrir Cohen sip:tzafrir@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 jabber:tzafrir@jabber.org tzafrir.cohen@xorcom.com http://www.xorcom.com