Summary:ASTERISK-02680: latest v1-0 CVS chan_h323 doesn't want to compile on RH9
Reporter:lancey (lancey)Labels:
Date Opened:2004-10-26 07:46:27Date Closed:2004-10-26 10:29:21
Versions:Frequency of
Description:I've upgraded from asterisk 1.0.1 tarball version to latest cvs v1-0 and chan_h323 doesn't want to compile, it gives me a bunch of errors:
[root@asterisk 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
ast_h323.cpp: In member function `void
  MyH323Connection::SendUserInputTone(char, unsigned int)':
ast_h323.cpp:725: invalid conversion from `char' to `const char*'
ast_h323.cpp: In member function `virtual void
  MyH323Connection::OnUserInputTone(char, unsigned int, unsigned int, unsigned
ast_h323.cpp:735: invalid conversion from `char' to `const char*'
ast_h323.cpp: In member function `virtual void
  MyH323Connection::OnUserInputString(const PString&)':
ast_h323.cpp:746: invalid conversion from `char' to `const char*'
/usr/include/c++/3.2.2/streambuf: At top level:
chan_h323.h:31: warning: `sockaddr_in bindaddr' defined but not used
make: *** [ast_h323.o] Error 1


System  : Red Hat 9
OpenH323 : 1.12.2
PWLib : 1.5.2

With the same versions the 1.0.1 tarball compiles fine.
Comments:By: lancey (lancey) 2004-10-26 07:51:02

This is with today's stable -v1-0 cvs checkout.

By: lancey (lancey) 2004-10-26 07:55:10

It seems like the problem is already mentioned in bug ASTERISK-2632669. I will try the patch posted there and post the results here.

By: lancey (lancey) 2004-10-26 08:15:02

The patch works fine and latest stable v1-0 cvs works fine with H323 now.