[ previous ] [ next ] [ threads ]
 To :  isamar@i...
 From :  "Stanislav Zahariev" <sofit@2...>
 Subject :  Re: [yate] Yate 1.0 w/ h323chan - Compilation Problem
 Date :  Wed, 9 Aug 2006 16:05:56 +0300 (EEST)
Try with this ones:

http://services.phpforums.org/software/openh323-v1_19_0_1-src-tar.gz
http://services.phpforums.org/software/pwlib-v1_11_0-src-tar.gz

I've compiled them successfully on my FC5 x86 boxes (and as well yate of
course). Before doing that remove any presence of pwlib and openh323
(first with yum if you have any then do a search).

On Wed, August 9, 2006 6:16, isamar@i... said:
>
> Andy,
>
> I already used latest www.voxgratia.org and no success.
> More specifically 1.18, Pwlib 1.10.0(I tried 1.9.0 too). They compile ok
> but yate:
> (I am making it with ./configure --without-mysql
> --with-pwlib=/usr/src/pwlib --with-openh323=/usr/src/openh323;make)
>
>
> g++ -Wall   -I.. -I.. -O2 -fno-check-new  -fno-exceptions -fPIC
> -DHAVE_GCC_FORMAT_CHECK  -export-dynamic -shared
> -Wl,--unresolved-symbols=ignore-in-shared-libs
> -Wl,--retain-symbols-file,/dev/null -L.. -lyate -o h323chan.yate
> -DPHAS_TEMPLATES -D_REENTRANT -DP_HAS_SEMAPHORES
> -I/usr/src/pwlib/include/ptlib/unix/ptlib
> -I/usr/src/pwlib/include/ptlib/unix -I/usr/src/pwlib/include/ptlib
> -I/usr/src/openh323/include h323chan.cpp -L/usr/src/openh323/lib
> -lh323_linux_x86_r -L/usr/src/pwlib/lib -lpt_linux_x86_r
> In file included from /usr/local/include/ptlib.h:181,
>                   from h323chan.cpp:31:
> /usr/src/pwlib/include/ptlib/unix/ptlib/pdirect.h:78: error: syntax error
>     before `protected'
> /usr/src/pwlib/include/ptlib/unix/ptlib/pdirect.h:80: error: syntax error
>     before `*' token
> In file included from /usr/local/include/ptlib.h:193,
>                   from h323chan.cpp:31:
> /usr/src/pwlib/include/ptlib/unix/ptlib/config.h:53: error: syntax 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: syntax error
> before
>     `protected'
> In file included from /usr/local/include/ptlib.h:199,
>                   from h323chan.cpp:31:
> /usr/local/include/ptlib/args.h:124: error: syntax error before `{' token
> /usr/local/include/ptlib/args.h:150: error: syntax error before `const'
> /usr/local/include/ptlib/args.h:159: error: syntax error before `const'
> /usr/local/include/ptlib/args.h:168: error: syntax error before `int'
> /usr/local/include/ptlib/args.h:178: error: syntax error before `int'
> /usr/local/include/ptlib/args.h:193: error: `ostream' was not declared in
> this
>     scope
> /usr/local/include/ptlib/args.h:194: error: `strm' was not declared in
> this
>     scope
> /usr/local/include/ptlib/args.h:194: error: virtual outside class
> declaration
> /usr/local/include/ptlib/args.h:194: error: variable or field `PrintOn'
>     declared void
> /usr/local/include/ptlib/args.h:200: error: `istream' was not declared in
> this
>     scope
> /usr/local/include/ptlib/args.h:201: error: `strm' was not declared in
> this
>     scope
> /usr/local/include/ptlib/args.h:201: error: virtual outside class
> declaration
> /usr/local/include/ptlib/args.h:201: error: variable or field `ReadFrom'
>     declared void
> /usr/local/include/ptlib/args.h:209: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:218: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:249: error: virtual outside class
> declaration
> /usr/local/include/ptlib/args.h:252: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:257: error: virtual outside class
> declaration
> /usr/local/include/ptlib/args.h:269: error: virtual outside class
> declaration
> /usr/local/include/ptlib/args.h:269: error: non-member function `PINDEX
>     GetOptionCount(char)' cannot have `const' method qualifier
> /usr/local/include/ptlib/args.h:273: error: virtual outside class
> declaration
> /usr/local/include/ptlib/args.h:273: error: non-member function `PINDEX
>     GetOptionCount(const char*)' cannot have `const' method qualifier
> /usr/local/include/ptlib/args.h:276: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:277: error: virtual outside class
> declaration
> /usr/local/include/ptlib/args.h:277: error: non-member function `PINDEX
>     GetOptionCount(...)' cannot have `const' method qualifier
> /usr/local/include/ptlib/args.h:286: error: non-member function `BOOL
>     HasOption(char)' cannot have `const' method qualifier
> /usr/local/include/ptlib/args.h:290: error: non-member function `BOOL
>     HasOption(const char*)' cannot have `const' method qualifier
> /usr/local/include/ptlib/args.h:293: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:294: error: non-member function `BOOL
>     HasOption(...)' cannot have `const' method qualifier
> /usr/local/include/ptlib/args.h:304: error: syntax error before `(' token
> /usr/local/include/ptlib/args.h:309: error: syntax error before `(' token
> /usr/local/include/ptlib/args.h:314: error: syntax error before `(' token
> /usr/local/include/ptlib/args.h:326: error: non-member function `PINDEX
>     GetCount()' cannot have `const' method qualifier
> /usr/local/include/ptlib/args.h:333: error: syntax error before `=' token
> /usr/local/include/ptlib/args.h:342: error: syntax error before `)' token
> /usr/local/include/ptlib/args.h:350: error: syntax error before `operator'
> /usr/local/include/ptlib/args.h:366: error: `PArgList& operator<<(int)'
> must
>     have an argument of class or enumerated type
> /usr/local/include/ptlib/args.h:366: error: `PArgList& operator<<(int)'
> must
>     take exactly two arguments
> /usr/local/include/ptlib/args.h:373: error: `PArgList& operator>>(int)'
> must
>     have an argument of class or enumerated type
> /usr/local/include/ptlib/args.h:373: error: `PArgList& operator>>(int)'
> must
>     take exactly two arguments
> /usr/local/include/ptlib/args.h:384: error: virtual outside class
> declaration
> /usr/local/include/ptlib/args.h:384: error: non-member function `void
>     IllegalArgumentIndex(int)' cannot have `const' method qualifier
> /usr/local/include/ptlib/args.h:391: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:392: error: virtual outside class
> declaration
> /usr/local/include/ptlib/args.h:392: error: non-member function `void
>     UnknownOption(...)' cannot have `const' method qualifier
> /usr/local/include/ptlib/args.h:400: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:401: error: virtual outside class
> declaration
> /usr/local/include/ptlib/args.h:401: error: non-member function `void
>     MissingArgument(...)' cannot have `const' method qualifier
> /usr/local/include/ptlib/args.h:404: error: syntax error before
> `protected'
> /usr/local/include/ptlib/args.h:408: error: 'PString' is used as a type,
> but is
>     not defined as a type.
> /usr/local/include/ptlib/args.h:410: error: 'PStringArray' is used as a
> type,
>     but is not defined as a type.
> /usr/local/include/ptlib/args.h:412: error: 'PIntArray' is used as a type,
> but
>     is not defined as a type.
> /usr/local/include/ptlib/args.h:414: error: 'PStringArray' is used as a
> type,
>     but is not defined as a type.
> /usr/local/include/ptlib/args.h:416: error: 'PIntArray' is used as a type,
> but
>     is not defined as a type.
> /usr/local/include/ptlib/args.h:420: error: syntax error before `private'
> /usr/local/include/ptlib/args.h:422: error: non-member function `PINDEX
>     GetOptionCountByIndex(int)' cannot have `const' method qualifier
> /usr/local/include/ptlib/args.h:423: error: syntax error before `,' token
> /usr/local/include/ptlib/args.h:433: error: base class `PArgList' has
>     incomplete type
> /usr/local/include/ptlib/args.h:459: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:470: error: `PString' declared as a
> `virtual'
>     field
> /usr/local/include/ptlib/args.h:470: error: syntax error before `(' token
> /usr/local/include/ptlib/args.h:475: error: `PString' declared as a
> `virtual'
>     field
> /usr/local/include/ptlib/args.h:475: error: declaration of `int
>     PConfigArgs::PString'
> /usr/local/include/ptlib/args.h:470: error: conflicts with previous
> declaration
>     `int PConfigArgs::PString'
> /usr/local/include/ptlib/args.h:475: error: syntax error before `(' token
> /usr/local/include/ptlib/args.h:480: error: `PString' declared as a
> `virtual'
>     field
> /usr/local/include/ptlib/args.h:480: error: declaration of `int
>     PConfigArgs::PString'
> /usr/local/include/ptlib/args.h:470: error: conflicts with previous
> declaration
>     `int PConfigArgs::PString'
> /usr/local/include/ptlib/args.h:480: error: syntax error before `(' token
> /usr/local/include/ptlib/args.h:495: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:501: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:506: error: declaration of `const int
>     PConfigArgs::PString'
> /usr/local/include/ptlib/args.h:470: error: conflicts with previous
> declaration
>     `int PConfigArgs::PString'
> /usr/local/include/ptlib/args.h:506: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:511: error: semicolon missing after
> declaration
>     of `PConfigArgs'
> /usr/local/include/ptlib/args.h: In member function `void
>     PConfigArgs::SetSectionName(...)':
> /usr/local/include/ptlib/args.h:502: error: `sectionName' undeclared
> (first use
>     this function)
> /usr/local/include/ptlib/args.h:502: error: (Each undeclared identifier is
>     reported only once for each function it appears in.)
> /usr/local/include/ptlib/args.h:502: error: `section' undeclared (first
> use
>     this function)
> /usr/local/include/ptlib/args.h: At global scope:
> /usr/local/include/ptlib/args.h:512: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:513: error: ISO C++ forbids defining types
>     within return type
> /usr/local/include/ptlib/args.h:513: error: two or more data types in
>     declaration of `SetNegationPrefix'
> /usr/local/include/ptlib/args.h:513: error: semicolon missing after
> declaration
>     of `class PConfigArgs'
> /usr/local/include/ptlib/args.h: In function `int SetNegationPrefix(...)':
> /usr/local/include/ptlib/args.h:513: error: `negationPrefix' undeclared
> (first
>     use this function)
> /usr/local/include/ptlib/args.h:513: error: `prefix' undeclared (first use
> this
>     function)
> /usr/local/include/ptlib/args.h: At global scope:
> /usr/local/include/ptlib/args.h:518: error: syntax error before `&' token
> /usr/local/include/ptlib/args.h:524: error: 'PConfig' is used as a type,
> but is
>     not defined as a type.
> /usr/local/include/ptlib/args.h:525: error: 'PString' is used as a type,
> but is
>     not defined as a type.
> /usr/local/include/ptlib/args.h:526: error: 'PString' is used as a type,
> but is
>     not defined as a type.
> /usr/local/include/ptlib/args.h:527: error: syntax error before `}' token
> In file included from /usr/local/include/ptlib.h:205,
>                   from h323chan.cpp:31:
> /usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:165: error: syntax error
>     before `&' token
> /usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:167: error: non-member
>     function `void PXAbortBlock()' cannot have `const' method qualifier
> /usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:171: error: syntax error
>     before `public'
> /usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:181: error: 'Priority' is
> used
>     as a type, but is not defined as a type.
> /usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:193: error: `friend' can
> only
>     be specified inside a class
> /usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:194: error: friend
> declaration
>     not in class definition
> In file included from /usr/local/include/ptlib.h:211,
>                   from h323chan.cpp:31:
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:127: error: `PXFdDict'
> was
>     not declared in this scope
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:127: error:
> `POrdinalKey'
>     was not declared in this scope
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:127: error: `PThread'
> was
>     not declared in this scope
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:127: error: initializer
> list
>     being treated as compound expression
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:132: error: syntax
> error
>     before `public'
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:134: error: `friend'
> can
>     only be specified inside a class
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:135: error: friend
>     declaration not in class definition
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:136: error: `friend'
> can
>     only be specified inside a class
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:138: error: destructors
> must
>     be member functions
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:140: error: syntax
> error
>     before `)' token
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:141: 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:141: 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:142: 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:142: 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:143: 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:143: 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:145: error: friend
>     declaration not in class definition
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:146: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:147: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:151: error: syntax
> error
>     before `&' token
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:157: error: syntax
> error
>     before `&' token
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:157: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:160: error: syntax
> error
>     before `protected'
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:162: error: syntax
> error
>     before `*' token
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:172: error:
> 'ThreadDict' is
>     used as a type, but is not defined as a type.
> /usr/src/pwlib/include/ptlib/unix/ptlib/pprocess.h:173: error: 'PMutex' is
> used
>     as a type, but is not defined as a type.
> In file included from /usr/local/include/ptlib.h:217,
>                   from h323chan.cpp:31:
> /usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:104: error: syntax
> error
>     before `public'
> /usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:106: 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:106: 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:108: error: syntax
> error
>     before `protected'
> /usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:110: error: `unsigned
> int
>     maxCountVar' used prior to declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:118: error: non-member
>     function `PXClass GetSemClass()' cannot have `const' method qualifier
> /usr/src/pwlib/include/ptlib/unix/ptlib/semaphor.h:120: error: syntax
> error
>     before `protected'
> In file included from /usr/local/include/ptlib.h:223,
>                   from h323chan.cpp:31:
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:125: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:126: error: syntax error
> before
>     `&' token
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:126: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:127: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:128: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:128: error: non-member
> function
>     `BOOL WillBlock()' cannot have `const' method qualifier
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:130: error: syntax error
> before
>     `protected'
> In file included from /usr/local/include/ptlib.h:229,
>                   from h323chan.cpp:31:
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:65: error: syntax
> error
>     before `&' token
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:65: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:66: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:67: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:67: error: non-member
>     function `BOOL WillBlock()' cannot have `const' method qualifier
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:68: error: syntax
> error
>     before `private'
> In file included from /usr/local/include/ptlib/syncthrd.h:83,
>                   from /usr/local/include/ptlib.h:235,
>                   from h323chan.cpp:31:
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:125: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:126: error: syntax error
> before
>     `&' token
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:126: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:127: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:128: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:128: error: non-member
> function
>     `BOOL WillBlock()' cannot have `const' method qualifier
> /usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:130: error: syntax error
> before
>     `protected'
> In file included from /usr/local/include/ptlib/syncthrd.h:84,
>                   from /usr/local/include/ptlib.h:235,
>                   from h323chan.cpp:31:
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:65: error: syntax
> error
>     before `&' token
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:65: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:66: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:67: error: virtual
> outside
>     class declaration
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:67: error: non-member
>     function `BOOL WillBlock()' cannot have `const' method qualifier
> /usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:68: error: syntax
> error
>     before `private'
> In file included from /usr/local/include/ptlib.h:235,
>                   from h323chan.cpp:31:
> /usr/local/include/ptlib/syncthrd.h:108: error: syntax error before `{'
> token
> /usr/local/include/ptlib/syncthrd.h:124: error: syntax error before `&'
> token
> /usr/local/include/ptlib/syncthrd.h:133: error: syntax error before
> `protected'
> /usr/local/include/ptlib/syncthrd.h:144: error: syntax error before `{'
> token
> /usr/local/include/ptlib/syncthrd.h:158: error: virtual outside class
>     declaration
> /usr/local/include/ptlib/syncthrd.h:163: error: virtual outside class
>     declaration
> /usr/local/include/ptlib/syncthrd.h:163: error: function `BOOL
> Condition()' is
>     initialized like a variable
> /usr/local/include/ptlib/syncthrd.h:169: error: virtual outside class
>     declaration
> /usr/local/include/ptlib/syncthrd.h:171: error: syntax error before
> `protected'
> /usr/local/include/ptlib/syncthrd.h:179: error: base class `PCondMutex'
> has
>     incomplete type
> /usr/local/include/ptlib/syncthrd.h:214: error: `ostream' was not declared
> in
>     this scope
> /usr/local/include/ptlib/syncthrd.h:214: error: `strm' was not declared in
> this
>     scope
> /usr/local/include/ptlib/syncthrd.h:214: error: invalid data member
>     initialization
> /usr/local/include/ptlib/syncthrd.h:214: error: (use `=' to initialize
> static
>     data members)
> /usr/local/include/ptlib/syncthrd.h:214: error: variable or field
> `PrintOn'
>     declared void
> /usr/local/include/ptlib/syncthrd.h:292: error: syntax error before `{'
> token
> /usr/local/include/ptlib/syncthrd.h:343: error: syntax error before
> `protected'
> /usr/local/include/ptlib/syncthrd.h:345: error: 'PMutex' is used as a
> type, but
>     is not defined as a type.
> /usr/local/include/ptlib/syncthrd.h:347: error: 'PMutex' is used as a
> type, but
>     is not defined as a type.
> /usr/local/include/ptlib/syncthrd.h:349: error: 'PSemaphore' is used as a
> type,
>     but is not defined as a type.
> /usr/local/include/ptlib/syncthrd.h:350: error: 'PMutex' is used as a
> type, but
>     is not defined as a type.
> /usr/local/include/ptlib/syncthrd.h:354: error: syntax error before `{'
> token
> /usr/local/include/ptlib/syncthrd.h:357: error: redefinition of `unsigned
> int
>     readerCount'
> /usr/local/include/ptlib/syncthrd.h:346: error: `unsigned int readerCount'
>     previously declared here
> /usr/local/include/ptlib/syncthrd.h:358: error: redefinition of `unsigned
> int
>     writerCount'
> /usr/local/include/ptlib/syncthrd.h:351: error: `unsigned int writerCount'
>     previously declared here
> /usr/local/include/ptlib/syncthrd.h:359: error: syntax error before `}'
> token
> /usr/local/include/ptlib/syncthrd.h:360: error: `POrdinalKey' was not
> declared
>     in this scope
> /usr/local/include/ptlib/syncthrd.h:360: error: 'PDictionary' is used as a
>     type, but is not defined as a type.
> /usr/local/include/ptlib/syncthrd.h:361: error: 'PMutex' is used as a
> type, but
>     is not defined as a type.
> /usr/local/include/ptlib/syncthrd.h:363: error: non-member function `Nest*
>     GetNest()' cannot have `const' method qualifier
> /usr/local/include/ptlib/syncthrd.h:368: error: syntax error before `}'
> token
> In file included from /usr/local/include/ptlib.h:241,
>                   from h323chan.cpp:31:
> /usr/local/include/ptlib/pfactory.h:188: error: syntax error before `&'
> token
> /usr/local/include/ptlib/pfactory.h:190: error: 'PMutex' is used as a
> type, but
>     is not defined as a type.
> /usr/local/include/ptlib/pfactory.h:200: error: syntax error before `>'
> token
> /usr/local/include/ptlib/pfactory.h:205: error: template declaration of `
>     typedef _Abstract_T Abstract_T'
> /usr/local/include/ptlib/pfactory.h:205: confused by earlier errors,
> bailing out
> make[1]: *** [h323chan.yate] Error 1
> make[1]: Leaving directory `/usr/src/yate/modules'
> make: *** [modules] Error 2
>
>
> I know it's too long. I am sorry. I am thought to put it on a URL link
> but we would loose the history for future search.
>
> Isamar
>
>
> On Mon, 7 Aug 2006, AmberVoIP wrote:
>
>> latest stable from www.voxgratis.org or mimas-patched from
>> www.inaccessnetwoks.com (libs for asterisk but well work with yate - i
>> use it at machine where i have both asterisk with oh323 and yate).
>>
>> andy.
>>
>> On Tue, 8 Aug 2006 04:41:36 +0900 (JST)
>> isamar@i... wrote:
>>
>>>
>>> Dear All,
>>>
>>> I am trying to compile Yate 1.0 with h323chan support but no success.
>>> I've tried already OPenh323 version 13, 19 and 18.
>>> I am using Slackare 10.1
>>> I never had this problem with 0.9 though.
>>> Which version of Openh323 and Pwlib should I use for 1.0 ?
>>>
>>>
>>> THnks a lot,
>>>
>>> Isamar
>>
>


-- 
Best regards,
Stanislav Zahariev
sofit|at|295|ca
ICQ: 283486130