[Asterisk-Users] Addon-ooh323 install problem

Tetsuya Yamamoto y-tetsuya at jty.yuden.co.jp
Tue Jun 27 18:48:02 MST 2006


Hello all,

I have problem.
I can't makel asterisk addon, asterisk-ooh323.
I use Asterisk and addons svn version.

OS:redhat EL4
Linux 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux

Please help me .


[root at asterisk asterisk-ooh323c]# make
make  all-am
make[1]: Entering directory `/usr/local/src/asterisk-addons/asterisk-ooh323c'
source='src/chan_h323.c' object='chan_h323.lo' libtool=yes \
depfile='.deps/chan_h323.Plo' tmpdepfile='.deps/chan_h323.TPlo' \
depmode=gcc3 /bin/sh ./config/depcomp \
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323    -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c -o chan_h323.lo `test -f 'src/chan_h323.c' || echo './'`src/chan_h323.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c src/chan_h323.c -MT chan_h323.lo -MD -MP -MF .deps/chan_h323.TPlo  -fPIC -DPIC -o .libs/chan_h323.lo
In file included from /usr/include/asterisk/utils.h:36,
                 from /usr/include/asterisk/cdr.h:48,
                 from /usr/include/asterisk/channel.h:115,
                 from src/chan_h323.h:36,
                 from src/chan_h323.c:18:
/usr/include/asterisk/strings.h:280: error: conflicting types for 'strtoq'
/usr/include/stdlib.h:197: error: previous declaration of 'strtoq' was here
/usr/include/asterisk/strings.h:280: error: conflicting types for 'strtoq'
/usr/include/stdlib.h:197: error: previous declaration of 'strtoq' was here
src/chan_h323.c:76: warning: initialization from incompatible pointer type
src/chan_h323.c: In function `ooh323_new':
src/chan_h323.c:254: warning: passing arg 1 of `snprintf' discards qualifiers from pointer target type
src/chan_h323.c:261: error: structure has no member named `type'
src/chan_h323.c:325: warning: passing arg 1 of `strncpy' discards qualifiers from pointer target type
src/chan_h323.c:326: error: assignment of read-only location
src/chan_h323.c: In function `ooh323_call':
src/chan_h323.c:723: warning: assignment discards qualifiers from pointer target type
src/chan_h323.c:728: warning: assignment discards qualifiers from pointer target type
src/chan_h323.c:735: warning: assignment discards qualifiers from pointer target type
src/chan_h323.c:739: warning: assignment discards qualifiers from pointer target type
make[1]: *** [chan_h323.lo] エラー 1
make[1]: Leaving directory `/usr/local/src/asterisk-addons/asterisk-ooh323c'
make: *** [all] エラー 2

よろしくお願いします。
----------------------------------------------
Taiyo Yuden Co.,Ltd.   Information System Div.
Tetsuya Yamamoto <y-tetsuya at jty.yuden.co.jp>
    Tel: 027-324-2304  Fax: 027-324-2305
            ext.:830-585       ext.fax:830-602
----------------------------------------------





More information about the asterisk-users mailing list