Asterisk 1.6beta 9 compatible with oh323

Hi!
I use Asterisk 1.6beta 9 with :
Gnugk 2.2.7
Pwlib 1.10.3
OpenH323 1.18.0

Now, I wanna install oh323…

I tried different versions but… In all cases I have a lot of mistake at the time of compiling…

chan_oh323.c:964: error: unknown field send_digit' specified in initializer chan_oh323.c:975: warning: initialization from incompatible pointer type chan_oh323.c: In functionoh323_vars’:
chan_oh323.c:1235: warning: assignment discards qualifiers from pointer target type
chan_oh323.c: At top level:
chan_oh323.c:1292: warning: initialization from incompatible pointer type
chan_oh323.c:1293: warning: initialization from incompatible pointer type
chan_oh323.c:1295: warning: initialization from incompatible pointer type
chan_oh323.c:1296: warning: initialization from incompatible pointer type
chan_oh323.c:1298: warning: initialization from incompatible pointer type
chan_oh323.c:1299: warning: initialization from incompatible pointer type
chan_oh323.c:1301: warning: initialization from incompatible pointer type
chan_oh323.c:1302: warning: initialization from incompatible pointer type
chan_oh323.c:1304: warning: initialization from incompatible pointer type
chan_oh323.c:1305: warning: initialization from incompatible pointer type
chan_oh323.c:1307: warning: initialization from incompatible pointer type
chan_oh323.c:1308: warning: initialization from incompatible pointer type
chan_oh323.c:1313: warning: initialization from incompatible pointer type
chan_oh323.c:1314: warning: initialization from incompatible pointer type
chan_oh323.c: In function oh323_indicate': chan_oh323.c:1772: warning: passing arg 3 ofast_sched_add’ from incompatible pointer type
chan_oh323.c: In function oh323_digit': chan_oh323.c:1803: warning: passing arg 3 ofast_sched_add’ from incompatible pointer type
chan_oh323.c: In function oh323_text': chan_oh323.c:1833: warning: passing arg 3 ofast_sched_add’ from incompatible pointer type
chan_oh323.c: In function oh323_call': chan_oh323.c:1920: warning: assignment discards qualifiers from pointer target type chan_oh323.c:1958: warning: passing arg 3 ofast_sched_add’ from incompatible pointer type
chan_oh323.c: In function oh323_hangup': chan_oh323.c:2011: warning: passing arg 3 ofast_sched_add’ from incompatible pointer type
chan_oh323.c:2020: warning: passing arg 3 of ast_sched_add' from incompatible pointer type chan_oh323.c: In functionoh323_answer’:
chan_oh323.c:2567: warning: passing arg 3 of ast_sched_add' from incompatible pointer type chan_oh323.c: In functionast_oh323_new’:
chan_oh323.c:2784: error: too few arguments to function ast_channel_alloc' chan_oh323.c:2792: warning: passing arg 1 ofsnprintf’ discards qualifiers from pointer target type
chan_oh323.c:2793: error: structure has no member named type' chan_oh323.c:2900: warning: passing arg 1 of__builtin_strncpy’ discards qualifiers from pointer target type
chan_oh323.c:2904: warning: passing arg 1 of __builtin_strncpy' discards qualifiers from pointer target type chan_oh323.c:2906: warning: passing arg 1 of__builtin_strncpy’ discards qualifiers from pointer target type
chan_oh323.c: In function cleanup_h323_connection': chan_oh323.c:3615: error: structure has no member namedlock’
chan_oh323.c:3629: error: structure has no member named lock' chan_oh323.c:4598:34: macro "ast_config_load" requires 2 arguments, but only 1 given chan_oh323.c: In functionreload_config’:
chan_oh323.c:4598: error: ast_config_load' undeclared (first use in this function) chan_oh323.c:4598: error: (Each undeclared identifier is reported only once chan_oh323.c:4598: error: for each function it appears in.) chan_oh323.c:4600: warning: assignment discards qualifiers from pointer target type chan_oh323.c:4607: warning: assignment discards qualifiers from pointer target type chan_oh323.c:4618:30: macro "ast_config_load" requires 2 arguments, but only 1 given chan_oh323.c:4812: warning: passing arg 2 ofget_num’ discards qualifiers from pointer target type
chan_oh323.c:4967: warning: passing arg 2 of get_num' discards qualifiers from pointer target type chan_oh323.c:4980: warning: passing arg 2 ofget_num’ discards qualifiers from pointer target type
chan_oh323.c:5014: warning: passing arg 2 of get_num' discards qualifiers from pointer target type chan_oh323.c: At top level: chan_oh323.c:5177: warning: function declaration isn't a prototype chan_oh323.c: In functionload_module’:
chan_oh323.c:5346: warning: implicit declaration of function unload_module' chan_oh323.c:5400: warning: passing arg 3 ofast_sched_add’ from incompatible pointer type
chan_oh323.c: At top level:
chan_oh323.c:5435: warning: function declaration isn’t a prototype
chan_oh323.c:5445: warning: function declaration isn’t a prototype
chan_oh323.c:5454: warning: function declaration isn’t a prototype
chan_oh323.c:5459: warning: function declaration isn’t a prototype
chan_oh323.c:3242: warning: ‘update_call_ids’ defined but not used
make[1]: *** [chan_oh323.o] Error 1
make[1]: Leaving directory `/root/Desktop/asterisk-oh323-0.7.3/asterisk-driver’
make: *** [subdirs_build] Error 1

What have I ti do?

Thx