Hi,
I tried to compile
the gatekeeper with LDAP but I had this error. Does anyone know how to fix
it? Thanks in advance.
g++ -DHAS_PGSQL=1 -I/usr/include/postgresql
-DHAS_MYSQL=1 -I/usr/include/mysql -DHAS_ACCT=1 -DHAS_RADIUS=1 -DHAS_LDAP=1
-DLDAP_HAS_CACHE -DHAS_WAITARQ=1 -DP_USE_PRAGMA -D_REENTRANT -fexceptions
-Wall -I/usr/src/pwlib/include -DPTRACING -I/usr/src/openh323/include
-DHAS_OSS -DMAJOR_VERSION=1 -DMINOR_VERSION=15 -DBUILD_NUMBER=2 -Os
-felide-constructors -x c++ -c ldapauth.cxx -o
obj_linux_x86_r/ldapauth.o
ldapauth.cxx: In member function `virtual int LDAPPasswordAuth::Check(H225_RegistrationRequest&, RRQAuthData&, const PBYTEArray&)':
ldapauth.cxx:279: error: no matching function for call to `LDAPPasswordAuth::Check(H225_RegistrationRequest&, RRQAuthData&, const PBYTEArray&)'
gkauth.h:542: error: candidates are: virtual int SimplePasswordAuth::Check(H225_GatekeeperRequest&, RasTransaction&, unsigned int&)
gkauth.h:543: error: virtual int SimplePasswordAuth::Check(H225_UnregistrationRequest&, RasTransaction&, unsigned int&)
gkauth.h:544: error: virtual int SimplePasswordAuth::Check(H225_BandwidthRequest&, RasTransaction&, unsigned int&)
gkauth.h:545: error: virtual int SimplePasswordAuth::Check(H225_DisengageRequest&, RasTransaction&, unsigned int&)
gkauth.h:546: error: virtual int SimplePasswordAuth::Check(H225_LocationRequest&, RasTransaction&, unsigned int&)
gkauth.h:547: error: virtual int SimplePasswordAuth::Check(H225_InfoRequest&, RasTransaction&, unsigned int&)
gkauth.h:548: error: virtual int SimplePasswordAuth::Check(H225_InfoRequestResponse&, RasTransaction&, unsigned int&)
gkauth.h:549: error: virtual int SimplePasswordAuth::Check(H225_ResourcesAvailableIndicate&, RasTransaction&, unsigned int&)
gkauth.h:567: error: virtual int SimplePasswordAuth::Check(H225_RegistrationRequest&, RasTransaction&, RRQAuthData&)
gkauth.h:575: error: virtual int SimplePasswordAuth::Check(H225_AdmissionRequest&, RasTransaction&, ARQAuthData&)
ldapauth.cxx: In member function `virtual int LDAPAliasAuth::Check(H225_RegistrationRequest&, RRQAuthData&, const PBYTEArray&)':
ldapauth.cxx:335: error: no matching function for call to `LDAPAliasAuth::Check(H225_RegistrationRequest&, RRQAuthData&, const PBYTEArray&)'
gkauth.h:712: error: candidates are: virtual int AliasAuth::Check(H225_RegistrationRequest&, RasTransaction&, RRQAuthData&)
make: ** [obj_linux_x86_r/ldapauth.o] Erro 1
ldapauth.cxx: In member function `virtual int LDAPPasswordAuth::Check(H225_RegistrationRequest&, RRQAuthData&, const PBYTEArray&)':
ldapauth.cxx:279: error: no matching function for call to `LDAPPasswordAuth::Check(H225_RegistrationRequest&, RRQAuthData&, const PBYTEArray&)'
gkauth.h:542: error: candidates are: virtual int SimplePasswordAuth::Check(H225_GatekeeperRequest&, RasTransaction&, unsigned int&)
gkauth.h:543: error: virtual int SimplePasswordAuth::Check(H225_UnregistrationRequest&, RasTransaction&, unsigned int&)
gkauth.h:544: error: virtual int SimplePasswordAuth::Check(H225_BandwidthRequest&, RasTransaction&, unsigned int&)
gkauth.h:545: error: virtual int SimplePasswordAuth::Check(H225_DisengageRequest&, RasTransaction&, unsigned int&)
gkauth.h:546: error: virtual int SimplePasswordAuth::Check(H225_LocationRequest&, RasTransaction&, unsigned int&)
gkauth.h:547: error: virtual int SimplePasswordAuth::Check(H225_InfoRequest&, RasTransaction&, unsigned int&)
gkauth.h:548: error: virtual int SimplePasswordAuth::Check(H225_InfoRequestResponse&, RasTransaction&, unsigned int&)
gkauth.h:549: error: virtual int SimplePasswordAuth::Check(H225_ResourcesAvailableIndicate&, RasTransaction&, unsigned int&)
gkauth.h:567: error: virtual int SimplePasswordAuth::Check(H225_RegistrationRequest&, RasTransaction&, RRQAuthData&)
gkauth.h:575: error: virtual int SimplePasswordAuth::Check(H225_AdmissionRequest&, RasTransaction&, ARQAuthData&)
ldapauth.cxx: In member function `virtual int LDAPAliasAuth::Check(H225_RegistrationRequest&, RRQAuthData&, const PBYTEArray&)':
ldapauth.cxx:335: error: no matching function for call to `LDAPAliasAuth::Check(H225_RegistrationRequest&, RRQAuthData&, const PBYTEArray&)'
gkauth.h:712: error: candidates are: virtual int AliasAuth::Check(H225_RegistrationRequest&, RasTransaction&, RRQAuthData&)
make: ** [obj_linux_x86_r/ldapauth.o] Erro 1
Marcelo Arza Lobo da
Costa
VoIP Lab. - NCE / UFRJ