Re: [Openh323gk-users] Compiling Problems

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

 



Hello Mariano,

try this:
RCS file: /cvsroot/openh323gk/openh323gk/RasTbl.cxx,v
retrieving revision 1.50.2.56
diff -r1.50.2.56 RasTbl.cxx
516c516
<                       H323SetAliasAddress(Iter->c_str(), supportedPrefixes[p].m_prefix);
---
>                       H323SetAliasAddress(PString(Iter->c_str()), supportedPrefixes[p].m_prefix);

I don't know why it is not in CVS...

Thomas


Monday, June 9, 2003, 11:07:56 PM, you wrote:

MT> I had compiled openh323_1.12.0 and pwlib_1.5.0 . That was OK, but while was 
MT> compiling gk-2.0.4 there was the following error:

MT> [root@Proxy-h323 openh323gk]# make opt
MT> Makefile:175: warning: overriding commands for target 
MT> `obj_linux_x86_r/gnugk'
MT> /root/pwlib/make/common.mak:337: warning: ignoring old commands for target 
MT> `obj_linux_x86_r/gnugk'
MT> g++ -DHAS_RADAUTH -DLDAP_HAS_CACHE -DGK_NOANSI -I./ldap/include 
MT> -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DHAS_WAITARQ=1 
MT>   -DP_LINUX=2.4.20-8 -DOPENSSL_NO_KRB5 -D_REENTRANT -Wall -DP_USE_PRAGMA 
MT> -DPHAS_TEMPLATES -I/root/pwlib/include/ptlib/unix -I/root/pwlib/include 
MT> -DPTRACING -I/root/openh323/include -DHAS_IXJ -DHAS_OSS -DMAJOR_VERSION=1 
MT> -DMINOR_VERSION=12 -DBUILD_NUMBER=0 -O3 -DNDEBUG  -c gk.cxx -o 
MT> obj_linux_x86_r/gk.o
MT> g++ -DHAS_RADAUTH -DLDAP_HAS_CACHE -DGK_NOANSI -I./ldap/include 
MT> -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DHAS_WAITARQ=1 
MT>   -DP_LINUX=2.4.20-8 -DOPENSSL_NO_KRB5 -D_REENTRANT -Wall -DP_USE_PRAGMA 
MT> -DPHAS_TEMPLATES -I/root/pwlib/include/ptlib/unix -I/root/pwlib/include 
MT> -DPTRACING -I/root/openh323/include -DHAS_IXJ -DHAS_OSS -DMAJOR_VERSION=1 
MT> -DMINOR_VERSION=12 -DBUILD_NUMBER=0 -O3 -DNDEBUG  -c gkauth.cxx -o 
MT> obj_linux_x86_r/gkauth.o
MT> g++ -DHAS_RADAUTH -DLDAP_HAS_CACHE -DGK_NOANSI -I./ldap/include 
MT> -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DHAS_WAITARQ=1 
MT>   -DP_LINUX=2.4.20-8 -DOPENSSL_NO_KRB5 -D_REENTRANT -Wall -DP_USE_PRAGMA 
MT> -DPHAS_TEMPLATES -I/root/pwlib/include/ptlib/unix -I/root/pwlib/include 
MT> -DPTRACING -I/root/openh323/include -DHAS_IXJ -DHAS_OSS -DMAJOR_VERSION=1 
MT> -DMINOR_VERSION=12 -DBUILD_NUMBER=0 -O3 -DNDEBUG  -c gkDestAnalysis.cxx -o 
MT> obj_linux_x86_r/gkDestAnalysis.o
MT> g++ -DHAS_RADAUTH -DLDAP_HAS_CACHE -DGK_NOANSI -I./ldap/include 
MT> -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DHAS_WAITARQ=1 
MT>   -DP_LINUX=2.4.20-8 -DOPENSSL_NO_KRB5 -D_REENTRANT -Wall -DP_USE_PRAGMA 
MT> -DPHAS_TEMPLATES -I/root/pwlib/include/ptlib/unix -I/root/pwlib/include 
MT> -DPTRACING -I/root/openh323/include -DHAS_IXJ -DHAS_OSS -DMAJOR_VERSION=1 
MT> -DMINOR_VERSION=12 -DBUILD_NUMBER=0 -O3 -DNDEBUG  -c RasSrv.cxx -o 
MT> obj_linux_x86_r/RasSrv.o
MT> g++ -DHAS_RADAUTH -DLDAP_HAS_CACHE -DGK_NOANSI -I./ldap/include 
MT> -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DHAS_WAITARQ=1 
MT>   -DP_LINUX=2.4.20-8 -DOPENSSL_NO_KRB5 -D_REENTRANT -Wall -DP_USE_PRAGMA 
MT> -DPHAS_TEMPLATES -I/root/pwlib/include/ptlib/unix -I/root/pwlib/include 
MT> -DPTRACING -I/root/openh323/include -DHAS_IXJ -DHAS_OSS -DMAJOR_VERSION=1 
MT> -DMINOR_VERSION=12 -DBUILD_NUMBER=0 -O3 -DNDEBUG  -c RasTbl.cxx -o 
MT> obj_linux_x86_r/RasTbl.o
MT> RasTbl.cxx: In member function `virtual void
MT>    GatewayRec::BuildLCF(H225_LocationConfirm&) const':
MT> RasTbl.cxx:516: call of overloaded `H323SetAliasAddress(const char*,
MT>    H225_AliasAddress&)' is ambiguous
MT> /root/openh323/include/h323pdu.h:639: candidates are: void
MT>    H323SetAliasAddress(const H323TransportAddress&, H225_AliasAddress&)
MT> /root/openh323/include/h323pdu.h:640:                 void
MT>    H323SetAliasAddress(const PString&, H225_AliasAddress&, int = -1)
MT> make: *** [obj_linux_x86_r/RasTbl.o] Error 1
MT> [root@Proxy-h323 openh323gk]#

MT> Please, Could somebody tell me what i must to do to fix it.
MT> Thanks a lot
MT> Mariano



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
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