[Asterisk-Users] Re: H323
Ronald_Wiplinger
ronald_wiplinger at leadtek.com.tw
Tue Jun 28 02:16:46 MST 2005
Ronald_Wiplinger wrote:
> Tony Mountifield wrote:
>
> I corrected according to your suggestion:
>
>>> wget
>>> http://www.inaccessnetworks.com/ian/asterisk-oh323/Libraries/openh323-Janus_patch4-src-tar.gz
>>>
>>> wget
>>> http://www.inaccessnetworks.com/ian/asterisk-oh323/Libraries/pwlib-Janus_patch4-src-tar.gz
>>>
>>>
>>
>>
>> These are not just patches, they are the complete source at
>> patchlevel 4.
>> You use these instead of the old versions mentioned previously.
>>
>>
> and in asterisk-oh323-0.7.1 I get:
>
>
> # make
> for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
> make[1]: Entering directory `/usr/src/asterisk-oh323-0.7.1/wrapper'
> ./check_ver /usr/src/pwlib pwlib
> ./check_ver /usr/src/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 `/usr/src/asterisk-oh323-0.7.1/wrapper'
> make[1]: Entering directory
> `/usr/src/asterisk-oh323-0.7.1/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: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `oh323_indicate':
> chan_oh323.c:1326: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `oh323_digit':
> chan_oh323.c:1388: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `oh323_text':
> chan_oh323.c:1410: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `oh323_call':
> chan_oh323.c:1434: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `oh323_hangup':
> chan_oh323.c:1602: error: dereferencing pointer to incomplete type
> chan_oh323.c:1710: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `oh323_read':
> chan_oh323.c:1738: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `oh323_write':
> chan_oh323.c:2039: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `oh323_answer':
> chan_oh323.c:2231: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `oh323_fixup':
> chan_oh323.c:2275: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `ast_oh323_new':
> chan_oh323.c:2507: error: dereferencing pointer to incomplete type
> chan_oh323.c:2516: error: dereferencing pointer to incomplete type
> chan_oh323.c:2518: error: dereferencing pointer to incomplete type
> chan_oh323.c:2525: error: dereferencing pointer to incomplete type
> chan_oh323.c:2526: error: dereferencing pointer to incomplete type
> chan_oh323.c:2527: error: dereferencing pointer to incomplete type
> chan_oh323.c:2528: error: dereferencing pointer to incomplete type
> chan_oh323.c:2529: error: dereferencing pointer to incomplete type
> chan_oh323.c:2530: error: dereferencing pointer to incomplete type
> chan_oh323.c:2531: error: dereferencing pointer to incomplete type
> chan_oh323.c:2532: error: dereferencing pointer to incomplete type
> chan_oh323.c:2533: error: dereferencing pointer to incomplete type
> chan_oh323.c:2534: error: dereferencing pointer to incomplete type
> chan_oh323.c:2535: error: dereferencing pointer to incomplete type
> chan_oh323.c:2536: error: dereferencing pointer to incomplete type
> chan_oh323.c:2537: error: dereferencing pointer to incomplete type
> chan_oh323.c:2538: error: dereferencing pointer to incomplete type
> chan_oh323.c:2539: error: dereferencing pointer to incomplete type
> chan_oh323.c:2540: error: dereferencing pointer to incomplete type
> chan_oh323.c:2541: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `oh323_request':
> chan_oh323.c:2713: error: dereferencing pointer to incomplete type
> chan_oh323.c:2715: error: dereferencing pointer to incomplete type
> chan_oh323.c: In function `oh323_atexit':
> chan_oh323.c:4895: warning: passing arg 1 of `ast_channel_unregister'
> from incompatible pointer type
> chan_oh323.c: In function `load_module':
> chan_oh323.c:5192: warning: passing arg 1 of `ast_channel_register'
> from incompatible pointer type
> chan_oh323.c:5192: error: too many arguments to function
> `ast_channel_register'
> make[1]: *** [chan_oh323.o] Error 1
> make[1]: Leaving directory
> `/usr/src/asterisk-oh323-0.7.1/asterisk-driver'
> make: *** [subdirs_build] Error 1
>
>
> find / -name channel_pvt.h -print does not return anything!!!!
>
I found a hint to "steal it from the current version", but even that
gives me an error:
make
for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
make[1]: Entering directory `/usr/src/asterisk-oh323-0.7.1/wrapper'
./check_ver /usr/src/pwlib pwlib
./check_ver /usr/src/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 `/usr/src/asterisk-oh323-0.7.1/wrapper'
make[1]: Entering directory `/usr/src/asterisk-oh323-0.7.1/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_atexit':
chan_oh323.c:4895: warning: passing arg 1 of `ast_channel_unregister'
from incompatible pointer type
chan_oh323.c: In function `load_module':
chan_oh323.c:5192: warning: passing arg 1 of `ast_channel_register' from
incompatible pointer type
chan_oh323.c:5192: error: too many arguments to function
`ast_channel_register'
make[1]: *** [chan_oh323.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-oh323-0.7.1/asterisk-driver'
make: *** [subdirs_build] Error 1
More information about the asterisk-users
mailing list