[Asterisk-Dev] Re: New h.323 channel driver

Ganbold Tsagaankhuu ganbold at gmail.com
Thu May 12 23:42:56 MST 2005


Hi,

I did cvsup asterisk and I compiled asterisk.
However I'm having trouble compiling chan_h323.

asterisk# gmake opt
g++ -DNDEBUG   -I../../include -Wmissing-prototypes -fPIC 
-DP_FREEBSD=504100 -I/usr/local/include -I/usr/local/include
-D_REENTRANT -Wall -DP_FREEBSD=504100 -DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix
-I/usr/ports/devel/pwlib/work/pwlib/include -DPTRACING
-I/usr/ports/net/openh323/work/openh323//include -DHAS_OSS -DNDEBUG
-pipe -c ast_h323.cxx -o ast_h323.o
cc1plus: warning: command line option "-Wmissing-prototypes" is valid
for C/ObjC but not for C++
In file included from
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../contain.h:776,
                 from
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/contain.h:120,
                 from /usr/ports/devel/pwlib/work/pwlib/include/ptlib.h:139,
                 from ast_h323.cxx:34:
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/contain.inl: In
constructor `PAbstractList::PAbstractList()':
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/contain.inl:419:
warning: right-hand operand of comma has no effect
In file included from ast_h323.cxx:49:
ast_h323.h: At global scope:
ast_h323.h:159: error: `RTP_QOS' has not been declared
ast_h323.h:159: error: ISO C++ forbids declaration of `parameter' with no type
ast_h323.cxx:955: error: `RTP_QOS' has not been declared
ast_h323.cxx:956: error: ISO C++ forbids declaration of `parameter' with no type
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../pdirect.h:458:
warning: inline function `static BOOL PDirectory::Remove(const
PString&)' used but never defined
gmake: *** [ast_h323.o] Error 1
asterisk#

How to solve this problem?

thanks,

Ganbold


On 5/12/05, Jeremy McNamara <jj at nufone.net> wrote:
> Ganbold Tsagaankhuu wrote:
> 
> >I really appreciate if somebody can point me to the right direction.
> >
> >
> 
> Run CVS -HEAD.
> 
> 
> Jeremy McNamara
>



More information about the asterisk-dev mailing list