[Asterisk-Users] Latest SVN of asterisk-addons doesn't compile

Vahram Igityan undef at web.am
Mon Jul 3 05:09:29 MST 2006


Hello Robert,

You need to have include files, try  compile and install asterisk
before addons ;-)


Monday, July 3, 2006, 6:36:39 AM, you wrote:

> build_tools/mkdep -fPIC -fPIC app_addon_sql_mysql.c app_saycountpl.c  
> cdr_addon_mysql.c res_config_mysql.c
> app_addon_sql_mysql.c:15:22: error: asterisk.h: No such file or  
> directory
> app_saycountpl.c:10:22: error: asterisk.h: No such file or directory
> cdr_addon_mysql.c:22:22: error: asterisk.h: No such file or directory
> res_config_mysql.c:41:22: error: asterisk.h: No such file or directory
> gcc -fPIC -fPIC   -c -o app_saycountpl.o app_saycountpl.c
> app_saycountpl.c:10:22: error: asterisk.h: No such file or directory
> In file included from /usr/include/asterisk/linkedlists.h:23,
>                   from /usr/include/asterisk/chanvars.h:26,
>                   from /usr/include/asterisk/channel.h:111,
>                   from /usr/include/asterisk/file.h:30,
>                   from app_saycountpl.c:13:
> /usr/include/asterisk/lock.h: In function ‘ast_mutex_init’:
> /usr/include/asterisk/lock.h:534: error: ‘PTHREAD_MUTEX_RECURSIVE’  
> undeclared (first use in this function)
> /usr/include/asterisk/lock.h:534: error: (Each undeclared identifier  
> is reported only once
> /usr/include/asterisk/lock.h:534: error: for each function it appears
> in.)

> $ uname -a
> Linux localhost 2.6.16-1.2133_FC5 #1 Tue Jun 6 00:52:14 EDT 2006 i686
> i686 i386 GNU/Linux

> $ svn update

> Fetching external item into 'menuselect'
> External at revision 17.


> Fetching external item into 'mxml'
> External at revision 3.

> At revision 254.

> _______________________________________________
> --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



-- 
Best regards,
 Vahram




More information about the asterisk-users mailing list