[Asterisk-Users] oh323 compilation error

Michael Manousos manousos at inaccessnetworks.com
Wed Nov 3 10:02:18 MST 2004


This version is ancient. It doesn't compile with fresh Asterisk
code. Use the latest version (0.7.0) of asterisk-oh323.

Michael.

Pavel Siderov wrote:
> 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 
> <mailto: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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list