[Asterisk-Users] OH323 channel compile error
Michael Manousos
manousos at inaccessnetworks.com
Mon Dec 20 06:10:59 MST 2004
Hi,
Rafael J. Risco G.V. wrote:
> Hello
> I am trying to compile asterisk-oh323-0.7.0 with pwlib-Janus_patch4
> and openh323-Janus_patch4 downloaded from inaccessnetworks so I did
> this:
>
> tar -zxvf openh323-Janus_patch4-src-tar.gz
> cd openh323
> patch -p1 < /root/asterisk-oh323-0.7.0/openh323_1.13.5-make.patch
> ./configure
> make opt
> cd asterisk-oh323-0.7.0
> vi Makefile (to set the paths and options according to my system...)
>
> NOW I HAVE THIS ERROR:
>
> [root at pbx asterisk-oh323-0.7.0]# make
> for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
> make[1]: Entering directory `/root/asterisk-oh323-0.7.0/wrapper'
> ./check_ver /root/pwlib pwlib
> ./check_ver /root/openh323 openh323
> g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> -I/root/openh323/include
>
> -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> -I/root/pwlib/include/ptlib/unix -
>
> I/root/pwlib/include -I/root/openh323/include
> -I/root/openh323/include/openh323 -I../asterisk-driver -c
> wrapper_misc.cxx -o wrapper_misc.o
> touch ../asterisk-driver/chan_oh323.c
> g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> -I/root/openh323/include
>
> -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> -I/root/pwlib/include/ptlib/unix -
>
> I/root/pwlib/include -I/root/openh323/include
> -I/root/openh323/include/openh323 -I../asterisk-driver -c
> asteriskaudio.cxx -o asteriskaudio.o
> touch ../asterisk-driver/chan_oh323.c
> g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> -I/root/openh323/include
>
> -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> -I/root/pwlib/include/ptlib/unix -
>
> I/root/pwlib/include -I/root/openh323/include
> -I/root/openh323/include/openh323 -I../asterisk-driver -c
> wrapconnection.cxx -o wrapconnection.o
> touch ../asterisk-driver/chan_oh323.c
> g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> -I/root/openh323/include
>
> -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> -I/root/pwlib/include/ptlib/unix -
>
> I/root/pwlib/include -I/root/openh323/include
> -I/root/openh323/include/openh323 -I../asterisk-driver -c
> wrapendpoint.cxx -o wrapendpoint.o
> touch ../asterisk-driver/chan_oh323.c
> g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> -I/root/openh323/include
>
> -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> -I/root/pwlib/include/ptlib/unix -
>
> I/root/pwlib/include -I/root/openh323/include
> -I/root/openh323/include/openh323 -I../asterisk-driver -c wrapper.cxx
> -o wrapper.o
> wrapper.cxx: In function `call_ret_val_t h323_clear_call(const char*)':
> wrapper.cxx:1230: warning: unused variable `ClearCallThread*clearCallThread'
> touch ../asterisk-driver/chan_oh323.c
> g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> -I/root/openh323/include
>
> -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> -I/root/pwlib/include/ptlib/unix -
>
> I/root/pwlib/include -I/root/openh323/include
> -I/root/openh323/include/openh323 -I../asterisk-driver -c wrapcaps.cxx
> -o wrapcaps.o
> touch ../asterisk-driver/chan_oh323.c
> g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT
> -DOPENSSL_NO_KRB5 -Wall -fPIC -I/root/pwlib/include -DPTRACING
> -I/root/openh323/include
>
> -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
> -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\"
> -I/root/pwlib/include/ptlib/unix -
>
> I/root/pwlib/include -I/root/openh323/include
> -I/root/openh323/include/openh323 -I../asterisk-driver -c
> wrapgkserver.cxx -o wrapgkserver.o
> touch ../asterisk-driver/chan_oh323.c
> 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.7.0/wrapper'
> make[1]: Entering directory `/root/asterisk-oh323-0.7.0/asterisk-driver'
> gcc -Wall -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE
> -I/root/asterisk/include -I../wrapper -g -c
>
> -o chan_oh323.o chan_oh323.c
> chan_oh323.c: In function `oh323_call':
> chan_oh323.c:1421: structure has no member named `cid'
> chan_oh323.c:1421: structure has no member named `cid'
> chan_oh323.c:1423: structure has no member named `cid'
> chan_oh323.c:1435: structure has no member named `cid'
> chan_oh323.c:1437: structure has no member named `cid'
> chan_oh323.c:1437: structure has no member named `cid'
> chan_oh323.c:1439: structure has no member named `cid'
> chan_oh323.c:1451: structure has no member named `cid'
> chan_oh323.c: In function `ast_oh323_new':
> chan_oh323.c:2581: structure has no member named `cid'
> chan_oh323.c:2587: structure has no member named `cid'
> chan_oh323.c:2588: structure has no member named `cid'
> chan_oh323.c:2589: structure has no member named `cid'
> chan_oh323.c:2594: structure has no member named `cid'
> chan_oh323.c:2595: structure has no member named `cid'
> chan_oh323.c:2596: structure has no member named `cid'
> chan_oh323.c:2598: structure has no member named `cid'
> chan_oh323.c:2598: structure has no member named `cid'
> chan_oh323.c:2643: structure has no member named `cid'
> chan_oh323.c:2644: structure has no member named `cid'
> chan_oh323.c:2645: structure has no member named `cid'
> chan_oh323.c:2646: structure has no member named `cid'
> chan_oh323.c:2647: structure has no member named `cid'
> chan_oh323.c:2648: structure has no member named `cid'
> chan_oh323.c: In function `load_module':
> chan_oh323.c:5201: warning: passing arg 4 of `ast_channel_register'
> from incompatible pointer type
> make[1]: *** [chan_oh323.o] Error 1
> make[1]: Leaving directory `/root/asterisk-oh323-0.7.0/asterisk-driver'
> make: *** [subdirs_build] Error 1
> [root at pbx asterisk-oh323-0.7.0]#
>
> ANY IDEA???
You need to update the sources of Asterisk.
If you want to compile oh323 with Asterisk stable,
then use asterisk-oh323-0.6.4.
>
> rafael
>
>
Michael.
More information about the asterisk-users
mailing list