ERROR when I COMPILED Opengate under Linux :
[root@lab20 opengate]# make both
g++ -Wall -DP_LINUX -m486 -D_REENTRANT
-DP_HAS_SEMAPHORES -DP_PTHREADS
-DPBYTE_ORDER=PLITTLE_ENDIAN
-I/root/pwlib/include/ptlib/unix -I/root/pwlib/include
-DPTRACING -I/root/openh323/include -DHAS_IXJ -DHAS_OSS
-O2 -DNDEBUG -c EndpointTabl.cxx -o
obj_linux_x86_r/EndpointTabl.o
EndpointTabl.cxx: In function `bool IsPrefix(const
class H225_AliasAddress &, const class
H225_AliasAddress &)':
EndpointTabl.cxx:223: `e_e164' is not a member of type
`H225_AliasAddress'
EndpointTabl.cxx:224: warning: unreachable code at
beginning of switch statementEndpointTabl.cxx:238:
`e_publicNumber' is not a member of type
`H225_PartyNumber'
EndpointTabl.cxx:240: warning: unreachable code at
beginning of switch statementEndpointTabl.cxx: In
method `class Endpoint
EndpointTable::FindByPrefix(const class
H225_ArrayOf_AliasAddress &)':
EndpointTabl.cxx:1083: `e_e164' is not a member of type
`H225_AliasAddress'
make: *** [obj_linux_x86_r/EndpointTabl.o] Error 1
[root@lab20 opengate]#
Logged In: YES
user_id=52964
I'm having the exact same problem.
I'm running Redhat Linux 7.1, kernel updated to 2.4.7,
OpenH323 v1.5.6, pwlib 1.1.34, and trying to compile
openh323proxy_0.9a3_m09.
My gcc is "gcc version 2.96 20000731 (Red Hat Linux 7.1
2.96-85)"
If I find a solution I'll post it here. Have Openh323
updates broken the proxy perhaps?
Logged In: NO
For me this seems to be a problem with h225.asn from
openh323. This file has changed at some point and
unfortunately some field names have been changed.
Try to replace all occurrences of H225_AliasAddress::e_e164
to H225_AliasAddress::e_dialedDigits in files Environ.cxx
and EndpointTabl.cxx.
Logged In: YES
user_id=160379
See the patch in the patches section. This is apparently caused by
using a newer version of the OpenH.323 libraries.