The issue is not when l am trying to build OpenH323, it is in building the channel driver in:
/usr/src/asterisk/channels/h323 The README file in there gives some basic clues, but not relating to the problem l have. Phil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy McNamara Sent: Monday, 8 September 2003 2:34 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Problem Installing Open H.323 Channel Driver RTFM. Try reading the build instructions for Open H.323: http://www.openh323.org/build.html Jeremy McNamara Phillip Britt wrote: >Hi, > >I am having trouble installing the Open H.323 Channel driver in Asterisk. I >have installed PWLib and OpenH323 V.1.11.7 > >This is the output l get before it bails out. > >asterisk:/usr/src/asterisk/channels/h323# make >g++ -g -c -o ast_h323.o -march=i686 -DPBYTE_ORDER=PLITTLE_ENDIAN -DNDEBUG >-DDO_CRASH -DDEBUG_THREADS -pipe -Wall -fPIC -Wmissing-prototypes >-Wmissing-declarations -DP_LINUX -D_REENTRANT -D_GNU_SOURCE >-DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES -DPTRACING >-DP_USE_PRAGMA -I../../include -I/root/pwlib/include/ptlib/unix >-I/root/pwlib/include -I/root/openh323/include -Wno-missing-prototypes >-Wno-missing-declarations ast_h323.cpp >In file included from ast_h323.cpp:28: >ast_h323.h:31: h323.h: No such file or directory >ast_h323.h:32: h323pdu.h: No such file or directory >ast_h323.h:33: mediafmt.h: No such file or directory >ast_h323.h:34: lid.h: No such file or directory >ast_h323.cpp:29: h323t38.h: No such file or directory >In file included from ast_h323.cpp:28: >ast_h323.h:71: parse error before `{' >ast_h323.h:72: virtual outside class declaration >ast_h323.h:72: non-member function `GetClass(unsigned int)' cannot have >`const' method qualifier >ast_h323.h: In function `const char * GetClass(unsigned int = 0)': >ast_h323.h:72: `H323AudioCapability' undeclared (first use this function) >ast_h323.h:72: (Each undeclared identifier is reported only once >ast_h323.h:72: for each function it appears in.) >ast_h323.h:72: parse error before `::' >ast_h323.h:72: no method `H323_G7231Capability::Class' >ast_h323.h:72: warning: control reaches end of non-void function >`GetClass(unsigned int)' >ast_h323.h: At top level: >ast_h323.h:72: virtual outside class declaration >ast_h323.h:72: non-member function `IsClass(const char *)' cannot have >`const' method qualifier >ast_h323.h: In function `BOOL IsClass(const char *)': >ast_h323.h:72: no method `H323_G7231Capability::Class' >ast_h323.h:72: warning: control reaches end of non-void function >`IsClass(const char *)' >ast_h323.h: At top level: >ast_h323.h:72: virtual outside class declaration >ast_h323.h:72: non-member function `IsDescendant(const char *)' cannot have >`const' method qualifier >ast_h323.h: In function `BOOL IsDescendant(const char *)': >ast_h323.h:72: no method `H323_G7231Capability::Class' >ast_h323.h:72: parse error before `::' >ast_h323.h:72: warning: control reaches end of non-void function >`IsDescendant(const char *)' >ast_h323.h: At top level: >ast_h323.h:72: syntax error before `(' >ast_h323.h:77: syntax error before `(' >ast_h323.h:79: non-member function `Clone()' cannot have `const' method >qualifier >ast_h323.h:81: syntax error before `*' >ast_h323.h:85: non-member function `GetSubType()' cannot have `const' method >qualifier >ast_h323.h:86: non-member function `GetFormatName()' cannot have `const' >method qualifier >ast_h323.h:88: `H245_AudioCapability' was not declared in this scope >ast_h323.h:88: `pdu' was not declared in this scope >ast_h323.h:90: parse error before `)' >ast_h323.h:90: non-member function `OnSendingPDU(...)' cannot have `const' >method qualifier >ast_h323.h:93: parse error before `&' >ast_h323.h:101: parse error before `{' >ast_h323.h:103: virtual outside class declaration >ast_h323.h:103: non-member function `GetClass(unsigned int)' cannot have >`const' method qualifier >ast_h323.h: In function `const char * GetClass(unsigned int = 0)': >ast_h323.h:103: redefinition of `const char * GetClass(unsigned int = 0)' >ast_h323.h:72: `const char * GetClass(unsigned int = 0)' previously defined >here >ast_h323.h: In function `const char * GetClass(unsigned int = 0)': >ast_h323.h:103: `H323EndPoint' undeclared (first use this function) >ast_h323.h:103: parse error before `::' >ast_h323.h:103: no method `MyH323EndPoint::Class' >ast_h323.h:103: warning: control reaches end of non-void function >`GetClass(unsigned int)' >ast_h323.h: At top level: >ast_h323.h:103: virtual outside class declaration >ast_h323.h:103: non-member function `IsClass(const char *)' cannot have >`const' method qualifier >ast_h323.h: In function `BOOL IsClass(const char *)': >ast_h323.h:103: redefinition of `BOOL IsClass(const char *)' >ast_h323.h:72: `BOOL IsClass(const char *)' previously defined here >ast_h323.h: In function `BOOL IsClass(const char *)': >ast_h323.h:103: no method `MyH323EndPoint::Class' >ast_h323.h:103: warning: control reaches end of non-void function >`IsClass(const char *)' >ast_h323.h: At top level: >ast_h323.h:103: virtual outside class declaration >ast_h323.h:103: non-member function `IsDescendant(const char *)' cannot have >`const' method qualifier >ast_h323.h: In function `BOOL IsDescendant(const char *)': >ast_h323.h:103: redefinition of `BOOL IsDescendant(const char *)' >ast_h323.h:72: `BOOL IsDescendant(const char *)' previously defined here >ast_h323.h: In function `BOOL IsDescendant(const char *)': >ast_h323.h:103: no method `MyH323EndPoint::Class' >ast_h323.h:103: parse error before `::' >ast_h323.h:103: warning: control reaches end of non-void function >`IsDescendant(const char *)' >ast_h323.h: At top level: >ast_h323.h:103: syntax error before `(' >ast_h323.h:110: `H323Connection' was not declared in this scope >ast_h323.h:110: parse error before `,' >ast_h323.h:111: `H323Connection' was not declared in this scope >ast_h323.h:111: parse error before `,' >ast_h323.h:112: `H323Connection' was not declared in this scope >ast_h323.h:112: parse error before `,' >ast_h323.h:113: syntax error before `*' >ast_h323.h:115: syntax error before `(' >ast_h323.h:119: `H225_EndpointType' was not declared in this scope >ast_h323.h:119: `info' was not declared in this scope >ast_h323.h:119: variable or field `SetEndpointTypeInfo' declared void >ast_h323.h:122: parse error before `}' >ast_h323.h:125: parse error before `{' >ast_h323.h:127: virtual outside class declaration >ast_h323.h:127: non-member function `GetClass(unsigned int)' cannot have >`const' method qualifier >ast_h323.h: In function `const char * GetClass(unsigned int = 0)': >ast_h323.h:127: redefinition of `const char * GetClass(unsigned int = 0)' >ast_h323.h:103: `const char * GetClass(unsigned int = 0)' previously defined >here >ast_h323.h: In function `const char * GetClass(unsigned int = 0)': >ast_h323.h:127: `H323Connection' undeclared (first use this function) >ast_h323.h:127: parse error before `::' >ast_h323.h:127: no method `MyH323Connection::Class' >ast_h323.h:127: warning: control reaches end of non-void function >`GetClass(unsigned int)' >ast_h323.h: At top level: >ast_h323.h:127: virtual outside class declaration >ast_h323.h:127: non-member function `IsClass(const char *)' cannot have >`const' method qualifier >ast_h323.h: In function `BOOL IsClass(const char *)': >ast_h323.h:127: redefinition of `BOOL IsClass(const char *)' >ast_h323.h:103: `BOOL IsClass(const char *)' previously defined here >ast_h323.h: In function `BOOL IsClass(const char *)': >ast_h323.h:127: no method `MyH323Connection::Class' >ast_h323.h:127: warning: control reaches end of non-void function >`IsClass(const char *)' >ast_h323.h: At top level: >ast_h323.h:127: virtual outside class declaration >ast_h323.h:127: non-member function `IsDescendant(const char *)' cannot have >`const' method qualifier >ast_h323.h: In function `BOOL IsDescendant(const char *)': >ast_h323.h:127: redefinition of `BOOL IsDescendant(const char *)' >ast_h323.h:103: `BOOL IsDescendant(const char *)' previously defined here >ast_h323.h: In function `BOOL IsDescendant(const char *)': >ast_h323.h:127: no method `MyH323Connection::Class' >ast_h323.h:127: parse error before `::' >ast_h323.h:127: warning: control reaches end of non-void function >`IsDescendant(const char *)' >ast_h323.h: At top level: >ast_h323.h:127: syntax error before `(' >ast_h323.h:131: destructors must be member functions >ast_h323.h:133: syntax error before `*' >ast_h323.h:135: syntax error before `::' >ast_h323.h:136: parse error before `&' >ast_h323.h:137: `H323SignalPDU' was not declared in this scope >ast_h323.h:137: parse error before `)' >ast_h323.h:138: parse error before `&' >ast_h323.h:139: parse error before `&' >ast_h323.h:140: parse error before `&' >ast_h323.h:141: `H323SignalPDU' was not declared in this scope >ast_h323.h:141: parse error before `)' >ast_h323.h:142: `H323Channel' was not declared in this scope >ast_h323.h:142: parse error before `)' >ast_h323.h:143: `H323Channel' was not declared in this scope >ast_h323.h:143: parse error before `)' >ast_h323.h:153: syntax error before `::' >ast_h323.h:154: syntax error before `::' >ast_h323.h:159: parse error before `}' >ast_h323.cpp:60: syntax error before `*' >ast_h323.cpp: In method `MyProcess::~MyProcess()': >ast_h323.cpp:71: invalid use of undefined type `class MyH323EndPoint' >ast_h323.h:101: forward declaration of `class MyH323EndPoint' >ast_h323.cpp:54: incomplete `endPoint' defined here >ast_h323.cpp: In method `void MyProcess::Main()': >ast_h323.cpp:78: invalid use of undefined type `class MyH323EndPoint' >ast_h323.h:101: forward declaration of `class MyH323EndPoint' >ast_h323.cpp: In method `void ClearCallThread::Main()': >ast_h323.cpp:97: invalid use of undefined type `class MyH323EndPoint' >ast_h323.h:101: forward declaration of `class MyH323EndPoint' >ast_h323.cpp: At top level: >ast_h323.cpp:104: type specifier omitted for parameter >ast_h323.cpp:104: parse error before string constant >ast_h323.cpp:104: ANSI C++ forbids declaration `H323_REGISTER_CAPABILITY' >with no type >ast_h323.cpp:107: invalid use of undefined type `class H323_G7231Capability' >ast_h323.h:70: forward declaration of `class H323_G7231Capability' >ast_h323.cpp: In method `H323_G7231Capability::H323_G7231Capability(int)': >ast_h323.cpp:107: class `H323_G7231Capability' does not have any field named >`H323AudioCapability' >ast_h323.cpp:109: `annexA' undeclared (first use this function) >ast_h323.cpp: At top level: >ast_h323.cpp:113: invalid use of undefined type `class H323_G7231Capability' >ast_h323.h:70: forward declaration of `class H323_G7231Capability' >ast_h323.cpp: In method `enum PObject::Comparison >H323_G7231Capability::Compare(const PObject &) const': >ast_h323.cpp:114: `Comparison' undeclared (first use this function) >ast_h323.cpp:114: parse error before `=' >ast_h323.cpp:115: `result' undeclared (first use this function) >ast_h323.cpp:115: `EqualTo' undeclared (first use this function) >ast_h323.cpp:118: invalid use of undefined type `class H323_G7231Capability' >ast_h323.h:70: forward declaration of `class H323_G7231Capability' >ast_h323.cpp:120: `LessThan' undeclared (first use this function) >ast_h323.cpp:122: `GreaterThan' undeclared (first use this function) >ast_h323.cpp:124: warning: control reaches end of non-void function >`H323_G7231Capability::Compare(const PObject &) const' >ast_h323.cpp: At top level: >ast_h323.cpp:127: invalid use of undefined type `class H323_G7231Capability' >ast_h323.h:70: forward declaration of `class H323_G7231Capability' >ast_h323.cpp: In method `class PObject * H323_G7231Capability::Clone() >const': >ast_h323.cpp:128: type `PObject' is not a base type for type >`H323_G7231Capability' >ast_h323.cpp: At top level: >ast_h323.cpp:133: invalid use of undefined type `class H323_G7231Capability' >ast_h323.h:70: forward declaration of `class H323_G7231Capability' >ast_h323.cpp: In method `class PString H323_G7231Capability::GetFormatName() >const': >ast_h323.cpp:134: `OPAL_G7231_6k3' undeclared (first use this function) >ast_h323.cpp:134: parse error before string constant >ast_h323.cpp:135: warning: control reaches end of non-void function >`H323_G7231Capability::GetFormatName() const' >ast_h323.cpp: At top level: >ast_h323.cpp:139: invalid use of undefined type `class H323_G7231Capability' >ast_h323.h:70: forward declaration of `class H323_G7231Capability' >ast_h323.cpp: In method `unsigned int H323_G7231Capability::GetSubType() >const': >ast_h323.cpp:140: `H245_AudioCapability' undeclared (first use this >function) >ast_h323.cpp:140: parse error before `::' >ast_h323.cpp:141: warning: control reaches end of non-void function >`H323_G7231Capability::GetSubType() const' >ast_h323.cpp: At top level: >ast_h323.cpp:144: `cap' was not declared in this scope >ast_h323.cpp:145: parse error before `)' >ast_h323.cpp:146: invalid use of undefined type `class H323_G7231Capability' >ast_h323.h:70: forward declaration of `class H323_G7231Capability' >ast_h323.cpp: In method `BOOL H323_G7231Capability::OnSendingPDU(...) >const': >ast_h323.cpp:147: `cap' undeclared (first use this function) >ast_h323.cpp:147: parse error before `::' >ast_h323.cpp:149: `H245_AudioCapability_g7231' undeclared (first use this >function) >ast_h323.cpp:149: `g7231' undeclared (first use this function) >ast_h323.cpp:150: `packetSize' undeclared (first use this function) >ast_h323.cpp: At top level: >ast_h323.cpp:157: parse error before `&' >ast_h323.cpp:159: invalid use of undefined type `class H323_G7231Capability' >ast_h323.h:70: forward declaration of `class H323_G7231Capability' >ast_h323.cpp: In method `BOOL H323_G7231Capability::OnReceivedPDU(...)': >ast_h323.cpp:160: parse error before `::' >ast_h323.cpp:163: ANSI C++ forbids declaration `H245_AudioCapability_g7231' >with no type >ast_h323.cpp:163: uninitialized const `H245_AudioCapability_g7231' >ast_h323.cpp:163: parse error before `&' >ast_h323.cpp:163: warning: unused variable `const int >H245_AudioCapability_g7231' >ast_h323.cpp:168: confused by earlier errors, bailing out >{standard input}: Assembler messages: >{standard input}:1382: Error: symbol `GetClass__FUi' is already defined >{standard input}:1412: Error: symbol `IsClass__FPCc' is already defined >{standard input}:1442: Error: symbol `IsDescendant__FPCc' is already defined >{standard input}:1472: Error: symbol `GetClass__FUi' is already defined >{standard input}:1502: Error: symbol `IsClass__FPCc' is already defined >{standard input}:1532: Error: symbol `IsDescendant__FPCc' is already defined >cpp0: output pipe has been closed >make: *** [ast_h323.o] Error 1 >asterisk:/usr/src/asterisk/channels/h323# > > >Any Suguestions, > >Thanks, >Phil > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.515 / Virus Database: 313 - Release Date: 1/09/2003 > > >_______________________________________________ >Asterisk-Users mailing list >[EMAIL PROTECTED] >http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 1/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 1/09/2003 _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users