Re: Re[2]: [Openh323gk-users] error 1 compiling gnugk2.0.4

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

 



Here is a patch against 2.0.4:

diff -u openh323gk/RasTbl.cxx openh323gk.new/RasTbl.cxx
--- openh323gk/RasTbl.cxx       Fri Mar 21 19:08:39 2003
+++ openh323gk.new/RasTbl.cxx   Sat Jun 14 17:58:20 2003
@@ -513,7 +513,7 @@
                supportedPrefixes.SetSize(as);
                const_prefix_iterator Iter = Prefixes.begin();
                for (PINDEX p=0; p < as; ++p, ++Iter)
-                       H323SetAliasAddress(Iter->c_str(), 
supportedPrefixes[p].m_prefix);
+                       H323SetAliasAddress(Iter->c_str(), 
supportedPrefixes[p].m_prefix, -1);
        }
 }



On Monday 16 June 2003 17:26, h323@ke.kiev.ua wrote:
> Hi
>
> Try to put type conversion PString(...) for arg1 at RasTbl.cxx:516
> when you call H323SetAliasAddress()
>
> Ivanov Ivan
>
> z> look at the previous messages, you should switch to an older version of
> pwlib
>
> z> At 19:40 15/06/2003 -0500, you wrote:
> >>Hi
> >>I'm having troubles compiling open323gk 2.0.4, using openh323 ver. 1.12.0
> >> and pwlib_1.5.0 , this is the output:
> >>
> >>[gk@GK openh323gk]$ LARGE_FDSET=16384 make opt
> >>Makefile:175: warning: overriding commands for target
> >> `obj_linux_x86_r/gnugk' /home/gk/pwlib/make/common.mak:337: warning:
> >> ignoring old commands for target `obj_linux_x86_r/gnugk'
> >>g++ -DLARGE_FDSET=16384 -DHAS_RADAUTH -DLDAP_HAS_CACHE -DGK_NOANSI -
> >>I./ldap/include -D"HAS_LDAP=1" -D"HAS_LEVEL_TWO_LDAPAPI=1"
> >> -D"LDAPVERSION=2" - DHAS_WAITARQ=1  -DP_LINUX=2.4.20-18.9
> >> -DOPENSSL_NO_KRB5 -D_REENTRANT -Wall - DP_USE_PRAGMA -DPHAS_TEMPLATES
> >> -I/home/gk/pwlib/include/ptlib/unix - I/home/gk/pwlib/include -DPTRACING
> >> -I/home/gk/openh323/include -DHAS_IXJ - DHAS_OSS -DMAJOR_VERSION=1
> >> -DMINOR_VERSION=12 -DBUILD_NUMBER=0 -O3 -DNDEBUG  -c
> >>RasTbl.cxx -o obj_linux_x86_r/RasTbl.o
> >>RasTbl.cxx: In member function `virtual void
> >>    GatewayRec::BuildLCF(H225_LocationConfirm&) const':
> >>RasTbl.cxx:516: call of overloaded `H323SetAliasAddress(const char*,
> >>    H225_AliasAddress&)' is ambiguous
> >>/home/gk/openh323/include/h323pdu.h:639: candidates are: void
> >>    H323SetAliasAddress(const H323TransportAddress&, H225_AliasAddress&)
> >>/home/gk/openh323/include/h323pdu.h:640:                 void
> >>    H323SetAliasAddress(const PString&, H225_AliasAddress&, int = -1)
> >>make: *** [obj_linux_x86_r/RasTbl.o] Error 1
> >>
> >>
> >>please send me some advice,
> >>
> >>thanks
> >>Rafael Risco GV
> >>Millicom Peru
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> List: Openh323gk-users@lists.sourceforge.net
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> Homepage: http://www.gnugk.org/



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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