Displaying 7 results from an estimated 7 matches for "ast_mutex_initializer".
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 Jul 28
2
Rate Engine Compile Error
...------
[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_engine.c:450: warning: assignment makes...
2004 Apr 29
2
spandsp compile error: PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here
...e, tracing the header files and
such, and as far as I can work out it should be working. Mind you, I
haven't done any C coding for about 6 years so I'm a little rusty.
Line 45 of app_rcfax.c is "LOCAL_USER_DECL;", which is defined in
/usr/include/asterisk/module.h. It includes AST_MUTEX_INITIALIZER, which
is defined in /usr/include/asterisk/lock.h. The definition there
includes PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP which is defined as a
constant in /usr/include/pthread.h.
It would seem for some reason that it's not being expanded properly by
the preparser. Does anyone have any ideas...
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
2004 Aug 22
4
Error compiling meetme2
...-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/apps'
make: *** [subdirs] Error 1...
2005 Jun 20
2
app_valetparking.c
Since www.bkw.org seems not to exist anymore (getting response from some
hosting provider), does anyone happend to have a copy of app_valetparking.c
from www.bkw.org - the one that should work with * stable 1.0.X ? If so
please contact me.
One that can be downloaded from www.loligo.com dosn't compile with 1.0.X,
and SuperValletParking (www.asterlink.com/svp/) seems to be for * HEAD
2004 Jun 17
4
Problems with PRI with T410 messages
...el
post-install zaphfc /sbin/ztcfg -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
be...