[Asterisk-Users] asterisk-oh323, compile problems using V0.6.0 or 0.6.1

David Hindmarsh dave at lex.net.au
Thu May 6 22:40:47 MST 2004


Hi

I have recently updates to the latest cvs of asterisk, openh323 and pwlib as recommended.

The OPenh323 and pwlib compile fine.

When compiling the Asterisk-oh323 I get the following errors, I have checked that the envorinment variables are set correctlty as below.

PWLIBDIR=/usr/src/pwlib
OPENH323DIR=/usr/src/openh323
LD_LIBRARY_PATH=/usr/src/pwlib/lib:/usr/src/openh323/lib

g++ (GCC) 3.3.1 (SuSE Linux)

The errors from the compile are below
mipt:/usr/src/asterisk-oh323-0.6.1 # make
for x in wrapper asterisk-driver; do make -C $x all || exit 1 ; done
make: *** No rule to make target `ccflags'.  Stop.
make: *** No rule to make target `ccflags'.  Stop.
make[1]: Entering directory `/usr/src/asterisk-oh323-0.6.1/wrapper'
./check_ver /usr/src/pwlib pwlib
./check_ver /usr/src/openh323 openh323
g++  -Wall -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\"1.7.0\" -DOPENH323VERSION=\"1.14.0\"  -I/usr/include/openssl -I/usr/src/pwlib/include/ptlib/unix -I/usr/src/pwlib/include -I/usr/src/openh323/include -I/usr/src/openh323/include/openh323 -I../asterisk-driver -x c++ -Os -g -c wrapper_misc.cxx -o wrapper_misc.o
In file included from /usr/src/pwlib/include/ptlib.h:172,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/pdirect.h:78: error: parse error before
   `protected'
/usr/src/pwlib/include/ptlib/unix/ptlib/pdirect.h:80: error: syntax error
   before `*' token
In file included from /usr/src/pwlib/include/ptlib.h:184,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/config.h:53: error: parse error before
   `public'
/usr/src/pwlib/include/ptlib/unix/ptlib/config.h:55: error: destructors must be
   member functions
/usr/src/pwlib/include/ptlib/unix/ptlib/config.h:57: error: parse error before
   `protected'
In file included from /usr/src/pwlib/include/ptlib.h:190,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/args.h:121: error: parse error before `{' token
/usr/src/pwlib/include/ptlib/args.h:147: error: parse error before `const'
/usr/src/pwlib/include/ptlib/args.h:156: error: parse error before `const'
/usr/src/pwlib/include/ptlib/args.h:165: error: parse error before `int'
/usr/src/pwlib/include/ptlib/args.h:175: error: parse error before `int'
/usr/src/pwlib/include/ptlib/args.h:190: error: `ostream' was not declared in
   this scope
/usr/src/pwlib/include/ptlib/args.h:191: error: `strm' was not declared in this
   scope
/usr/src/pwlib/include/ptlib/args.h:191: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/args.h:191: error: variable or field `PrintOn'
   declared void
/usr/src/pwlib/include/ptlib/args.h:197: error: `istream' was not declared in
   this scope
/usr/src/pwlib/include/ptlib/args.h:198: error: `strm' was not declared in this
   scope
/usr/src/pwlib/include/ptlib/args.h:198: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/args.h:198: error: variable or field `ReadFrom'
   declared void
/usr/src/pwlib/include/ptlib/args.h:206: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:215: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:246: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/args.h:249: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:254: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/args.h:266: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/args.h:266: error: non-member function `PINDEX
   GetOptionCount(char)' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:270: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/args.h:270: error: non-member function `PINDEX
   GetOptionCount(const char*)' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:273: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:274: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/args.h:274: error: non-member function `PINDEX
   GetOptionCount(...)' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:283: error: non-member function `BOOL
   HasOption(char)' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:287: error: non-member function `BOOL
   HasOption(const char*)' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:290: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:291: error: non-member function `BOOL
   HasOption(...)' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:301: error: syntax error before `(' token
/usr/src/pwlib/include/ptlib/args.h:306: error: syntax error before `(' token
/usr/src/pwlib/include/ptlib/args.h:311: error: syntax error before `(' token
/usr/src/pwlib/include/ptlib/args.h:323: error: non-member function `PINDEX
   GetCount()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:330: error: parse error before `=' token
/usr/src/pwlib/include/ptlib/args.h:339: error: parse error before `)' token
/usr/src/pwlib/include/ptlib/args.h:347: error: syntax error before `operator'
/usr/src/pwlib/include/ptlib/args.h:363: error: `PArgList& operator<<(int)'
   must have an argument of class or enumerated type
/usr/src/pwlib/include/ptlib/args.h:363: error: `PArgList& operator<<(int)'
   must take exactly two arguments
/usr/src/pwlib/include/ptlib/args.h:370: error: `PArgList& operator>>(int)'
   must have an argument of class or enumerated type
/usr/src/pwlib/include/ptlib/args.h:370: error: `PArgList& operator>>(int)'
   must take exactly two arguments
/usr/src/pwlib/include/ptlib/args.h:381: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/args.h:381: error: non-member function `void
   IllegalArgumentIndex(int)' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:388: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:389: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/args.h:389: error: non-member function `void
   UnknownOption(...)' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:397: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:398: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/args.h:398: error: non-member function `void
   MissingArgument(...)' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:401: error: parse error before `protected'
/usr/src/pwlib/include/ptlib/args.h:405: error: 'PString' is used as a type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/args.h:407: error: 'PStringArray' is used as a
   type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/args.h:409: error: 'PIntArray' is used as a type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/args.h:411: error: 'PStringArray' is used as a
   type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/args.h:413: error: 'PIntArray' is used as a type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/args.h:417: error: parse error before `private'
/usr/src/pwlib/include/ptlib/args.h:419: error: non-member function `PINDEX
   GetOptionCountByIndex(int)' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/args.h:420: error: parse error before `,' token
/usr/src/pwlib/include/ptlib/args.h:428: error: base class `PArgList' has
   incomplete type
/usr/src/pwlib/include/ptlib/args.h:429: error: ISO C++ forbids declaration of
   `PCLASSINFO' with no type
/usr/src/pwlib/include/ptlib/args.h:454: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:465: error: ISO C++ forbids declaration of
   `PString' with no type
/usr/src/pwlib/include/ptlib/args.h:465: error: `PString' declared as a
   `virtual' field
/usr/src/pwlib/include/ptlib/args.h:465: error: parse error before `(' token
/usr/src/pwlib/include/ptlib/args.h:470: error: ISO C++ forbids declaration of
   `PString' with no type
/usr/src/pwlib/include/ptlib/args.h:470: error: `PString' declared as a
   `virtual' field
/usr/src/pwlib/include/ptlib/args.h:470: error: declaration of `int
   PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:465: error: conflicts with previous
   declaration `int PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:470: error: parse error before `(' token
/usr/src/pwlib/include/ptlib/args.h:475: error: ISO C++ forbids declaration of
   `PString' with no type
/usr/src/pwlib/include/ptlib/args.h:475: error: `PString' declared as a
   `virtual' field
/usr/src/pwlib/include/ptlib/args.h:475: error: declaration of `int
   PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:465: error: conflicts with previous
   declaration `int PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:475: error: parse error before `(' token
/usr/src/pwlib/include/ptlib/args.h:490: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:496: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:501: error: ISO C++ forbids declaration of
   `PString' with no type
/usr/src/pwlib/include/ptlib/args.h:501: error: declaration of `const int
   PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:465: error: conflicts with previous
   declaration `int PConfigArgs::PString'
/usr/src/pwlib/include/ptlib/args.h:501: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:506: error: semicolon missing after
   declaration of `PConfigArgs'
/usr/src/pwlib/include/ptlib/args.h: In member function `void
   PConfigArgs::SetSectionName(...)':
/usr/src/pwlib/include/ptlib/args.h:497: error: `sectionName' undeclared (first
   use this function)
/usr/src/pwlib/include/ptlib/args.h:497: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
/usr/src/pwlib/include/ptlib/args.h:497: error: `section' undeclared (first use
   this function)
/usr/src/pwlib/include/ptlib/args.h: At global scope:
/usr/src/pwlib/include/ptlib/args.h:507: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/args.h:508: error: ISO C++ forbids defining types
   within return type
/usr/src/pwlib/include/ptlib/args.h:508: error: two or more data types in
   declaration of `SetNegationPrefix'
/usr/src/pwlib/include/ptlib/args.h:508: error: semicolon missing after
   declaration of `class PConfigArgs'
/usr/src/pwlib/include/ptlib/args.h: In function `int SetNegationPrefix(...)':
/usr/src/pwlib/include/ptlib/args.h:508: error: `negationPrefix' undeclared
   (first use this function)
/usr/src/pwlib/include/ptlib/args.h:508: error: `prefix' undeclared (first use
   this function)
/usr/src/pwlib/include/ptlib/args.h: At global scope:
/usr/src/pwlib/include/ptlib/args.h:513: error: syntax error before `&' token
/usr/src/pwlib/include/ptlib/args.h:519: error: 'PConfig' is used as a type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/args.h:520: error: 'PString' is used as a type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/args.h:521: error: 'PString' is used as a type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/args.h:522: error: parse error before `}' token
In file included from /usr/src/pwlib/include/ptlib.h:196,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:156: error: parse error before
   `&' token
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:162: error: parse error before
   `&' token
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:165: error: non-member
   function `void PXAbortBlock()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:169: error: parse error before
   `public'
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:179: error: 'Priority' is used
   as a type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:191: error: `friend' can only
   be specified inside a class
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:192: error: friend declaration
   not in class definition
In file included from /usr/src/pwlib/include/ptlib.h:202,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:124: error: `PXFdDict' was
   not declared in this scope
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:124: error: `POrdinalKey'
   was not declared in this scope
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:124: error: `PThread' was
   not declared in this scope
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:124: error: ISO C++ forbids
   declaration of `PDICTIONARY' with no type
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:124: error: initializer list
   being treated as compound expression
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:129: error: parse error
   before `public'
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:131: error: `friend' can
   only be specified inside a class
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:132: error: friend
   declaration not in class definition
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:133: error: `friend' can
   only be specified inside a class
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:135: error: destructors must
   be member functions
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:137: error: parse error
   before `)' token
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:138: error: non-member
   function `char** PXGetArgv()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: In function `char**
   PXGetArgv()':
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:138: error: `p_argv'
   undeclared (first use this function)
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: At global scope:
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:139: error: non-member
   function `int PXGetArgc()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: In function `int
   PXGetArgc()':
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:139: error: `p_argc'
   undeclared (first use this function)
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: At global scope:
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:140: error: non-member
   function `char** PXGetEnvp()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: In function `char**
   PXGetEnvp()':
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:140: error: `p_envp'
   undeclared (first use this function)
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h: At global scope:
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:142: error: friend
   declaration not in class definition
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:143: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:144: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:148: error: parse error
   before `&' token
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:154: error: parse error
   before `&' token
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:154: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:157: error: parse error
   before `protected'
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:159: error: syntax error
   before `*' token
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:169: error: 'ThreadDict' is
   used as a type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:170: error: 'PMutex' is used
   as a type, but is not defined as a type.
In file included from /usr/src/pwlib/include/ptlib.h:208,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:101: error: parse error
   before `public'
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:103: error: non-member
   function `unsigned int GetMaxCount()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h: In function `unsigned int
   GetMaxCount()':
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:103: error: `maxCountVar'
   undeclared (first use this function)
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h: At global scope:
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:105: error: parse error
   before `protected'
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:107: error: `unsigned int
   maxCountVar' used prior to declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:115: error: non-member
   function `PXClass GetSemClass()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:117: error: parse error
   before `protected'
In file included from /usr/src/pwlib/include/ptlib.h:214,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:122: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:123: error: parse error before
   `&' token
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:123: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:124: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:125: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:125: error: non-member function
   `BOOL WillBlock()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:127: error: parse error before
   `protected'
In file included from /usr/src/pwlib/include/ptlib.h:220,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:62: error: parse error
   before `&' token
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:62: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:63: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:64: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:64: error: non-member
   function `BOOL WillBlock()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:65: error: parse error
   before `private'
In file included from /usr/src/pwlib/include/ptlib/syncthrd.h:83,
                 from /usr/src/pwlib/include/ptlib.h:226,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:122: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:123: error: parse error before
   `&' token
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:123: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:124: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:125: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:125: error: non-member function
   `BOOL WillBlock()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:127: error: parse error before
   `protected'
In file included from /usr/src/pwlib/include/ptlib/syncthrd.h:84,
                 from /usr/src/pwlib/include/ptlib.h:226,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:62: error: parse error
   before `&' token
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:62: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:63: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:64: error: virtual outside
   class declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:64: error: non-member
   function `BOOL WillBlock()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:65: error: parse error
   before `private'
In file included from /usr/src/pwlib/include/ptlib.h:226,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/syncthrd.h:108: error: parse error before `{'
   token
/usr/src/pwlib/include/ptlib/syncthrd.h:124: error: parse error before `&'
   token
/usr/src/pwlib/include/ptlib/syncthrd.h:133: error: parse error before `
   protected'
/usr/src/pwlib/include/ptlib/syncthrd.h:144: error: parse error before `{'
   token
/usr/src/pwlib/include/ptlib/syncthrd.h:158: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/syncthrd.h:163: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/syncthrd.h:163: error: function `BOOL Condition()'
   is initialized like a variable
/usr/src/pwlib/include/ptlib/syncthrd.h:169: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/syncthrd.h:171: error: parse error before `
   protected'
/usr/src/pwlib/include/ptlib/syncthrd.h:179: error: base class `PCondMutex' has
   incomplete type
/usr/src/pwlib/include/ptlib/syncthrd.h:180: error: ISO C++ forbids declaration
   of `PCLASSINFO' with no type
/usr/src/pwlib/include/ptlib/syncthrd.h:214: error: `ostream' was not declared
   in this scope
/usr/src/pwlib/include/ptlib/syncthrd.h:214: error: `strm' was not declared in
   this scope
/usr/src/pwlib/include/ptlib/syncthrd.h:214: error: invalid data member
   initialization
/usr/src/pwlib/include/ptlib/syncthrd.h:214: error: (use `=' to initialize
   static data members)
/usr/src/pwlib/include/ptlib/syncthrd.h:214: error: variable or field `PrintOn'
   declared void
/usr/src/pwlib/include/ptlib/syncthrd.h:292: error: parse error before `{'
   token
/usr/src/pwlib/include/ptlib/syncthrd.h:343: error: parse error before `
   protected'
/usr/src/pwlib/include/ptlib/syncthrd.h:345: error: 'PMutex' is used as a type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:347: error: 'PMutex' is used as a type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:349: error: 'PSemaphore' is used as a
   type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:350: error: 'PMutex' is used as a type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:354: error: parse error before `{'
   token
/usr/src/pwlib/include/ptlib/syncthrd.h:357: error: redefinition of `unsigned
   int readerCount'
/usr/src/pwlib/include/ptlib/syncthrd.h:346: error: `unsigned int readerCount'
   previously declared here
/usr/src/pwlib/include/ptlib/syncthrd.h:358: error: redefinition of `unsigned
   int writerCount'
/usr/src/pwlib/include/ptlib/syncthrd.h:351: error: `unsigned int writerCount'
   previously declared here
/usr/src/pwlib/include/ptlib/syncthrd.h:359: error: parse error before `}'
   token
/usr/src/pwlib/include/ptlib/syncthrd.h:360: error: `POrdinalKey' was not
   declared in this scope
/usr/src/pwlib/include/ptlib/syncthrd.h:360: error: 'PDictionary' is used as a
   type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:361: error: 'PMutex' is used as a type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:363: error: non-member function `Nest*
   GetNest()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/syncthrd.h:368: error: parse error before `}'
   token
In file included from /usr/src/pwlib/include/ptlib.h:232,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/dynalink.h:37: error: parse error
   before `protected'
In file included from /usr/src/pwlib/include/ptlib.h:238,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:116: error: 'PString' is used
   as a type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:117: error: 'PMutex' is used
   as a type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:118: error: 'PXBlockType' is
   used as a type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:119: error: syntax error
   before `*' token
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:120: error: syntax error
   before `*' token
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:121: error: 'PMutex' is used
   as a type, but is not defined as a type.
In file included from /usr/src/pwlib/include/ptlib.h:244,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/indchan.h:76: error: parse error before `{' token
/usr/src/pwlib/include/ptlib/indchan.h:89: error: destructors must be member
   functions
/usr/src/pwlib/include/ptlib/indchan.h:102: error: parse error before `&' token
/usr/src/pwlib/include/ptlib/indchan.h:116: error: syntax error before `('
   token
/usr/src/pwlib/include/ptlib/indchan.h:124: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/indchan.h:133: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/indchan.h:133: error: non-member function `BOOL
   IsOpen()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/indchan.h:153: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/indchan.h:172: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/indchan.h:183: error: `ShutdownValue' was not
   declared in this scope
/usr/src/pwlib/include/ptlib/indchan.h:183: error: parse error before `)' token
/usr/src/pwlib/include/ptlib/indchan.h:184: error: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/indchan.h:195: error: syntax error before `*'
   token
/usr/src/pwlib/include/ptlib/indchan.h:205: error: syntax error before `*'
   token
/usr/src/pwlib/include/ptlib/indchan.h:212: error: syntax error before `('
   token
/usr/src/pwlib/include/ptlib/indchan.h:227: error: `PChannel' was not declared
   in this scope
/usr/src/pwlib/include/ptlib/indchan.h:229: error: `channel' was not declared
   in this scope
/usr/src/pwlib/include/ptlib/indchan.h:242: error: `PChannel' was not declared
   in this scope
/usr/src/pwlib/include/ptlib/indchan.h:242: error: `channel' was not declared
   in this scope
/usr/src/pwlib/include/ptlib/indchan.h:244: error: parse error before `=' token
/usr/src/pwlib/include/ptlib/indchan.h:245: error: `BOOL Open(...)' redeclared
   as different kind of symbol
/usr/src/pwlib/include/ptlib/indchan.h:229: error: previous declaration of `
   BOOL Open'
/usr/src/pwlib/include/ptlib/indchan.h:229: error: previous non-function
   declaration `BOOL Open'
/usr/src/pwlib/include/ptlib/indchan.h:245: error: conflicts with function
   declaration `BOOL Open(...)'
/usr/src/pwlib/include/ptlib/indchan.h:259: error: `PChannel' was not declared
   in this scope
/usr/src/pwlib/include/ptlib/indchan.h:259: error: `readChannel' was not
   declared in this scope
/usr/src/pwlib/include/ptlib/indchan.h:261: error: `PChannel' was not declared
   in this scope
/usr/src/pwlib/include/ptlib/indchan.h:261: error: `writeChannel' was not
   declared in this scope
/usr/src/pwlib/include/ptlib/indchan.h:263: error: parse error before `=' token
/usr/src/pwlib/include/ptlib/indchan.h:265: error: `BOOL Open(...)' redeclared
   as different kind of symbol
/usr/src/pwlib/include/ptlib/indchan.h:229: error: previous declaration of `
   BOOL Open'
/usr/src/pwlib/include/ptlib/indchan.h:229: error: previous non-function
   declaration `BOOL Open'
/usr/src/pwlib/include/ptlib/indchan.h:265: error: conflicts with function
   declaration `BOOL Open(...)'
/usr/src/pwlib/include/ptlib/indchan.h:272: error: syntax error before `*'
   token
/usr/src/pwlib/include/ptlib/indchan.h:280: error: `PChannel' was not declared
   in this scope
/usr/src/pwlib/include/ptlib/indchan.h:280: error: `channel' was not declared
   in this scope
/usr/src/pwlib/include/ptlib/indchan.h:282: error: parse error before `=' token
/usr/src/pwlib/include/ptlib/indchan.h:290: error: syntax error before `*'
   token
/usr/src/pwlib/include/ptlib/indchan.h:298: error: `PChannel' was not declared
   in this scope
/usr/src/pwlib/include/ptlib/indchan.h:298: error: `channel' was not declared
   in this scope
/usr/src/pwlib/include/ptlib/indchan.h:300: error: parse error before `=' token
/usr/src/pwlib/include/ptlib/indchan.h:320: error: syntax error before `*'
   token
/usr/src/pwlib/include/ptlib/indchan.h:326: error: syntax error before `*'
   token
/usr/src/pwlib/include/ptlib/indchan.h:332: error: aggregate `PReadWriteMutex
   channelPointerMutex' has incomplete type and cannot be defined
/usr/src/pwlib/include/ptlib/indchan.h:333: error: parse error before `}' token
In file included from /usr/src/pwlib/include/ptlib.h:274,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/sound.h:106: error: parse error before
   `public'
/usr/src/pwlib/include/ptlib/unix/ptlib/sound.h:111: error: parse error before
   `protected'
/usr/src/pwlib/include/ptlib/unix/ptlib/sound.h:114: error: syntax error before
   `;' token
/usr/src/pwlib/include/ptlib/unix/ptlib/sound.h:116: error: 'Directions' is
   used as a type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/unix/ptlib/sound.h:117: error: 'PString' is used
   as a type, but is not defined as a type.
In file included from /usr/src/pwlib/include/ptlib.h:279,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/video.h:63: error: parse error before `
   public'
/usr/src/pwlib/include/ptlib/unix/ptlib/video.h:66: error: syntax error before
   `(' token
/usr/src/pwlib/include/ptlib/unix/ptlib/video.h:69: error: parse error before `
   )' token
In file included from wrapper_misc.cxx:34:
wrapper_misc.hxx:61: error: parse error before `{' token
wrapper_misc.hxx:71: error: parse error before `protected'
wrapper_misc.cxx:50: error: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: error: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In constructor `WrapMutex::WrapMutex(char*)':
wrapper_misc.cxx:51: error: class `WrapMutex' does not have any field named `
   PMutex'
wrapper_misc.cxx:53: error: `name' undeclared (first use this function)
wrapper_misc.cxx:53: error: `PString' undeclared (first use this function)
wrapper_misc.cxx:54: error: `cout' undeclared (first use this function)
wrapper_misc.cxx:54: error: `Class' undeclared (first use this function)
wrapper_misc.cxx:54: error: `endl' undeclared (first use this function)
wrapper_misc.cxx: At global scope:
wrapper_misc.cxx:58: error: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: error: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In member function `BOOL WrapMutex::Wait(const char*, int,
   const char*, int)':
wrapper_misc.cxx:59: error: `PTimeInterval' undeclared (first use this
   function)
wrapper_misc.cxx:59: error: parse error before `;' token
wrapper_misc.cxx:62: error: `timeout' undeclared (first use this function)
wrapper_misc.cxx:67: error: `Class' undeclared (first use this function)
wrapper_misc.cxx:68: error: `PMutex' undeclared (first use this function)
wrapper_misc.cxx:68: error: parse error before `::' token
wrapper_misc.cxx: At global scope:
wrapper_misc.cxx:72: error: parse error before `else'
wrapper_misc.cxx:80: error: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: error: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In member function `void WrapMutex::Signal(const char*, int,
   const char*)':
wrapper_misc.cxx:81: error: parse error before `::' token
wrapper_misc.cxx:83: error: `Class' undeclared (first use this function)
/usr/src/pwlib/include/ptlib/indchan.h: At global scope:
/usr/src/pwlib/include/ptlib/indchan.h:332: error: storage size of `
   channelPointerMutex' isn't known
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:176: warning: `void
   PX_ThreadEnd(void*)' declared `static' but never defined
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:147: warning: `void
   PXShowSystemWarning(int)' declared `static' but never defined
/usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:148: warning: `void
   PXShowSystemWarning(...)' declared `static' but never defined
make[1]: *** [wrapper_misc.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-oh323-0.6.1/wrapper'
make: *** [subdirs_all] Error 1

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Michael
Niehren
Sent: Friday, 7 May 2004 3:56 AM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] asterisk-oh323, new version 0.6.1


Still one-way audio problems with version V0.6.1.

Hi Michael,

using asterisk as ISDN2H323-Gateway. Call from ISDN - Asterisk - H323 is now
ok, but in the other direction there is still only one-way audio. I hear 
nothing on the H323 side. 
The 2. thing is after cleareing the 1. Call i try again to get the phone 
number, but asterisk did not dial as you can see in the log.

Here is the log, maybe it help's:

Asterisk Ready.
*CLI>     -- Executing Dial("OH323/R32", "Modem/ttyI1:892877") in new stack
    -- Called ttyI1:892877
    -- Modem[i4l]/ttyI1 answered OH323/R32
May  6 19:46:31 DEBUG[11276]: channel.c:2544 ast_channel_bridge: Got a 
FRAME_CONTROL (4) frame on channel OH323/R32
May  6 19:46:31 DEBUG[11276]: channel.c:2606 ast_channel_bridge: Bridge stops 
bridging channels OH323/R32 and Modem[i4l]/ttyI1
May  6 19:46:31 DEBUG[11276]: res_parking.c:423 ast_bridge_call: Read from 
OH323/R32 (4,4)
May  6 19:46:46 DEBUG[11276]: chan_modem_i4l.c:394 i4l_read: Value of escape 
is ^ (3)...
May  6 19:46:46 DEBUG[11276]: channel.c:2536 ast_channel_bridge: Didn't get a 
frame from channel: Modem[i4l]/ttyI1
May  6 19:46:46 DEBUG[11276]: channel.c:2606 ast_channel_bridge: Bridge stops 
bridging channels OH323/R32 and Modem[i4l]/ttyI1
    -- Hungup 'Modem[i4l]/ttyI1'
  == Spawn extension (voip-h323, s, 1) exited non-zero on 'OH323/R32'
  0:26.435          H225 Answer:80fab28 H225    Read error (0): 
  0:26.505                 H323 Cleaner H323    Connection 
ip$192.168.70.1:42812/32 terminated.
    -- H.323 call 'ip$192.168.70.1:42812/32' cleared, reason 1 (Cleared by 
local user)
    -- Hungup 'OH323/R32'

--> SECOND CALL
    -- Executing Dial("OH323/R35", "Modem/ttyI1:") in new stack
    -- Called ttyI1:
  3:59.764          H225 Answer:80f9958 H225    Read error (0): 
  3:59.794                 H323 Cleaner H323    Connection 
ip$192.168.70.1:42825/35 terminated.
    -- H.323 call 'ip$192.168.70.1:42825/35' cleared, reason 7 (Remote user 
stopped calling)
    -- Hungup 'Modem[i4l]/ttyI1'
  == Spawn extension (voip-h323, s, 1) exited non-zero on 'OH323/R35'
    -- Hungup 'OH323/R35'


Greetings,
  Michael

Am Donnerstag, 6. Mai 2004 18:52 schrieb Michael Manousos:
> 
> Hello all,
> 
> This new version (0.6.1) of asterisk-oh323 fixes the "one-way audio"
> problem of the previous release.
> 
> Download from the usual location:
> http://www.inaccessnetworks.com/projects/asterisk-oh323
> 
> Regards,
> Michael.
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> 

-- 
Michael Niehren              __   _       powered by
                            / /  (_)__  __ ____  __
                           / /__/ / _ \/ // /\ \/ /
                          /____/_/_//_/\_,_/ /_/\_\

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   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.676 / Virus Database: 438 - Release Date: 3/05/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.676 / Virus Database: 438 - Release Date: 3/05/2004
 




More information about the asterisk-users mailing list