error trying to compile gnugk 2.2.1 from CVS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
I am trying to compile gnugk 2.2.1 from CVS using pwlib-Janus_patch4
and openh323-Janus_patch4 (needed to compile oh323channel for asterisk
interoperation), I have this error:
.
.
g++ -DLARGE_FDSET=2048 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1 
-D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING 
-DP_USE_PRAGMA -ffunction-sections  -D_REENTRANT -DOPENSSL_NO_KRB5
-Wall  -I/root/pwlib/include -DPTRACING -I/root/openh323/include
-DHAS_OSS -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=1 -Os  
-x c++ -c gkauth.cxx -o obj_linux_x86_r/gkauth.o
gkauth.cxx: In member function `virtual int 
   SimplePasswordAuth::CheckCryptoTokens(const H225_ArrayOf_CryptoH323Token&, 
   const H225_ArrayOf_AliasAddress*, const PBYTEArray&)':
gkauth.cxx:1377: warning: choosing `H225_CryptoH323Token::operator 
   H235_CryptoToken&()' over `H225_CryptoH323Token::operator const 
   H235_CryptoToken&() const'
gkauth.cxx:1377: warning:   for conversion from `H225_CryptoH323Token' to `
   const H235_CryptoToken&'
gkauth.cxx:1377: warning:   because conversion sequence for the argument is 
   better
gkauth.cxx: In member function `virtual int 
   PrefixAuth::Check(RasPDU<H225_LocationRequest>&, unsigned int&)':
gkauth.cxx:2076: warning: choosing `RasPDU<<anonymous template type parameter> 
   >::operator RAS&() [with RAS = H225_LocationRequest]' over `
   RasPDU<<anonymous template type parameter> >::operator const RAS&() const 
   [with RAS = H225_LocationRequest]'
gkauth.cxx:2076: warning:   for conversion from `RasPDU<H225_LocationRequest>' 
   to `const H225_LocationRequest&'
gkauth.cxx:2076: warning:   because conversion sequence for the argument is 
   better
g++ -DLARGE_FDSET=2048 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1 
-D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING 
-DP_USE_PRAGMA -ffunction-sections  -D_REENTRANT -DOPENSSL_NO_KRB5
-Wall  -I/root/pwlib/include -DPTRACING -I/root/openh323/include
-DHAS_OSS -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=1 -Os  
-x c++ -c RasSrv.cxx -o obj_linux_x86_r/RasSrv.o
RasSrv.cxx: In member function `bool RegistrationRequestPDU::BuildRRJ(unsigned 
   int, bool)':
RasSrv.cxx:1622: warning: choosing `H225_NonStandardIdentifier::operator 
   H225_H221NonStandard&()' over `H225_NonStandardIdentifier::operator const 
   H225_H221NonStandard&() const'
RasSrv.cxx:1622: warning:   for conversion from `H225_NonStandardIdentifier' to 
   `const H225_H221NonStandard&'
RasSrv.cxx:1622: warning:   because conversion sequence for the argument is 
   better
g++ -DLARGE_FDSET=2048 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1 
-D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING 
-DP_USE_PRAGMA -ffunction-sections  -D_REENTRANT -DOPENSSL_NO_KRB5
-Wall  -I/root/pwlib/include -DPTRACING -I/root/openh323/include
-DHAS_OSS -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=1 -Os  
-x c++ -c ProxyChannel.cxx -o obj_linux_x86_r/ProxyChannel.o
ProxyChannel.cxx: In member function `void CallSignalSocket::ForwardCall()':
ProxyChannel.cxx:1002: warning: choosing `H225_Content::operator 
   H225_AliasAddress&()' over `H225_Content::operator const 
   H225_AliasAddress&() const'
ProxyChannel.cxx:1002: warning:   for conversion from `H225_Content' to `const 
   H225_AliasAddress&'
ProxyChannel.cxx:1002: warning:   because conversion sequence for the argument 
   is better
ProxyChannel.cxx:3439:1: directives may not be used inside a macro argument
ProxyChannel.cxx:3438:94: unterminated argument list invoking macro "PTRACE"
ProxyChannel.cxx: In member function `virtual bool 
   ProxyHandler::BuildSelectList(SocketSelectList&)':
ProxyChannel.cxx:3440: `PTRACE' undeclared (first use this function)
ProxyChannel.cxx:3440: (Each undeclared identifier is reported only once for 
   each function it appears in.)
ProxyChannel.cxx:3445: parse error before `)' token
ProxyChannel.cxx:3538:1: directives may not be used inside a macro argument
ProxyChannel.cxx:3537:76: unterminated argument list invoking macro "PTRACE"
ProxyChannel.cxx: In member function `void ProxyHandler::FlushSockets()':
ProxyChannel.cxx:3544: parse error before `)' token
make: *** [obj_linux_x86_r/ProxyChannel.o] Error 1
[root@gkmain openh323gk]# 


any idea??

thanks
Rafael


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux