RE: [Openh323gk-users] Compile problems

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

 



In RASTbl.ccx line 516 use this line to compile with the latest
openh323.

			H323SetAliasAddress(Iter->c_str(),
supportedPrefixes[p].m_prefix,-1);

Ciao,
Michele

-----Original Message-----
From: openh323gk-users-admin@lists.sourceforge.net
[mailto:openh323gk-users-admin@lists.sourceforge.net] On Behalf Of
Jeronimo Garcia
Sent: Tuesday, June 10, 2003 7:05 PM
To: openh323gk-users@lists.sourceforge.net
Subject: RE: [Openh323gk-users] Compile problems


Are u using openh3231.12??? Cause I got the same error but when I change
to openh3231.11.7 it worked perfectly


-----Original Message-----
From: openh323gk-users-admin@lists.sourceforge.net
[mailto:openh323gk-users-admin@lists.sourceforge.net] On Behalf Of
Antonio-Blasco Bonito
Sent: Tuesday, June 10, 2003 12:49 PM
To: openh323gk-users@sourceforge.net
Subject: [Openh323gk-users] Compile problems


Please help.
I'm getting errors compiling versions 2.1b7, 2.4 and 2.3
on a redhat 7.3 where I have compiled both PWlib and openh323 source
code snapshots.

Error compiling version 2.1b7

...
g++ -I/usr/local/src/openh323/include -D'MANUFACTURER="Willamowius"'
-D'PROGRAMMNAME="Gatekeeper"' -D'GKGVS="@(#) $Id: BUILD_TYPE BetaCode of
""Gatekeeper"" vMAJOR_VERSION 2.MINOR_VERSION 1 build#BUILD_NUMBER 27 by
""Willamowius"" at " __DATE__ " "  __TIME__ " $"' -D'CDR_RECHECK'
-D'HAVE_DIGIT_ANALYSIS' -D'HAS_NEW_H323SETALIASADDRESS=1' -DPTRACING
-DGK_NOANSI -I/home/src/openh323gk-2.1b27/ldap/include -D"HAS_LDAP=1"
-D"HAS_LEVEL_TWO_LDAPAPI=1" -D"LDAPVERSION=2" -DP_LINUX=2.4.18-3
-D_REENTRANT -Wall -DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/usr/local/src/pwlib/include/ptlib/unix -I/usr/local/src/pwlib/include
-O3 -DNDEBUG  -c gkauth.cxx -o obj_linux_x86_r/gkauth.o
gkauth.cxx: In method `bool SimplePasswordAuth::CheckCryptoTokens
(const H225_ArrayOf_CryptoH323Token &)':
gkauth.cxx:506: no matching function for call to
`H235AuthSimpleMD5::VerifyToken (H225_CryptoH323Token &, PBYTEArray &)'
gkauth.cxx:525: no matching function for call to
`H235AuthProcedure1::VerifyToken (H225_CryptoH323Token &, PBYTEArray &)'
make[1]: *** [obj_linux_x86_r/gkauth.o] Error 1
make[1]: Leaving directory `/home/src/openh323gk-2.1b27'
make: *** [optshared] Error 2

------------------------
Error compiling gk version 2.4

...
g++ -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.18-3 -D_REENTRANT -Wall -DP_USE_PRAGMA
-DPHAS_TEMPLATES -I/usr/local/src/pwlib/include/ptlib/unix
-I/usr/local/src/pwlib/include -DPTRACING
-I/usr/local/src/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 method `void GatewayRec::BuildLCF (H225_LocationConfirm
&) const':
RasTbl.cxx:516: call of overloaded `H323SetAliasAddress (const char *,
H225_AliasAddress &)' is ambiguous
/usr/local/src/openh323/include/h323pdu.h:639: candidates are: void
H323SetAliasAddress (const H323TransportAddress &, H225_AliasAddress &)
/usr/local/src/openh323/include/h323pdu.h:640:                 void
H323SetAliasAddress (const PString
&, H225_AliasAddress &, int = -1)
make: *** [obj_linux_x86_r/RasTbl.o] Error 1

--------------------------------- 
Error compiling gk version 2.3

...
g++ -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.18-3 -D_REENTRANT
-Wall -DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/usr/local/src/pwlib/include/ptlib/unix
-I/usr/local/src/pwlib/include -DPTRACING
-I/usr/local/src/openh323/include -DHAS_IXJ -DHAS_OSS -DMAJOR_VERSION=1
-DMINOR_VERSION=12 -DBUILD_NUMBER=0 -O3 -DNDEBUG  -c gkauth.cxx -o
obj_linux_x86_r/gkauth.o
gkauth.cxx: In method `bool SimplePasswordAuth::CheckCryptoTokens
(const H225_ArrayOf_CryptoH323Token &)':
gkauth.cxx:449: no matching function for call to
`H235AuthSimpleMD5::VerifyToken (H225_CryptoH323Token &, PBYTEArray &)'
gkauth.cxx:492: no matching function for call to
`H235AuthProcedure1::VerifyToken (H225_CryptoH323Token &, PBYTEArray &)'
make: *** [obj_linux_x86_r/gkauth.o] Error 1

-- 
Antonio-Blasco Bonito <blasco@alet.it>
Alet Net



-------------------------------------------------------
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/



-------------------------------------------------------
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/



-------------------------------------------------------
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