<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, </FONT></DIV>
<DIV><FONT face=Arial size=2>while trying to compile oh323 version 0.5.10 I got
these errors</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:root@myhost:/usr/src/asterisk/asterisk-oh323-0.5.10">root@myhost:/usr/src/asterisk/asterisk-oh323-0.5.10</A>#
make<BR>for x in wrapper asterisk-driver; do make -C $x all || exit 1 ;
done<BR>make[1]: Entering directory
`/usr/src/asterisk/asterisk-oh323-0.5.10/wrapper'<BR>./check_ver
/usr/src/asterisk/channels/pwlib pwlib<BR>./check_ver
/usr/src/asterisk/channels/openh323 openh323<BR>gcc -shared
-Wl,-soname,liboh323wrap.so -o liboh323wrap.so *.o<BR>make[1]: Leaving directory
`/usr/src/asterisk/asterisk-oh323-0.5.10/wrapper'<BR>make[1]: Entering directory
`/usr/src/asterisk/asterisk-oh323-0.5.10/asterisk-driver'<BR>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<BR>chan_oh323.c:260: error:
`__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared
here (not in a function)<BR>chan_oh323.c:263: error:
`__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared
here (not in a function)<BR>chan_oh323.c:267: error:
`__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared
here (not in a function)<BR>chan_oh323.c:270: error:
`__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared
here (not in a function)<BR>chan_oh323.c:499: error:
`__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared
here (not in a function)<BR>chan_oh323.c:499: error: initializer element is not
constant<BR>chan_oh323.c:499: error: (near initialization for
`oh323_ep_list.lock')<BR>chan_oh323.c: In function
`oh323_call':<BR>chan_oh323.c:1128: error: too many arguments to function
`ast_queue_hangup'<BR>chan_oh323.c:1142: error: too many arguments to function
`ast_queue_hangup'<BR>chan_oh323.c: In function
`oh323_hangup':<BR>chan_oh323.c:1182: error: too many arguments to function
`ast_queue_hangup'<BR>chan_oh323.c: In function
`oh323_read':<BR>chan_oh323.c:1581: error: too many arguments to function
`ast_dsp_process'<BR>chan_oh323.c: In function
`ast_oh323_new':<BR>chan_oh323.c:2030: warning: assignment from incompatible
pointer type<BR>chan_oh323.c: In function
`cleanup_h323_connection':<BR>chan_oh323.c:2835: error: too many arguments to
function `ast_queue_hangup'<BR>make[1]: *** [chan_oh323.o] Error 1<BR>make[1]:
Leaving directory
`/usr/src/asterisk/asterisk-oh323-0.5.10/asterisk-driver'<BR>make: ***
[subdirs_all] Error 1<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Asterisk v 1.0.2 </FONT></DIV>
<DIV><FONT face=Arial size=2>pwlib v 1.5.2</FONT></DIV>
<DIV><FONT face=Arial size=2>openh323 v 1.12.2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Do you have any idea how to fix that?</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Pavel Siderov</DIV></FONT></BODY></HTML>