[Asterisk-Users] Problem compiling H323 channel
Francisco Seratti
francisco at ligados.net
Wed Nov 24 08:43:12 MST 2004
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.
More information about the asterisk-users
mailing list