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

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

 



The LDAP stuff in openh323 has been removed in 1.12, but it should
just use the openldap libraries.

I think you have some mix up in the libraries you are using to compile. 
Please check to see that you are actually using 1.12.

Jake

On Monday 16 June 2003 23:10, Rafael J. Risco G.V. wrote:
> Thanks
> I`ve already applied this patch, it works but now I have another error,
> this is the last 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'
> make -C ldap/src opt
> make[1]: Entering directory `/var/home/gk/openh323gk/ldap/src'
> g++ -DP_LINUX=2.4.20-18.9 -DOPENSSL_NO_KRB5 -D_REENTRANT -Wall -fPIC -
> DP_USE_PRAGMA -DPHAS_TEMPLATES -I/home/gk/pwlib/include/ptlib/unix -
> DP_LINUX=2.4.20-18.9 -DOPENSSL_NO_KRB5 -D_REENTRANT -Wall -fPIC
> -DP_USE_PRAGMA - DPHAS_TEMPLATES -I/home/gk/pwlib/include/ptlib/unix
> -DP_LINUX=2.4.20-18.9 - DOPENSSL_NO_KRB5 -D_REENTRANT -Wall -fPIC
> -DP_USE_PRAGMA -DPHAS_TEMPLATES - I/home/gk/pwlib/include/ptlib/unix
> -I/home/gk/pwlib/include -
> DOPENH323LIB_HAS_LDAP_ASN_H -I../include -I. -I/include -fpic -O3 -DNDEBUG
> -O3 - DNDEBUG -O3 -DNDEBUG  -c delete.cxx -o
> ../lib/obj_linux_x86_r/delete.o In file included from delete.cxx:25:
> ldap-int.h:32:22: ldap_asn.h: No such file or directory
> In file included from delete.cxx:25:
> ldap-int.h:72: syntax error before `*' token
> delete.cxx: In function `int ldap_delete_ext(LDAP*, const char*,
> LDAPControl**, LDAPControl**, int*)':
> delete.cxx:36: `LDAP_LDAPMessage' undeclared (first use this function)
> delete.cxx:36: (Each undeclared identifier is reported only once for each
>    function it appears in.)
> delete.cxx:36: parse error before `;' token
> delete.cxx:38: `msg' undeclared (first use this function)
> delete.cxx:39: `LDAP_LDAPMessage_protocolOp' undeclared (first use this
>    function)
> delete.cxx:39: parse error before `::' token
> delete.cxx:40: `LDAP_DelRequest' undeclared (first use this function)
> delete.cxx:40: `del' undeclared (first use this function)
> make[1]: *** [../lib/obj_linux_x86_r/delete.o] Error 1
> make[1]: Leaving directory `/var/home/gk/openh323gk/ldap/src'
> make: *** [ldap/lib/libldapapi_linux_x86_r.so] Error 2
> [gk@GK openh323gk]$
>
> do you have another patch for this?
>
> slds.-
> Rafael Risco
>
> Jake Morrison <jake@newnetlogic.com> escribi:
> > 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/
>
> -------------------------------------------------------
> 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: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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