[Asterisk-Users] Error on installing oh323 on asterisk

Charles Huang charlesny2000 at yahoo.com
Wed Jun 22 22:30:40 MST 2005


I'm following the instruction from João Amaro from the
page

http://lists.digium.com/pipermail/asterisk-users/2005-February/090752.html

Everything went fine until I run the 'make' command
under asterisk-oh323-0.6.5.  I got the error message

chan_oh323.c:5220: too many arguments to function
`ast_channel_register'

I have attached the error message.  I'm running
asterisk CVS HEAD version, would that be the cause of
the problem?

Any help would greatly appricated.

Thanks,
Charles



# make
for x in wrapper asterisk-driver; do make -C $x build
|| exit 1 ; done
make[1]: Entering directory
`/root/asterisk-oh323-0.6.5/wrapper'
./check_ver /root/pwlib pwlib
./check_ver /root/openh323 openh323
ar rc liboh323wrap_s.a wrapper_misc.o asteriskaudio.o
wrapconnection.o wrapendpoint.o wrapper.o wrapcaps.o
wrapgkserver.o
make[1]: Leaving directory
`/root/asterisk-oh323-0.6.5/wrapper'
make[1]: Entering directory
`/root/asterisk-oh323-0.6.5/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:37:34: asterisk/channel_pvt.h: No such
file or directory
chan_oh323.c: In function `oh323_exception':
chan_oh323.c:1145: dereferencing pointer to incomplete
type
chan_oh323.c: In function `oh323_indicate':
chan_oh323.c:1326: dereferencing pointer to incomplete
type
chan_oh323.c: In function `oh323_digit':
chan_oh323.c:1388: dereferencing pointer to incomplete
type
chan_oh323.c: In function `oh323_text':
chan_oh323.c:1410: dereferencing pointer to incomplete
type
chan_oh323.c: In function `oh323_call':
chan_oh323.c:1434: dereferencing pointer to incomplete
type
chan_oh323.c:1453: structure has no member named
`callerid'
chan_oh323.c:1455: structure has no member named
`callerid'
chan_oh323.c:1457: structure has no member named
`callerid'
chan_oh323.c: In function `oh323_hangup':
chan_oh323.c:1613: dereferencing pointer to incomplete
type
chan_oh323.c:1721: dereferencing pointer to incomplete
type
chan_oh323.c: In function `oh323_read':
chan_oh323.c:1749: dereferencing pointer to incomplete
type
chan_oh323.c: In function `oh323_write':
chan_oh323.c:2050: dereferencing pointer to incomplete
type
chan_oh323.c: In function `oh323_answer':
chan_oh323.c:2242: dereferencing pointer to incomplete
type
chan_oh323.c: In function `oh323_fixup':
chan_oh323.c:2286: dereferencing pointer to incomplete
type
chan_oh323.c: In function `ast_oh323_new':
chan_oh323.c:2518: dereferencing pointer to incomplete
type
chan_oh323.c:2527: dereferencing pointer to incomplete
type
chan_oh323.c:2529: dereferencing pointer to incomplete
type
chan_oh323.c:2536: dereferencing pointer to incomplete
type
chan_oh323.c:2537: dereferencing pointer to incomplete
type
chan_oh323.c:2538: dereferencing pointer to incomplete
type
chan_oh323.c:2539: dereferencing pointer to incomplete
type
chan_oh323.c:2540: dereferencing pointer to incomplete
type
chan_oh323.c:2541: dereferencing pointer to incomplete
type
chan_oh323.c:2542: dereferencing pointer to incomplete
type
chan_oh323.c:2543: dereferencing pointer to incomplete
type
chan_oh323.c:2544: dereferencing pointer to incomplete
type
chan_oh323.c:2545: dereferencing pointer to incomplete
type
chan_oh323.c:2546: dereferencing pointer to incomplete
type
chan_oh323.c:2547: dereferencing pointer to incomplete
type
chan_oh323.c:2548: dereferencing pointer to incomplete
type
chan_oh323.c:2549: dereferencing pointer to incomplete
type
chan_oh323.c:2550: dereferencing pointer to incomplete
type
chan_oh323.c:2551: dereferencing pointer to incomplete
type
chan_oh323.c:2552: dereferencing pointer to incomplete
type
chan_oh323.c:2579: structure has no member named
`dnid'
chan_oh323.c:2589: structure has no member named
`callerid'
chan_oh323.c:2590: structure has no member named
`callerid'
chan_oh323.c:2591: structure has no member named
`callerid'
chan_oh323.c:2596: structure has no member named
`callerid'
chan_oh323.c:2597: structure has no member named
`callerid'
chan_oh323.c:2598: structure has no member named
`callerid'
chan_oh323.c:2600: structure has no member named
`callerid'
chan_oh323.c:2605: structure has no member named
`callerid'
chan_oh323.c:2606: structure has no member named
`callerid'
chan_oh323.c:2608: structure has no member named
`callerid'
chan_oh323.c:2610: structure has no member named
`callerid'
chan_oh323.c:2614: structure has no member named
`callerid'
chan_oh323.c:2617: structure has no member named `ani'
chan_oh323.c:2617: structure has no member named
`callerid'
chan_oh323.c:2623: structure has no member named
`callerid'
chan_oh323.c:2624: structure has no member named
`callerid'
chan_oh323.c: In function `oh323_request':
chan_oh323.c:2741: dereferencing pointer to incomplete
type
chan_oh323.c:2743: dereferencing pointer to incomplete
type
chan_oh323.c: In function `oh323_atexit':
chan_oh323.c:4923: warning: passing arg 1 of
`ast_channel_unregister' from incompatible pointer
type
chan_oh323.c: In function `load_module':
chan_oh323.c:5220: warning: passing arg 1 of
`ast_channel_register' from incompatible pointer type
chan_oh323.c:5220: too many arguments to function
`ast_channel_register'
make[1]: *** [chan_oh323.o] Error 1
make[1]: Leaving directory
`/root/asterisk-oh323-0.6.5/asterisk-driver'
make: *** [subdirs_build] Error 1
# 





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the asterisk-users mailing list