[asterisk-users] Issues compiling addons on Fedora Core 3

sip sip at arcdiv.com
Tue Aug 15 06:06:03 MST 2006


Asterisk source dir is one level up from this.  Basically (and this is the
same way it compiles on our other servers):

/home/user
->/home/user/asterisk-1.2.10
->/home/user/asterisk-addons-1.2.23

On Tue, 15 Aug 2006 15:59:04 +0300, Tzafrir Cohen wrote
> 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 at local.xorcom.com
> icq#16849755          iax:tzafrir at local.xorcom.com
> +972-50-7952406          jabber:tzafrir at jabber.org
> tzafrir.cohen at xorcom.com     http://www.xorcom.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



More information about the asterisk-users mailing list