Hi, erverybody
The Asterisk is running well in the linux system. Now I would like to add oh323 in Asterisk. I have download pwlib(version is 1.6.6) and openh323(version is 1.13.5). And I sucessfully maked and installed these two packages. But I got the following errors when compling the asterisk-oh323 0.6.3a:
for x in wrapper asterisk-driver; do make -C $x all || exit 1 ; done
make[1]: Entering directory `/home/rui/oh323/asterisk-oh323-0.6.3a/wrapper'
./check_ver /usr/src/pwlib pwlib
./check_ver /usr/src/openh323 openh323
gcc -shared -Wl,-soname,liboh323wrap.so -o liboh323wrap.so wrapper_misc.o asteriskaudio.o wrapendpoint.o wrapconnection.o wrapper.o wrapcaps.o
make[1]: Leaving directory `/home/rui/oh323/asterisk-oh323-0.6.3a/wrapper'
make[1]: Entering directory `/home/rui/oh323/asterisk-oh323-0.6.3a/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: In function 'oh323_hangup':
chan_oh323.c:1448: too few arguments to function 'ast_queue_hangup'
chan_oh323.c: In function 'oh323_read':
chan_oh323.c:1866: too few arguments to function 'ast_dsp_process'
chan_oh323.c: In function 'oh323_write':
chan_oh323.c:1929: too few arguments to function 'ast_set_write_format'
chan_oh323.c:1931: too few arguments to function 'ast_set_read_format'
chan_oh323.c: In function 'ast_oh323_new':
chan_oh323.c:2349: warning: assignment from incompatible pointer type
chan_oh323.c: In function 'alerted_oh323_connection':
chan_oh323.c:1929: too few arguments to function 'ast_queue_control'
make[1]: *** [chan_oh323.o] Error 1
make[1]: Leaving directory `/home/rui/oh323/asterisk-oh323-0.6.3a/asterisk-driver'
make: *** [subdirs_all] Error 1
I also tried the asterisk-oh323-0.6.3 and asterisk-oh323-0.6.2a. But the result are almost the same. In the Makefile, I modified the following attribut:
OH323WRAPINCLUDE= \
-I$(PWLIBDIR)/include/ptlib \
-I$(PWLIBDIR)/include \
-I$(OPENH323DIR)/include \
-I$(OPENH323DIR)/include/openh323 \
-I../asterisk-driver
# -I$(SSLINCDIR)Could you give me some advise or tell me what mistake I have done? Thanks
Rui Wu
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
