[Asterisk-Users] oh323 compilation error

Pavel Siderov pi at hostmates.com
Wed Nov 3 09:29:57 MST 2004


Hi, 
while trying to compile oh323 version 0.5.10 I got these errors

root at myhost:/usr/src/asterisk/asterisk-oh323-0.5.10# make
for x in wrapper asterisk-driver; do make -C $x all || exit 1 ; done
make[1]: Entering directory `/usr/src/asterisk/asterisk-oh323-0.5.10/wrapper'
./check_ver /usr/src/asterisk/channels/pwlib pwlib
./check_ver /usr/src/asterisk/channels/openh323 openh323
gcc -shared -Wl,-soname,liboh323wrap.so -o liboh323wrap.so *.o
make[1]: Leaving directory `/usr/src/asterisk/asterisk-oh323-0.5.10/wrapper'
make[1]: Entering directory `/usr/src/asterisk/asterisk-oh323-0.5.10/asterisk-driver'
gcc -Wall -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -I/usr/src/asterisk/include -I../wrapper -g -c -o chan_oh323.o chan_oh323.c
chan_oh323.c:260: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared here (not in a function)
chan_oh323.c:263: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared here (not in a function)
chan_oh323.c:267: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared here (not in a function)
chan_oh323.c:270: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared here (not in a function)
chan_oh323.c:499: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared here (not in a function)
chan_oh323.c:499: error: initializer element is not constant
chan_oh323.c:499: error: (near initialization for `oh323_ep_list.lock')
chan_oh323.c: In function `oh323_call':
chan_oh323.c:1128: error: too many arguments to function `ast_queue_hangup'
chan_oh323.c:1142: error: too many arguments to function `ast_queue_hangup'
chan_oh323.c: In function `oh323_hangup':
chan_oh323.c:1182: error: too many arguments to function `ast_queue_hangup'
chan_oh323.c: In function `oh323_read':
chan_oh323.c:1581: error: too many arguments to function `ast_dsp_process'
chan_oh323.c: In function `ast_oh323_new':
chan_oh323.c:2030: warning: assignment from incompatible pointer type
chan_oh323.c: In function `cleanup_h323_connection':
chan_oh323.c:2835: error: too many arguments to function `ast_queue_hangup'
make[1]: *** [chan_oh323.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/asterisk-oh323-0.5.10/asterisk-driver'
make: *** [subdirs_all] Error 1

Asterisk v 1.0.2 
pwlib v 1.5.2
openh323 v 1.12.2

Do you have any idea how to fix that?
Thanks in advance

Pavel Siderov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041103/0913e454/attachment.htm


More information about the asterisk-users mailing list