[Asterisk-Users] Problem compiling H323 channel

Roy Layson ranliv2003 at yahoo.com
Wed Nov 24 09:25:42 MST 2004


hope it can help

--- Francisco Seratti <francisco at ligados.net> wrote:

> Im trying to compile the H323 channel, with the
> specific versions of
> OpenH323 and PWlib (v1.12.2 & v1.5.2) like README
> says.
> Thats what im doing:
> 
> PF-2> PWLIBDIR=/root/src/pwlib
> PF-2> export PWLIBDIR
> PF-2> OPENH323DIR=/root/src/openh323
> PF-2> export OPENH323DIR
> PF-2> LD_LIBRARY_PATH=$PWLIBDIR/lib:$OPENH323DIR/lib
> PF-2> export LD_LIBRARY_PATH
> PF-2> make
> g++ -g -c -fno-rtti -o
> ast_h323.o -march=i686 -DPBYTE_ORDER=PLITTLE_ENDIAN
> -DNDEBUG -DDO_CRASH -DDE
> BUG_THREADS -pipe -Wall -fPIC -DP_LINUX -D_REENTRANT
> -D_GNU_SOURCE -DP_HAS_S
> EMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES
> -DPTRACING -DP_USE_PRAGMA -I
> ../../include -I/root/src/pwlib/include/ptlib/unix
> -I/root/src/pwlib/include
>  -I/root/src/openh323/include
> -Wno-missing-prototypes -Wno-missing-declarati
> ons ast_h323.cpp
> cc1plus: warning: "-Wno-missing-declarations" is
> valid for C/ObjC but not
> for
>    C++
> ast_h323.cpp: In member function `void
>    MyH323Connection::SendUserInputTone(char,
> unsigned int)':
> ast_h323.cpp:725: error: invalid conversion from
> `char' to `const char*'
> ast_h323.cpp: In member function `virtual void
>    MyH323Connection::OnUserInputTone(char, unsigned
> int, unsigned int,
> unsigned
>    int)':
> ast_h323.cpp:735: error: invalid conversion from
> `char' to `const char*'
> ast_h323.cpp: In member function `virtual void
>    MyH323Connection::OnUserInputString(const
> PString&)':
> ast_h323.cpp:746: error: invalid conversion from
> `char' to `const char*'
> /usr/include/c++/3.3.4/istream: At top level:
> chan_h323.h:31: warning: `sockaddr_in bindaddr'
> defined but not used
> make: *** [ast_h323.o] Error 1
> PF-2>
> 
> This is a Linux 2.4.27 (root at PF-2) (gcc 3.3.4)
> Slackware 10.0.
> 
> Cheers, F.
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> 



	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
-------------- next part --------------
I. INSTALL OS

OS is Fedora Core2 installed only
-textbased internet (elinks)
-web server (apache and etc...)
-SQL (mysql and DBD/DBI)
-Development tools (default)
-kernnel Development (default)

II. Downloaded the following:

pwlib Janus patch 4 (1.6.6.3) from 
http://unc.dl.sourceforge.net/sourceforge/openh323/pwlib-Janus_patch4-src-tar.gz

openh323 Janus Patch 4 (1.13.5.3) from
http://unc.dl.sourceforge.net/sourceforge/openh323/openh323-Janus_patch4-src-tar.gz

asterisk-oh323-0.7.0 from
http://www.inaccessnetworks.com/projects/asterisk-oh323/download/asterisk-oh323-0.7.0.tar.gz

Performed:

# cd /usr/src
# export CVSROOT=:pserver:anoncvs at cvs.digium.com:/usr/cvsroot
# cvs login - the password is anoncvs.
# cvs checkout zaptel asterisk     

*all where etracted to:

/root/pwlib
/root/openh323
/root/asterisk-oh323-0.7.0
/root/zaptel
/root/asterisk

III. INSTALLATION

a.) pwlib
# cd /root/pwlib
# ./configure
# make


b.) openh323

# cd /root/openh323
# patch -p1 < /root/asterisk-oh323-0.7.0/openh323_1.13.5-make.patch
# ./configure
# make

c.) asterisk

# cd /root/asterisk
# make

d.) asterisk-oh323-0.7.0
# cd /root/asterisk-oh323-0.7.0
# vi Makefile

SETTINGS (of Makefile)

DESTDIR=
PWLIBDIR=/root/pwlib
OPENH323DIR=/root/openh323
ASTERISKINCDIR=/root/asterisk/include
ASTERISKMODDIR=/usr/lib/asterisk/modules
ASTERISKETCDIR=/etc/asterisk
OH323WRAPLIBDIR=/usr/local/lib


# make

.... error encountered!!!!!!!!!
















More information about the asterisk-users mailing list