search for: ast_mutex_define_stat

Displaying 15 results from an estimated 15 matches for "ast_mutex_define_stat".

2004 Jul 14
2
Chan_Capi 0.3.4a error
...nclude/linux/kernelcapi.h:13, from /usr/include/linux/capi.h:18, from chan_capi.c:34: /usr/include/linux/list.h:604:2: warning: #warning "don't include kernel headers in userspace" chan_capi.c:61: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_capi.c:61: warning: parameter names (without types) in function declaration chan_capi.c:61: warning: data definition has no type or storage class chan_capi.c:62: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_capi.c:62: warning: parameter names...
2004 Jun 15
5
Capi problems
I'm getting this message when I start Asterisk chan_capi.c:2205 capi_handle_msg: Command.Subcommand = 0x5.0x81 but when I try and recompile I get this chan_capi.c:60: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared here (not in a function) any help would be greatly appreciated. -- Dave Cotton <dcotton@linuxautrement.com>
2004 Sep 20
1
can't compile chan_capi 0.3.5 under SuSE 9.0
...lude/linux/kernelcapi.h:13, from /usr/include/linux/capi.h:18, from chan_capi.c:35: /usr/include/linux/list.h:563:2: warning: #warning "don't include kernel headers in userspace" chan_capi.c:62: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_capi.c:62: warning: parameter names (without types) in function declaration chan_capi.c:62: warning: data definition has no type or storage class chan_capi.c:63: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_capi.c:63: warning: parameter name...
2004 Jul 02
1
Problem with CHAN_SCCP
...rors: [root@asterisk01 chan_sccp]# make Now compiling .... chan_sccp.c 695 lines In file included from chan_sccp.c:15: /usr/src/asterisk/include/asterisk/utils.h:22: redefinition of `struct ast_hostent' chan_sccp.c:50: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_sccp.c:50: warning: parameter names (without types) in function declaration chan_sccp.c:50: warning: data definition has no type or storage class chan_sccp.c:51: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_sccp.c:51: warning: parameter na...
2004 Aug 16
3
Problems compiling chan_capi-0.3.5
...nclude/linux/kernelcapi.h:13, from /usr/include/linux/capi.h:18, from chan_capi.c:35: /usr/include/linux/list.h:563:2: warning: #warning "don't include kernel headers in userspace" chan_capi.c:62: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_capi.c:62: warning: parameter names (without types) in function declaration chan_capi.c:62: warning: data definition has no type or storage class chan_capi.c:63: warning: type defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC' chan_capi.c:63: warning: parameter names...
2005 Mar 24
0
chan_unistim compile failed
I am trying to compile chan_unistim and getting some compilation errors: Asterisk Version: Asterisk CVS-03/21/05-12:24:27 AstHeaders: /usr/include Gcc: gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-42) OS: CentOS 3.3 (final) The isssue seems to be stemming from AST_MUTEX_DEFINE_STATIC - here is the error dump from chan_unistim: gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include/ -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_unistim.o chan_unistim.c In file included from chan_unis...
2004 Jun 21
1
R: Re: cdr_addon_mysql compiling error
>> I'm trying to compile cdr_addon_mysql but keep getting this error. >> Again, searching the Wiki and the mailing list archive didn't bring up >> anything useful. Any help? Yes, I'm using MySQL 4.0. Maybe I have to >> switch back to 3.23? >> >> >> # make >> cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o
2004 Jul 28
2
Rate Engine Compile Error
...? Thanks in advance. ----------------- [root@dev rate-engine]# make cc -O3 -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -g -fno-in line-functions -D_REENTRANT -I/usr/include/pcre -DWITH_MYSQL -I/usr/include/ mysql -c -o rate_engine.o rate_engine.c rate_engine.c:60: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared here (not in a function) rate_engine.c: In function `cdr_ratecall': rate_engine.c:450: warning: implicit declaration of function `ast_channel_walk' rate_engine.c:450: warning: assignment makes pointer from integer without a cast rate_eng...
2004 Jun 16
3
ZAPHFC - only for * 0.7.2?
I've got Zaphfc working running Asterisk v. 0.7.2 Then I have tried with Asterisk V. 1.0 and the latest from CVS - with no succes. Has anybody got zaphfc working with newer version than 0.7.2 ? NR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040616/32481fca/attachment.htm
2005 Aug 04
1
bristuff-0.2.0RC8m
Hi, I have following problems compiling bristuff-0.2.0RC8m. Has anybody seen them before and can point me in the right direction? zaphfc/make all: ---------------------- /usr/src/asterisk/bristuff-0.2.0-RC8m/zaphfc/zaphfc.c: In function 'hfc_findCards': /usr/src/asterisk/bristuff-0.2.0-RC8m/zaphfc/zaphfc.c:1000: error: invalid lvalue in assignment make[2]: *** [
2004 Aug 22
4
Error compiling meetme2
...GDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -fPIC -c -o app_meetme2.o app_meetme2.c app_meetme2.c:646: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared here (not in a function) app_meetme2.c: In function `count_exec': app_meetme2.c:1548: error: too few arguments to function `ast_say_number' make[1]: *** [app_meetme2.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk-cvs/asterisk/a...
2005 Mar 05
2
cant compile app_meetme2
...meetme2.c:307: warning: format argument is not a pointer (arg 3) app_meetme2.c:331: warning: passing arg 1 of `strlen' makes pointer from integer without a cast app_meetme2.c:336: warning: format argument is not a pointer (arg 3) app_meetme2.c: At top level: app_meetme2.c:645: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_I NITIALIZER__' undeclared here (not in a function) app_meetme2.c: In function `count_exec': app_meetme2.c:1547: error: too few arguments to function `ast_say_number' gmake[1]: *** [app_meetme2.o] Error 1
2005 Aug 25
2
Custom Application For Asterisk
...quot;; static char abcdlanguage[30] = ""; #define DEFAULTCHARSET "iso_1" #define DEFAULTLANGUAGE "us_english" static int connected = 0; static int mssql_connect(void); static int mssql_disconnect(void); static int play_file(struct ast_channel *chan, char *filename); AST_MUTEX_DEFINE_STATIC(tdslock); static TDSSOCKET *tds; static TDSLOGIN *login; static TDSCONTEXT *context; STANDARD_LOCAL_USER; LOCAL_USER_DECL; struct abcd_user { char moh[80]; char announce[80]; char context[80]; int handled; time_t start; int queuetimeout; struct ast_channel *cha...
2005 Jun 20
1
Re: app_valetparking.c for * STABLE (1.0.X)
Nope ! This is the one that tries to include PRE 1.0.X header file <parking.h>. It cannot compile on * 1.0.X (I have tried also to include <features.h> instead of <parking.h> (as far as I know features.h is successor to parking.h), but still without results). Thanks anyway. Nenad > > Try this > >> Since www.bkw.org seems not to exist anymore (getting
2004 Jun 17
4
Problems with PRI with T410 messages
...tcfg -v Now I go to a different directory and do a CVS checkout of Asterisk head. Just before compiling, I replace channels/chan_zap.c with bri-stuff-0.0.2a-pp/asterisk/channels/chan.zap.c. I then change the lines of the form static ast_mutex_t usecnt_lock = AST_MUTEX_INITIALIZER; into AST_MUTEX_DEFINE_STATIC(usecnt_lock); and compile & install. And voila, now I have an Asterisk from (almost) CVS HEAD working with zaphfc. The real solution would have been to apply all the patches from bri-stuff*/libpri.patch to libpri in CVS. After looking at how much has been changed and considering that...