search for: ast_mutex_init

Displaying 20 results from an estimated 20 matches for "ast_mutex_init".

2004 Jul 12
1
Errors when compiling app_radius
...ror message : "" make[1]: Quitte le r?pertoire `/home/grd/appradius/inc' make[1]: Entre dans le r?pertoire `/home/grd/appradius/src' gcc -c -I../inc -O -Wall -I/usr/local/include -g -O2 app_radius.c In file included from app_radius.c:17: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:173: warning: implicit declaration of function `pthread_mutexattr_settype' app_radius.c: At top level: app_radius.c:48: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a function) make[1]: *** [app_radius.o] Erreur 1 """...
2004 Dec 20
1
RxFAX compile problem
...X/TxFAX with Asterisk CVS 02/16/04 and it works just fine, i installed it successfully. Now i have Asterisk CVS 10/08/04, i installed spandsp-0.0.1 with no errors. When i reinstalled asterisk i got the following error: In file included from app_rxfax.c:14: ../include/asterisk/lock.h: In function `ast_mutex_init': ../include/asterisk/lock.h:311: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) ../include/asterisk/lock.h:311: (Each undeclared identifier is reported only once ../include/asterisk/lock.h:311: for each function it appears in.) app_rxfax.c: In function `phase_e_handl...
2004 Jun 20
1
Softfax/spandsp Makefile.patch rxfax/txfax
...akefile (/usr/src/asterisk/apps), as the supplied patch does not fit the actual CVS apps/Makefile After make clean ; make install, I received this error: gcc -O2 -g -Iinclude -I../include -c -o app_rxfax.o app_rxfax.c In file included from app_rxfax.c:14: ../include/asterisk/lock.h: In function `ast_mutex_init':../include/asterisk/lock.h:214: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) ../include/asterisk/lock.h:214: error: (Each undeclared identifier is reported only once ../include/asterisk/lock.h:214: error: for each function it appears in. Any help? (yes, I copie...
2005 Jan 12
2
Trouble building appradius
...r `all'. make[1]: Leaving directory `/usr/src/appradius/appradius1.0/inc' make[1]: Entering directory `/usr/src/appradius/appradius1.0/src' gcc -c -I../inc -O -Wall -I/usr/local/include -g -O2 app_radius.c In file included from app_radius.c:17: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:311: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:311: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:311: error: for each function it appears in.) make[1]: *** [ap...
2005 Oct 10
2
Beronet app_saynumber-beta-rc1
...for what is going on? Compilation trial: c -ggdb -fPIC -I/usr/src/asterisk-1.2.0-beta1/include -DAST_CONFIG_DIR=\"/etc/asterisk/\" -c -o app_say_number.o app_say_number.c In file included from app_say_number.c:14: /usr/src/asterisk-1.2.0-beta1/include/asterisk/lock.h: In function `ast_mutex_init': /usr/src/asterisk-1.2.0-beta1/include/asterisk/lock.h:330: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/src/asterisk-1.2.0-beta1/include/asterisk/lock.h:330: error: (Each undeclared identifier is reported only once /usr/src/asterisk-1.2.0-beta1/include/a...
2005 Sep 14
11
RxFax/TxFax - Compile Problem
Anyone know how to fix this? gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:302: error: for each function it appears in.) app_rxfax.c:...
2004 Jun 23
0
UPDATE Patch for postgres enabled app_voicemail.c
...e(); + ast_verbose( VERBOSE_PREFIX_3 "Logging into postgres database: %s\n", dboption); ! fprintf(stderr,"Logging into postgres database: %s\n", dboption); dbhandler=PQconnectdb(dboption); if (PQstatus(dbhandler) == CONNECTION_BAD) { *************** *** 253,270 **** } ast_mutex_init(&postgreslock); ! /* fprintf(stderr,"postgres login OK\n"); */ return(0); } ! static void sql_close(void) { ! PQfinish(dbhandler); } static struct ast_vm_user *find_user(struct ast_vm_user *ivm, char *context, char *mailbox) { PGresult *PGSQLres; --- 269,371 ----...
2004 Jun 23
0
Patch for postgres enabled app_voicemail.c
...e(); + ast_verbose( VERBOSE_PREFIX_3 "Logging into postgres database: %s\n", dboption); ! fprintf(stderr,"Logging into postgres database: %s\n", dboption); dbhandler=PQconnectdb(dboption); if (PQstatus(dbhandler) == CONNECTION_BAD) { *************** *** 253,270 **** } ast_mutex_init(&postgreslock); ! /* fprintf(stderr,"postgres login OK\n"); */ return(0); } ! static void sql_close(void) { ! PQfinish(dbhandler); } static struct ast_vm_user *find_user(struct ast_vm_user *ivm, char *context, char *mailbox) { PGresult *PGSQLres; --- 269,371 ----...
2005 Mar 16
2
meetme2 compilation
Hello! Do somebody knows how to compile meetme2 with 1.0.6. I readed wiki, applied patches, but no luck ;-( Me be someone can give me working meetme2.c ? :-)
2005 Mar 18
0
Meetme2 compilation Err
Hi , While compiling meetme2 i am getting the following error. Please guide me to make it work. cc -fPIC -c -o app_dial.o app_dial.c In file included from app_dial.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:317: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:317: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:317: for each function it appears in.) make: *** [app_dial.o] Error 1 Thank...
2005 Oct 04
1
Can't compile ast_rxfax with Asterisk 1.2.1b
I'm trying to get ast_rxfax and ast_txfax compiling with Asterisk 1.2.1 beta. The two ast_?xfax files don't compile: gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -fomit-frame-pointer -fPIC -D_GNU_SOURCE -c -o app_rxfax.o app_rxfax.c app_rxfax.c: In function
2005 Oct 17
1
can't compile ast_*fax
...Provide the Linux initializers for MacOS X */ #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE #define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP { 0x4d555458, \ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x20 } } #endif #ifdef BSD #ifdef __GNUC__ #define AST_MUTEX_INIT_W_CONSTRUCTORS #else #define AST_MUTEX_INIT_ON_FIRST_USE #endif #endif /* BSD */ /* From now on, Asterisk REQUIRES Recursive (not error checking) mutexes and will not run without them. */ #ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP #define PTHREAD_MUTEX_INIT_VALUE PTHREAD_RECURSIVE_...
2006 Jan 08
0
problems with app_odbcexec
...om /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_odbcexec.c:22: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:525: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:525: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:525: error: for each function it appears in.) app_odbcexec.c:...
2006 Jan 11
0
problems with installing app_odbcexec into dialplan
...d 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_odbcexec.c:22: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:525: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:525: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:525: error: for each function it appears in.) app_odbcexec.c:...
2004 Oct 05
1
Cannot compile Meetme2
Hi, I cannot compile Meetme2 on Suse 9.1 and Asterisk rc2. For latter 2 errors I guess I need development for mysql and postgres, but what about first error ? Regards, Robert. In file included from app_meetme2.c:13: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:300: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:300: error: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:300: error: for each function it appears in.) app_meetme2....
2011 May 10
2
Asterisk 1.8.4 Now Available
...ut your help this release would not have been possible. Thank you! Below is a sample of the issues resolved in this release: * Use SSLv23_client_method instead of old SSLv2 only. (Closes issue #19095, #19138. Reported, patched by tzafrir. Tested by russell and chazzam. * Resolve crash in ast_mutex_init() (Patched by twilson) * Resolution of several DTMF based attended transfer issues. (Closes issue #17999, #17096, #18395, #17273. Reported by iskatel, gelo, shihchuan, grecco. Patched by rmudgett) NOTE: Be sure to read the ChangeLog for more information about these changes. * Resol...
2011 May 10
2
Asterisk 1.8.4 Now Available
...ut your help this release would not have been possible. Thank you! Below is a sample of the issues resolved in this release: * Use SSLv23_client_method instead of old SSLv2 only. (Closes issue #19095, #19138. Reported, patched by tzafrir. Tested by russell and chazzam. * Resolve crash in ast_mutex_init() (Patched by twilson) * Resolution of several DTMF based attended transfer issues. (Closes issue #17999, #17096, #18395, #17273. Reported by iskatel, gelo, shihchuan, grecco. Patched by rmudgett) NOTE: Be sure to read the ChangeLog for more information about these changes. * Resol...
2006 Nov 29
1
Getting app_cepstral to work with Asterisk 1.4.0-beta3
...ded from /usr/src/asterisk/include/asterisk/linkedlists.h:23, from /usr/src/asterisk/include/asterisk/frame.h:37, from /usr/src/asterisk/include/asterisk/channel.h:110, from app_cepstral.c:33: /usr/src/asterisk/include/asterisk/lock.h: In function `ast_mutex_init': /usr/src/asterisk/include/asterisk/lock.h:513: warning: implicit declaration of function `pthread_mutexattr_settype' /usr/src/asterisk/include/asterisk/lock.h:513: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/src/asterisk/include/asterisk/lock.h:513: e...
2005 Mar 18
15
Meetme2 compilation problem
Hi All, I am trying to compile meetme2 in my asterisk box and getting the following compilaton error. Please help me to sort it out. cc -fPIC -c -o app_dial.o app_dial.c In file included from app_dial.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:317: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:317: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:317: for each function it appears in.) make: *** [app_dial.o] Error 1 Thank...
2004 Aug 26
6
chan_capi module
...de/unistd.h:743: error: syntax error before "__THROW" /usr/include/unistd.h:746: error: syntax error before "__THROW" In file included from chan_capi.c:14: /usr/include/asterisk/lock.h:294: error: syntax error before "typedef" /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:300: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)/usr/include/asterisk/lock.h:300: error:(Each undeclared identifier is reported only once/usr/include/asterisk/lock.h:300: error: for each function itappears in.) In file included fro...