[Freeswitch-users] Errors compiling mod_h323

Rob Hutton justlikeef at gmail.com
Fri Oct 1 09:58:41 PDT 2010


I am getting the following error compiling mod_h323 on OpenSuse 11.3 X86_64.  
I don't even know where to begin on this, but would me more than happy to help 
work it out...

Compiling 
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp...
quiet_libtool: compile:  g++ -g -ggdb -I/usr/local/include/ptlib -
I/usr/local/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exceptions -
I/usr/src/freeswitch/freeswitch/src/include -
I/usr/src/freeswitch/freeswitch/src/include -
I/usr/src/freeswitch/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden 
-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -
DHAVE_CONFIG_H -c 
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp  -fPIC 
-DPIC -o .libs/mod_h323.o
In file included from 
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:31:0:
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:110:1: 
error: too many initializers for ‘const char* const [8]’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:121:1: 
error: too many initializers for ‘const char* const [5]’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:212:40: 
error: expected class-name before ‘{’ token
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:213:2: 
error: ‘Comparison’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h: In 
member function ‘virtual BOOL FSProcess::InternalIsDescendant(const char*) 
const’:
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:213:2: 
error: ‘PLibraryProcess’ has not been declared
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h: In 
member function ‘virtual const char* FSProcess::GetClass(unsigned int) const’:
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:213:2: 
error: ‘PLibraryProcess’ has not been declared
In file included from 
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:31:0:
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h: At 
global scope:
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:313:7: 
error: ‘PBoolean’ has not been declared
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:318:10: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:319:10: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:326:10: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:320:15: 
error: conflicting return type specified for ‘virtual bool 
FSH323Connection::OnReceivedSignalSetup(const H323SignalPDU&)’
/usr/include/openh323/h323con.h:766:18: error:   overriding ‘virtual BOOL 
H323Connection::OnReceivedSignalSetup(const H323SignalPDU&)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:321:15: 
error: conflicting return type specified for ‘virtual bool 
FSH323Connection::OnReceivedCallProceeding(const H323SignalPDU&)’
/usr/include/openh323/h323con.h:798:18: error:   overriding ‘virtual BOOL 
H323Connection::OnReceivedCallProceeding(const H323SignalPDU&)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:323:15: 
error: conflicting return type specified for ‘virtual bool 
FSH323Connection::OnReceivedProgress(const H323SignalPDU&)’
/usr/include/openh323/h323con.h:810:18: error:   overriding ‘virtual BOOL 
H323Connection::OnReceivedProgress(const H323SignalPDU&)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:324:15: 
error: conflicting return type specified for ‘virtual bool 
FSH323Connection::OnSendCallProceeding(H323SignalPDU&)’
/usr/include/openh323/h323con.h:1243:18: error:   overriding ‘virtual BOOL 
H323Connection::OnSendCallProceeding(H323SignalPDU&)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:325:15: 
error: conflicting return type specified for ‘virtual bool 
FSH323Connection::OnSendReleaseComplete(H323SignalPDU&)’
/usr/include/openh323/h323con.h:1258:18: error:   overriding ‘virtual BOOL 
H323Connection::OnSendReleaseComplete(H323SignalPDU&)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:329:15: 
error: conflicting return type specified for ‘virtual bool 
FSH323Connection::OnAlerting(const H323SignalPDU&, const PString&)’
/usr/include/openh323/h323con.h:1272:18: error:   overriding ‘virtual BOOL 
H323Connection::OnAlerting(const H323SignalPDU&, const PString&)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:333:15: 
error: conflicting return type specified for ‘virtual bool 
FSH323Connection::OnRequestModeChange(const H245_RequestMode&, 
H245_RequestModeAck&, H245_RequestModeReject&, PINDEX&)’
/usr/include/openh323/h323con.h:2167:18: error:   overriding ‘virtual BOOL 
H323Connection::OnRequestModeChange(const H245_RequestMode&, 
H245_RequestModeAck&, H245_RequestModeReject&, PINDEX&)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:337:15: 
error: conflicting return type specified for ‘virtual bool 
FSH323Connection::OnSendSignalSetup(H323SignalPDU&)’
/usr/include/openh323/h323con.h:1231:18: error:   overriding ‘virtual BOOL 
H323Connection::OnSendSignalSetup(H323SignalPDU&)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:341:15: 
error: conflicting return type specified for ‘virtual bool 
FSH323Connection::OnReceivedCapabilitySet(const H323Capabilities&, const 
H245_MultiplexCapability*, H245_TerminalCapabilitySetReject&)’
/usr/include/openh323/h323con.h:1544:18: error:   overriding ‘virtual BOOL 
H323Connection::OnReceivedCapabilitySet(const H323Capabilities&, const 
H245_MultiplexCapability*, H245_TerminalCapabilitySetReject&)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:404:10: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:405:10: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:406:10: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:407:10: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:455:15: 
error: conflicting return type specified for ‘virtual bool 
BaseG7231Capab::OnSendingPDU(H245_AudioCapability&, unsigned int) const’
/usr/include/openh323/h323caps.h:834:18: error:   overriding ‘virtual BOOL 
H323AudioCapability::OnSendingPDU(H245_AudioCapability&, unsigned int) const’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:462:15: 
error: conflicting return type specified for ‘virtual bool 
BaseG7231Capab::OnReceivedPDU(const H245_AudioCapability&, unsigned int&)’
/usr/include/openh323/h323caps.h:888:18: error:   overriding ‘virtual BOOL 
H323AudioCapability::OnReceivedPDU(const H245_AudioCapability&, unsigned 
int&)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:520:15: 
error: conflicting return type specified for ‘virtual bool 
BaseGSM0610Cap::OnSendingPDU(H245_AudioCapability&, unsigned int) const’
/usr/include/openh323/h323caps.h:834:18: error:   overriding ‘virtual BOOL 
H323AudioCapability::OnSendingPDU(H245_AudioCapability&, unsigned int) const’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:528:15: 
error: conflicting return type specified for ‘virtual bool 
BaseGSM0610Cap::OnReceivedPDU(const H245_AudioCapability&, unsigned int&)’
/usr/include/openh323/h323caps.h:888:18: error:   overriding ‘virtual BOOL 
H323AudioCapability::OnReceivedPDU(const H245_AudioCapability&, unsigned 
int&)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp: In 
function ‘const OpalMediaFormat& GetOpalT38_IFP_COR()’:
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:84:6: 
error: invalid conversion from ‘char*’ to ‘BOOL’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:84:6: 
error:   initializing argument 4 of ‘OpalMediaFormat::OpalMediaFormat(const 
char*, unsigned int, RTP_DataFrame::PayloadTypes, BOOL, unsigned int, PINDEX, 
unsigned int, unsigned int, time_t)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp: In 
function ‘const OpalMediaFormat& GetOpalT38_IFP_PRE()’:
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:100:6: 
error: invalid conversion from ‘char*’ to ‘BOOL’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:100:6: 
error:   initializing argument 4 of ‘OpalMediaFormat::OpalMediaFormat(const 
char*, unsigned int, RTP_DataFrame::PayloadTypes, BOOL, unsigned int, PINDEX, 
unsigned int, unsigned int, time_t)’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp: In 
constructor ‘FSProcess::FSProcess()’:
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:346:4: 
error: class ‘FSProcess’ does not have any field named ‘PLibraryProcess’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:346:46: 
error: ‘AlphaCode’ was not declared in this scope
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp: At 
global scope:
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:752:42: 
error: ‘PBoolean’ has not been declared
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:961:1: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:968:1: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:1083:1: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp: In 
member function ‘virtual void 
FSH323Connection::AnsweringCall(H323Connection::AnswerCallResponse)’:
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:1152:5: 
error: ‘PBoolean’ was not declared in this scope
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:1152:14: 
error: expected ‘;’ before ‘sendPDU’
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:1187:9: 
error: ‘sendPDU’ was not declared in this scope
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp: At 
global scope:
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:1242:1: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:1904:1: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:2213:1: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:2227:1: 
error: ‘PBoolean’ does not name a type
/usr/src/freeswitch/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:2233:1: 
error: ‘PBoolean’ does not name a type
make[1]: *** [mod_h323.lo] Error 1
make: *** [all] Error 1


-- 
Thanks,
Rob



More information about the FreeSWITCH-users mailing list