[Asterisk-Users] astersk-oh323 compile error make

M. Ehsanul Karim
Wed, 29 Sep 2004 17:36:20 -0000

When i attempt to make asterisk-oh323 I get the following error. Iam
using the following versions :

asterisk-oh323-0.6.3b
openh323-v1_13_5
pwlib-v1_6_6
openh323_1.13.5-make.patch
redhat 8 kernel 2.4.18-14


Anyone can help to get a way out ? Or suggetions for compatible versions ?

-----------------------------------------------------------------------------------
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:112: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:113: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:114: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:114: non-member function `BOOL
   WillBlock()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:116: parse error before `
   protected'
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:121: redefinition of `PINDEX
   lockCount'
/usr/src/pwlib/include/ptlib/unix/ptlib/mutex.h:121: `PINDEX lockCount'
   previously declared here
In file included from /usr/src/pwlib/include/ptlib/syncthrd.h:84,
                 from /usr/src/pwlib/include/ptlib.h:223,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:60: parse error before `
   public'
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:62: parse error before
`&'
   token
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:62: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:63: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:64: virtual outside class
   declaration
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:64: non-member function `
   BOOL WillBlock()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/unix/ptlib/syncpoint.h:65: parse error before `
   private'
In file included from /usr/src/pwlib/include/ptlib.h:223,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/syncthrd.h:108: parse error before `{' token
/usr/src/pwlib/include/ptlib/syncthrd.h:124: parse error before `&'
token
/usr/src/pwlib/include/ptlib/syncthrd.h:133: parse error before `protected'
/usr/src/pwlib/include/ptlib/syncthrd.h:144: parse error before `{' token
/usr/src/pwlib/include/ptlib/syncthrd.h:158: virtual outside class declaration
/usr/src/pwlib/include/ptlib/syncthrd.h:163: virtual outside class declaration
/usr/src/pwlib/include/ptlib/syncthrd.h:163: function `BOOL Condition()' is
   initialized like a variable
/usr/src/pwlib/include/ptlib/syncthrd.h:169: virtual outside class declaration
/usr/src/pwlib/include/ptlib/syncthrd.h:171: parse error before `protected'
/usr/src/pwlib/include/ptlib/syncthrd.h:179: base class `PCondMutex' has
   incomplete type
/usr/src/pwlib/include/ptlib/syncthrd.h:180: ISO C++ forbids declaration of `
   PCLASSINFO' with no type
/usr/src/pwlib/include/ptlib/syncthrd.h:214: `ostream' was not declared in
this
   scope
/usr/src/pwlib/include/ptlib/syncthrd.h:214: `strm' was not declared in this
   scope
/usr/src/pwlib/include/ptlib/syncthrd.h:214: invalid data member initialization
/usr/src/pwlib/include/ptlib/syncthrd.h:214: (use `=' to initialize static
data
   members)
/usr/src/pwlib/include/ptlib/syncthrd.h:214: variable or field `PrintOn'
   declared void
/usr/src/pwlib/include/ptlib/syncthrd.h:292: parse error before `{' token
/usr/src/pwlib/include/ptlib/syncthrd.h:343: parse error before `protected'
/usr/src/pwlib/include/ptlib/syncthrd.h:345: 'PMutex' is used as a type,
but is
   not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:347: 'PMutex' is used as a type,
but is
   not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:349: 'PSemaphore' is used as a
type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:350: 'PMutex' is used as a type,
but is
   not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:354: parse error before `{' token
/usr/src/pwlib/include/ptlib/syncthrd.h:357: redefinition of `unsigned int
   readerCount'
/usr/src/pwlib/include/ptlib/syncthrd.h:346: `unsigned int readerCount'
   previously declared here
/usr/src/pwlib/include/ptlib/syncthrd.h:358: redefinition of `unsigned int
   writerCount'
/usr/src/pwlib/include/ptlib/syncthrd.h:351: `unsigned int writerCount'
   previously declared here
/usr/src/pwlib/include/ptlib/syncthrd.h:359: parse error before `}' token
/usr/src/pwlib/include/ptlib/syncthrd.h:360: `POrdinalKey' was not declared
in
   this scope
/usr/src/pwlib/include/ptlib/syncthrd.h:360: 'PDictionary' is used as a
type,
   but is not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:361: 'PMutex' is used as a type,
but is
   not defined as a type.
/usr/src/pwlib/include/ptlib/syncthrd.h:363: non-member function `Nest*
   GetNest()' cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/syncthrd.h:368: parse error before `}' token
In file included from /usr/src/pwlib/include/ptlib.h:229,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/dynalink.h:37: parse error before `
   protected'
In file included from /usr/src/pwlib/include/ptlib.h:235,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:116: 'PString' is used
as a
   type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:117: 'PMutex' is used
as a
   type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:118: 'PXBlockType' is
used as
   a type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:119: syntax error before
`*'
   token
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:120: syntax error before
`*'
   token
/usr/src/pwlib/include/ptlib/unix/ptlib/channel.h:121: 'PMutex' is used
as a
   type, but is not defined as a type.
In file included from /usr/src/pwlib/include/ptlib.h:241,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/indchan.h:76: parse error before `{' token
/usr/src/pwlib/include/ptlib/indchan.h:89: destructors must be member functions
/usr/src/pwlib/include/ptlib/indchan.h:102: parse error before `&' token
/usr/src/pwlib/include/ptlib/indchan.h:116: syntax error before `(' token
/usr/src/pwlib/include/ptlib/indchan.h:124: virtual outside class declaration
/usr/src/pwlib/include/ptlib/indchan.h:133: virtual outside class declaration
/usr/src/pwlib/include/ptlib/indchan.h:133: non-member function `BOOL
IsOpen()'
   cannot have `const' method qualifier
/usr/src/pwlib/include/ptlib/indchan.h:153: virtual outside class declaration
/usr/src/pwlib/include/ptlib/indchan.h:172: virtual outside class declaration
/usr/src/pwlib/include/ptlib/indchan.h:183: `ShutdownValue' was not declared
in
   this scope
/usr/src/pwlib/include/ptlib/indchan.h:183: parse error before `)' token
/usr/src/pwlib/include/ptlib/indchan.h:184: virtual outside class declaration
/usr/src/pwlib/include/ptlib/indchan.h:195: syntax error before `*' token
/usr/src/pwlib/include/ptlib/indchan.h:205: syntax error before `*' token
/usr/src/pwlib/include/ptlib/indchan.h:212: syntax error before `(' token
/usr/src/pwlib/include/ptlib/indchan.h:227: `PChannel' was not declared in
this
   scope
/usr/src/pwlib/include/ptlib/indchan.h:229: `channel' was not declared in
this
   scope
/usr/src/pwlib/include/ptlib/indchan.h:242: `PChannel' was not declared in
this
   scope
/usr/src/pwlib/include/ptlib/indchan.h:242: `channel' was not declared in
this
   scope
/usr/src/pwlib/include/ptlib/indchan.h:244: parse error before `=' token
/usr/src/pwlib/include/ptlib/indchan.h:245: `BOOL Open(...)' redeclared as
   different kind of symbol
/usr/src/pwlib/include/ptlib/indchan.h:229: previous declaration of `BOOL
Open'
/usr/src/pwlib/include/ptlib/indchan.h:229: previous non-function declaration `
   BOOL Open'
/usr/src/pwlib/include/ptlib/indchan.h:245: conflicts with function declaration
   `BOOL Open(...)'
/usr/src/pwlib/include/ptlib/indchan.h:259: `PChannel' was not declared in
this
   scope
/usr/src/pwlib/include/ptlib/indchan.h:259: `readChannel' was not declared
in
   this scope
/usr/src/pwlib/include/ptlib/indchan.h:261: `PChannel' was not declared in
this
   scope
/usr/src/pwlib/include/ptlib/indchan.h:261: `writeChannel' was not declared
in
   this scope
/usr/src/pwlib/include/ptlib/indchan.h:263: parse error before `=' token
/usr/src/pwlib/include/ptlib/indchan.h:265: `BOOL Open(...)' redeclared as
   different kind of symbol
/usr/src/pwlib/include/ptlib/indchan.h:229: previous declaration of `BOOL
Open'
/usr/src/pwlib/include/ptlib/indchan.h:229: previous non-function declaration `
   BOOL Open'
/usr/src/pwlib/include/ptlib/indchan.h:265: conflicts with function declaration
   `BOOL Open(...)'
/usr/src/pwlib/include/ptlib/indchan.h:272: syntax error before `*' token
/usr/src/pwlib/include/ptlib/indchan.h:280: `PChannel' was not declared in
this
   scope
/usr/src/pwlib/include/ptlib/indchan.h:280: `channel' was not declared in
this
   scope
/usr/src/pwlib/include/ptlib/indchan.h:282: parse error before `=' token
/usr/src/pwlib/include/ptlib/indchan.h:290: syntax error before `*' token
/usr/src/pwlib/include/ptlib/indchan.h:298: `PChannel' was not declared in
this
   scope
/usr/src/pwlib/include/ptlib/indchan.h:298: `channel' was not declared in
this
   scope
/usr/src/pwlib/include/ptlib/indchan.h:300: parse error before `=' token
/usr/src/pwlib/include/ptlib/indchan.h:320: syntax error before `*' token
/usr/src/pwlib/include/ptlib/indchan.h:326: syntax error before `*' token
/usr/src/pwlib/include/ptlib/indchan.h:332: aggregate `PReadWriteMutex
   channelPointerMutex' has incomplete type and cannot be defined
/usr/src/pwlib/include/ptlib/indchan.h:333: parse error before `}' token
In file included from /usr/src/pwlib/include/ptlib.h:271,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/sound.h:106: parse error before `public
   '
/usr/src/pwlib/include/ptlib/unix/ptlib/sound.h:111: parse error before `
   protected'
/usr/src/pwlib/include/ptlib/unix/ptlib/sound.h:114: syntax error before `;'
   token
/usr/src/pwlib/include/ptlib/unix/ptlib/sound.h:116: 'Directions' is
used as a
   type, but is not defined as a type.
/usr/src/pwlib/include/ptlib/unix/ptlib/sound.h:117: 'PString' is used
as a
   type, but is not defined as a type.
In file included from /usr/src/pwlib/include/ptlib.h:276,
                 from wrapper_misc.hxx:35,
                 from wrapper_misc.cxx:34:
/usr/src/pwlib/include/ptlib/unix/ptlib/video.h:63: parse error before
`public'
/usr/src/pwlib/include/ptlib/unix/ptlib/video.h:66: syntax error before `('
   token
/usr/src/pwlib/include/ptlib/unix/ptlib/video.h:69: parse error before `)'
   token
In file included from wrapper_misc.cxx:34:
wrapper_misc.hxx:61: parse error before `{' token
wrapper_misc.hxx:71: parse error before `protected'
wrapper_misc.cxx:50: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In constructor `WrapMutex::WrapMutex(char*)':
wrapper_misc.cxx:51: class `WrapMutex' does not have any field named
`PMutex'
wrapper_misc.cxx:53: `name' undeclared (first use this function)
wrapper_misc.cxx:53: `PString' undeclared (first use this function)
wrapper_misc.cxx:54: `cout' undeclared (first use this function)
wrapper_misc.cxx:54: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: forward declaration of `class WrapMutex'
wrapper_misc.cxx:54: `endl' undeclared (first use this function)
wrapper_misc.cxx: At global scope:
wrapper_misc.cxx:58: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In member function `BOOL WrapMutex::Wait(const char*, int,
   const char*, int)':
wrapper_misc.cxx:59: `PTimeInterval' undeclared (first use this function)
wrapper_misc.cxx:59: parse error before `;' token
wrapper_misc.cxx:62: `timeout' undeclared (first use this function)
wrapper_misc.cxx:67: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: forward declaration of `class WrapMutex'
wrapper_misc.cxx:68: `PMutex' undeclared (first use this function)
wrapper_misc.cxx:68: parse error before `::' token
wrapper_misc.cxx: At global scope:
wrapper_misc.cxx:72: parse error before `else'
wrapper_misc.cxx:80: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In member function `void WrapMutex::Signal(const char*, int,
   const char*)':
wrapper_misc.cxx:81: parse error before `::' token
wrapper_misc.cxx:83: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: forward declaration of `class WrapMutex'
/usr/src/pwlib/include/ptlib/indchan.h: At global scope:
/usr/src/pwlib/include/ptlib/indchan.h:332: storage size of `
   channelPointerMutex' isn't known
/usr/src/pwlib/include/ptlib/unix/ptlib/thread.h:170: 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.3b/wrapper'
make: *** [subdirs_all] Error 1