[Asterisk-Users] (no subject)

signal at mailbox.gr signal at mailbox.gr
Sun Nov 14 16:06:37 MST 2004


Is there any problem with the compilation of channel h323 in asterisk 1.0.2?

I get the following error.....

/asterisk-1.0.2/channels/h323# make

g++ -g -c -fno-rtti -o ast_h323.o -march=i686 -DPBYTE_ORDER=PLITTLE_ENDIAN -DNDEBUG -DDO_CRASH -DDEBUG_THREADS -pipe -Wall -fPIC -DP_LINUX -D_REENTRANT -D_GNU_SOURCE -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA -I../../include -I/root/pwlib/include/ptlib/unix -I/root/pwlib/include -I/root/openh323/include -Wno-missing-prototypes -Wno-missing-declarations 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

And this is the Makefile....

# include the Makefile of OpenH323

ifndef OPENH323DIR
OPENH323DIR=/root/openh323
endif

ifndef PWLIBDIR
PWLIBDIR=/root/pwlib
endif

ifndef ASTERISKDIR
ASTERISKDIR=/usr/local/asterisk
endif

ifndef ASTETCDIR
ASTETCDIR=/usr/local/asterisk/etc/asterisk
endif



_____________________________________________________________________________________
http://www.mailbox.gr ÁðïêôÞóôå äùñåÜí ôï ìïíáäéêü óáò e-mail.
http://www.thesuperweb.gr Website ìå ÁóöáëÝò Controlpanel áðü 6 Euro êáé äþñï ôï domain óáò!



More information about the asterisk-users mailing list