[Home]

Summary:ASTERISK-03921: asterisk-oh323 compile errors on Fedora Core Linux 3
Reporter:mazay (mazay)Labels:
Date Opened:2005-04-12 12:18:59Date Closed:2011-06-07 14:05:05
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) Makefile
Description:[root@warp asterisk-oh323]# make
for x in wrapper asterisk-driver; do make -C $x all || exit 1 ; done
make[1]: Entering directory `/usr/src/redhat/BUILD/asterisk-oh323/wrapper'
g++ -Wall -mcpu=i586 -DP_LINUX -D_REENTRANT -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPBYTE_ORDER=PLITTLE_ENDIAN -DPHAS_TEMPLATES -O3 -DNDEBUG -I/usr/include -I/usr/include/ptlib/unix -I/usr/include/ptlib -I/usr/include/openh323 -I../asterisk-driver -g -c asteriskaudio.cxx -o asteriskaudio.o
In file included from /usr/include/ptlib.h:169,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/pdirect.h:78: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/pdirect.h:78: error: expected `,' or `;' before "protected"
/usr/include/ptlib/unix/ptlib/pdirect.h:80: error: expected constructor, destructor, or type conversion before '*' token
/usr/include/ptlib/unix/ptlib/pdirect.h:80: error: expected `,' or `;' before '*' token
In file included from /usr/include/ptlib.h:181,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/config.h:53: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/config.h:53: error: expected `,' or `;' before "public"
/usr/include/ptlib/unix/ptlib/config.h:55: error: expected class-name before '(' token
/usr/include/ptlib/unix/ptlib/config.h:55: error: expected `,' or `;' before '(' token
/usr/include/ptlib/unix/ptlib/config.h:57: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/config.h:57: error: expected `,' or `;' before "protected"
In file included from /usr/include/ptlib.h:187,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/args.h:121: error: expected class-name before '{' token
/usr/include/ptlib/args.h:122: error: `PObject' has not been declared
/usr/include/ptlib/args.h:147: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:156: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:162: error: `PArgList::PArgList(int)' and `PArgList::PArgList(int)' cannot be overloaded
/usr/include/ptlib/args.h:177: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:190: error: `ostream' has not been declared
/usr/include/ptlib/args.h:197: error: `istream' has not been declared
/usr/include/ptlib/args.h:206: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:215: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:216: error: `void PArgList::SetArgs(int)' and `void PArgList::SetArgs(int)' cannot be overloaded
/usr/include/ptlib/args.h:249: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:273: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:290: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:301: error: `PString' does not name a type
/usr/include/ptlib/args.h:306: error: `PString' does not name a type
/usr/include/ptlib/args.h:311: error: `PString' does not name a type
/usr/include/ptlib/args.h:329: error: `PStringArray' does not name a type
/usr/include/ptlib/args.h:338: error: `PString' does not name a type
/usr/include/ptlib/args.h:347: error: expected `;' before "operator"
/usr/include/ptlib/args.h:388: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:397: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:403: error: `PStringArray' does not name a type
/usr/include/ptlib/args.h:405: error: `PString' does not name a type
/usr/include/ptlib/args.h:407: error: `PStringArray' does not name a type
/usr/include/ptlib/args.h:409: error: `PIntArray' does not name a type
/usr/include/ptlib/args.h:411: error: `PStringArray' does not name a type
/usr/include/ptlib/args.h:413: error: `PIntArray' does not name a type
/usr/include/ptlib/args.h:418: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:420: error: `PString' does not name a type
/usr/include/ptlib/args.h:454: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:465: error: `PString' does not name a type
/usr/include/ptlib/args.h:470: error: `PString' does not name a type
/usr/include/ptlib/args.h:475: error: `PString' does not name a type
/usr/include/ptlib/args.h:490: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:496: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:501: error: expected `;' before '&' token
/usr/include/ptlib/args.h:506: error: expected `;' before "void"
/usr/include/ptlib/args.h:507: error: expected `,' or `...' before '&' token
/usr/include/ptlib/args.h:513: error: expected `;' before '&' token
/usr/include/ptlib/args.h:517: error: expected `;' before "protected"
/usr/include/ptlib/args.h:518: error: `PString' does not name a type
/usr/include/ptlib/args.h:519: error: `PConfig' does not name a type
/usr/include/ptlib/args.h:520: error: `PString' does not name a type
/usr/include/ptlib/args.h:521: error: `PString' does not name a type
/usr/include/ptlib/args.h: In member function `void PConfigArgs::SetSectionName(int)':
/usr/include/ptlib/args.h:497: error: `sectionName' undeclared (first use this function)
/usr/include/ptlib/args.h:497: error: (Each undeclared identifier is reported only once for each function it appears in.)
/usr/include/ptlib/args.h:497: error: `section' undeclared (first use this function)
/usr/include/ptlib/args.h: In member function `void PConfigArgs::SetNegationPrefix(int)':
/usr/include/ptlib/args.h:508: error: `negationPrefix' undeclared (first use this function)
/usr/include/ptlib/args.h:508: error: `prefix' undeclared (first use this function)
In file included from /usr/include/ptlib.h:193,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/thread.h: At global scope:
/usr/include/ptlib/unix/ptlib/thread.h:142: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/thread.h:142: error: expected `,' or `;' before "public"
/usr/include/ptlib/unix/ptlib/thread.h:147: error: expected `,' or `...' before '&' token
/usr/include/ptlib/unix/ptlib/thread.h:153: error: expected `,' or `...' before '&' token
/usr/include/ptlib/unix/ptlib/thread.h:156: error: non-member function `void PXAbortBlock()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/thread.h:160: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/thread.h:160: error: expected `,' or `;' before "public"
/usr/include/ptlib/unix/ptlib/thread.h:170: error: `Priority' does not name a type
/usr/include/ptlib/unix/ptlib/thread.h:182: error: `friend' can only be specified inside a class
/usr/include/ptlib/unix/ptlib/thread.h:183: error: friend declaration not in class definition
In file included from /usr/include/ptlib.h:199,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/pprocess.h:121: error: expected constructor, destructor, or type conversion before '(' token
/usr/include/ptlib/unix/ptlib/pprocess.h:121: error: expected `,' or `;' before '(' token
/usr/include/ptlib/unix/ptlib/pprocess.h:126: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/pprocess.h:126: error: expected `,' or `;' before "public"
/usr/include/ptlib/unix/ptlib/pprocess.h:128: error: `friend' can only be specified inside a class
/usr/include/ptlib/unix/ptlib/pprocess.h:129: error: friend declaration not in class definition
/usr/include/ptlib/unix/ptlib/pprocess.h:130: error: `friend' can only be specified inside a class
/usr/include/ptlib/unix/ptlib/pprocess.h:132: error: expected class-name before '(' token
/usr/include/ptlib/unix/ptlib/pprocess.h:132: error: expected `,' or `;' before '(' token
/usr/include/ptlib/unix/ptlib/pprocess.h:134: error: `PDirectory' does not name a type
/usr/include/ptlib/unix/ptlib/pprocess.h:135: error: non-member function `char** PXGetArgv()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/pprocess.h: In function `char** PXGetArgv()':
/usr/include/ptlib/unix/ptlib/pprocess.h:135: error: `p_argv' undeclared (first use this function)
/usr/include/ptlib/unix/ptlib/pprocess.h: At global scope:
/usr/include/ptlib/unix/ptlib/pprocess.h:136: error: non-member function `int PXGetArgc()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/pprocess.h: In function `int PXGetArgc()':
/usr/include/ptlib/unix/ptlib/pprocess.h:136: error: `p_argc' undeclared (first use this function)
/usr/include/ptlib/unix/ptlib/pprocess.h: At global scope:
/usr/include/ptlib/unix/ptlib/pprocess.h:137: error: non-member function `char** PXGetEnvp()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/pprocess.h: In function `char** PXGetEnvp()':
/usr/include/ptlib/unix/ptlib/pprocess.h:137: error: `p_envp' undeclared (first use this function)
/usr/include/ptlib/unix/ptlib/pprocess.h: At global scope:
/usr/include/ptlib/unix/ptlib/pprocess.h:139: error: friend declaration not in class definition
/usr/include/ptlib/unix/ptlib/pprocess.h:140: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/pprocess.h:141: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/pprocess.h:145: error: expected `,' or `...' before '&' token
/usr/include/ptlib/unix/ptlib/pprocess.h:147: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/pprocess.h:147: error: expected `,' or `;' before "protected"
/usr/include/ptlib/unix/ptlib/pprocess.h:151: error: expected `,' or `...' before '&' token
/usr/include/ptlib/unix/ptlib/pprocess.h:151: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/pprocess.h:154: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/pprocess.h:154: error: expected `,' or `;' before "protected"
/usr/include/ptlib/unix/ptlib/pprocess.h:156: error: expected constructor, destructor, or type conversion before '*' token
/usr/include/ptlib/unix/ptlib/pprocess.h:156: error: expected `,' or `;' before '*' token
/usr/include/ptlib/unix/ptlib/pprocess.h:161: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/pprocess.h:161: error: expected `,' or `;' before "public"
/usr/include/ptlib/unix/ptlib/pprocess.h:164: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/pprocess.h:164: error: expected `,' or `;' before "protected"
/usr/include/ptlib/unix/ptlib/pprocess.h:166: error: `ThreadDict' does not name a type
/usr/include/ptlib/unix/ptlib/pprocess.h:167: error: `PMutex' does not name a type
In file included from /usr/include/ptlib.h:205,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/semaphor.h:98: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/semaphor.h:98: error: expected `,' or `;' before "public"
/usr/include/ptlib/unix/ptlib/semaphor.h:100: error: non-member function `unsigned int GetMaxCount()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/semaphor.h: In function `unsigned int GetMaxCount()':
/usr/include/ptlib/unix/ptlib/semaphor.h:100: error: `maxCountVar' undeclared (first use this function)
/usr/include/ptlib/unix/ptlib/semaphor.h: At global scope:
/usr/include/ptlib/unix/ptlib/semaphor.h:102: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/semaphor.h:102: error: expected `,' or `;' before "protected"
/usr/include/ptlib/unix/ptlib/semaphor.h:104: error: `unsigned int maxCountVar' used prior to declaration
/usr/include/ptlib/unix/ptlib/semaphor.h:112: error: non-member function `PXClass GetSemClass()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/semaphor.h:114: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/semaphor.h:114: error: expected `,' or `;' before "protected"
In file included from /usr/include/ptlib.h:211,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/mutex.h:111: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/mutex.h:112: error: expected `,' or `...' before '&' token
/usr/include/ptlib/unix/ptlib/mutex.h:112: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/mutex.h:113: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/mutex.h:114: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/mutex.h:114: error: non-member function `BOOL WillBlock()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/mutex.h:116: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/mutex.h:116: error: expected `,' or `;' before "protected"
In file included from /usr/include/ptlib.h:217,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/syncpoint.h:60: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/syncpoint.h:60: error: expected `,' or `;' before "public"
/usr/include/ptlib/unix/ptlib/syncpoint.h:62: error: expected `,' or `...' before '&' token
/usr/include/ptlib/unix/ptlib/syncpoint.h:62: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:63: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:64: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:64: error: non-member function `BOOL WillBlock()' cannothave `const' method qualifier
/usr/include/ptlib/unix/ptlib/syncpoint.h:65: error: expected unqualified-id before "private"
/usr/include/ptlib/unix/ptlib/syncpoint.h:65: error: expected `,' or `;' before "private"
In file included from /usr/include/ptlib/syncthrd.h:79,
                from /usr/include/ptlib.h:223,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/mutex.h:111: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/mutex.h:112: error: expected `,' or `...' before '&' token
/usr/include/ptlib/unix/ptlib/mutex.h:112: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/mutex.h:113: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/mutex.h:114: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/mutex.h:114: error: non-member function `BOOL WillBlock()' cannot have `const' method qualifier
/usr/include/ptlib/unix/ptlib/mutex.h:116: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/mutex.h:116: error: expected `,' or `;' before "protected"
/usr/include/ptlib/unix/ptlib/mutex.h:121: error: redefinition of `PINDEX lockCount'
/usr/include/ptlib/unix/ptlib/mutex.h:121: error: `PINDEX lockCount' previously declared here
In file included from /usr/include/ptlib/syncthrd.h:80,
                from /usr/include/ptlib.h:223,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/syncpoint.h:60: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/syncpoint.h:60: error: expected `,' or `;' before "public"
/usr/include/ptlib/unix/ptlib/syncpoint.h:62: error: expected `,' or `...' before '&' token
/usr/include/ptlib/unix/ptlib/syncpoint.h:62: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:63: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:64: error: virtual outside class declaration
/usr/include/ptlib/unix/ptlib/syncpoint.h:64: error: non-member function `BOOL WillBlock()' cannothave `const' method qualifier
/usr/include/ptlib/unix/ptlib/syncpoint.h:65: error: expected unqualified-id before "private"
/usr/include/ptlib/unix/ptlib/syncpoint.h:65: error: expected `,' or `;' before "private"
In file included from /usr/include/ptlib.h:223,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/syncthrd.h:104: error: expected class-name before '{' token
/usr/include/ptlib/syncthrd.h:105: error: `PSyncPoint' has not been declared
/usr/include/ptlib/syncthrd.h:120: error: expected `,' or `...' before '&' token
/usr/include/ptlib/syncthrd.h:130: error: `PSyncPoint' does not name a type
/usr/include/ptlib/syncthrd.h:140: error: expected class-name before '{' token
/usr/include/ptlib/syncthrd.h:141: error: `PMutex' has not been declared
/usr/include/ptlib/syncthrd.h:168: error: `PSyncPoint' does not name a type
/usr/include/ptlib/syncthrd.h:176: error: cannot declare parameter `<anonymous>' to be of type `PCondMutex'
/usr/include/ptlib/syncthrd.h:176: error:   because the following virtual functions are abstract:
/usr/include/ptlib/syncthrd.h:159: error:  virtual BOOL PCondMutex::Condition()
/usr/include/ptlib/syncthrd.h:210: error: `ostream' has not been declared
/usr/include/ptlib/syncthrd.h:288: error: expected class-name before '{' token
/usr/include/ptlib/syncthrd.h:289: error: `PObject' has not been declared
/usr/include/ptlib/syncthrd.h:340: error: `PSemaphore' does not name a type
/usr/include/ptlib/syncthrd.h:341: error: `PMutex' does not name a type
/usr/include/ptlib/syncthrd.h:343: error: `PMutex' does not name a type
/usr/include/ptlib/syncthrd.h:345: error: `PSemaphore' does not name a type
/usr/include/ptlib/syncthrd.h:346: error: `PMutex' does not name a type
/usr/include/ptlib/syncthrd.h:350: error: expected class-name before '{' token
/usr/include/ptlib/syncthrd.h:351: error: `PObject' has not been declared
/usr/include/ptlib/syncthrd.h:356: error: expected `;' before '<' token
/usr/include/ptlib/syncthrd.h:357: error: `PMutex' does not name a type
In file included from /usr/include/ptlib.h:229,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/dynalink.h:37: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/dynalink.h:37: error: expected `,' or `;' before "protected"
In file included from /usr/include/ptlib.h:235,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/channel.h:104: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/channel.h:104: error: expected `,' or `;' before "public"
/usr/include/ptlib/unix/ptlib/channel.h:112: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/channel.h:112: error: expected `,' or `;' before "protected"
/usr/include/ptlib/unix/ptlib/channel.h:116: error: `PString' does not name a type
/usr/include/ptlib/unix/ptlib/channel.h:117: error: `PMutex' does not name a type
/usr/include/ptlib/unix/ptlib/channel.h:118: error: `PXBlockType' does not name a type
/usr/include/ptlib/unix/ptlib/channel.h:119: error: expected constructor, destructor, or type conversion before '*' token
/usr/include/ptlib/unix/ptlib/channel.h:119: error: expected `,' or `;' before '*' token
/usr/include/ptlib/unix/ptlib/channel.h:120: error: expected constructor, destructor, or type conversion before '*' token
/usr/include/ptlib/unix/ptlib/channel.h:120: error: expected `,' or `;' before '*' token
/usr/include/ptlib/unix/ptlib/channel.h:121: error: `PMutex' does not name a type
In file included from /usr/include/ptlib.h:241,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/indchan.h:76: error: expected class-name before '{' token
/usr/include/ptlib/indchan.h:77: error: `PChannel' has not been declared
/usr/include/ptlib/indchan.h:101: error: `Comparison' does not name a type
/usr/include/ptlib/indchan.h:116: error: `PString' does not name a type
/usr/include/ptlib/indchan.h:183: error: `ShutdownValue' has not been declared
/usr/include/ptlib/indchan.h:195: error: `PChannel' declared as a `virtual' field
/usr/include/ptlib/indchan.h:195: error: expected `;' before '*' token
/usr/include/ptlib/indchan.h:205: error: `PChannel' declared as a `virtual' field
/usr/include/ptlib/indchan.h:205: error: expected `;' before '*' token
/usr/include/ptlib/indchan.h:212: error: `PString' does not name a type
/usr/include/ptlib/indchan.h:227: error: `PChannel' has not been declared
/usr/include/ptlib/indchan.h:242: error: `PChannel' has not been declared
/usr/include/ptlib/indchan.h:259: error: `PChannel' has not been declared
/usr/include/ptlib/indchan.h:261: error: `PChannel' has not been declared
/usr/include/ptlib/indchan.h:272: error: expected `;' before '*' token
/usr/include/ptlib/indchan.h:280: error: `PChannel' has not been declared
/usr/include/ptlib/indchan.h:290: error: expected `;' before '*' token
/usr/include/ptlib/indchan.h:298: error: `PChannel' has not been declared
/usr/include/ptlib/indchan.h:320: error: expected `;' before '*' token
/usr/include/ptlib/indchan.h:326: error: expected `;' before '*' token
In file included from /usr/include/ptlib.h:265,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/conchan.h:51: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/conchan.h:51: error: expected `,' or `;' before "public"
In file included from /usr/include/ptlib.h:271,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/sound.h:114: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/sound.h:114: error: expected `,' or `;' before "public"
/usr/include/ptlib/unix/ptlib/sound.h:158: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/sound.h:158: error: expected `,' or `;' before "protected"
/usr/include/ptlib/unix/ptlib/sound.h:161: error: `PMutex' does not name a type
/usr/include/ptlib/unix/ptlib/sound.h:163: error: `Directions' does not name a type
/usr/include/ptlib/unix/ptlib/sound.h:164: error: `PString' does not name a type
In file included from /usr/include/ptlib.h:276,
                from asteriskaudio.cxx:29:
/usr/include/ptlib/unix/ptlib/video.h:63: error: expected unqualified-id before "public"
/usr/include/ptlib/unix/ptlib/video.h:63: error: expected `,' or `;' before "public"
/usr/include/ptlib/unix/ptlib/video.h:66: error: `PString' does not name a type
/usr/include/ptlib/unix/ptlib/video.h:69: error: `PString' does not name a type
/usr/include/ptlib/unix/ptlib/video.h:72: error: expected unqualified-id before "protected"
/usr/include/ptlib/unix/ptlib/video.h:72: error: expected `,' or `;' before "protected"
In file included from asteriskaudio.cxx:33:
asteriskaudio.hxx:58: error: expected class-name before '{' token
asteriskaudio.hxx:60: error: `PObject' has not been declared
asteriskaudio.hxx:60: error: ISO C++ forbids declaration of `PCLASSINFO' with no type
asteriskaudio.hxx:60: error: ISO C++ forbids declaration of `parameter' with no type
asteriskaudio.hxx:71: error: `PTime' does not name a type
asteriskaudio.hxx:83: error: expected class-name before '{' token
asteriskaudio.hxx:85: error: `PSoundChannel' has not been declared
asteriskaudio.hxx:85: error: ISO C++ forbids declaration of `PCLASSINFO' with no type
asteriskaudio.hxx:85: error: ISO C++ forbids declaration of `parameter' with no type
asteriskaudio.hxx:90: error: expected `,' or `...' before '&' token
asteriskaudio.hxx:90: error: ISO C++ forbids declaration of `PString' with no type
asteriskaudio.hxx:93: error: `PStringArray' does not name a type
asteriskaudio.hxx:94: error: `PString' does not name a type
asteriskaudio.hxx:95: error: expected `,' or `...' before '&' token
asteriskaudio.hxx:95: error: ISO C++ forbids declaration of `PString' with no type
asteriskaudio.hxx:101: error: expected `,' or `...' before '&' token
asteriskaudio.hxx:101: error: ISO C++ forbids declaration of `PSound' with no type
asteriskaudio.hxx:102: error: expected `,' or `...' before '&' token
asteriskaudio.hxx:102: error: ISO C++ forbids declaration of `PFilePath' with no type
asteriskaudio.hxx:106: error: `PSound' has not been declared
asteriskaudio.hxx:106: error: ISO C++ forbids declaration of `parameter' with no type
asteriskaudio.hxx:107: error: expected `,' or `...' before '&' token
asteriskaudio.hxx:107: error: ISO C++ forbids declaration of `PFilePath' with no type
asteriskaudio.cxx: In member function `BOOL PAsteriskAudioDelay::Delay(int)':
asteriskaudio.cxx:57: error: `previousTime' undeclared (first use this function)
asteriskaudio.cxx:57: error: `PTime' undeclared (first use this function)
asteriskaudio.cxx:63: error: expected `;' before "now"
asteriskaudio.cxx:64: error: `PTimeInterval' undeclared (first use this function)
asteriskaudio.cxx:64: error: expected `;' before "delay"
asteriskaudio.cxx:65: error: `delay' undeclared (first use this function)
asteriskaudio.cxx:66: error: `now' undeclared (first use this function)
asteriskaudio.cxx: At global scope:
asteriskaudio.cxx:91: error: expected `,' or `...' before '&' token
asteriskaudio.cxx:96: error: ISO C++ forbids declaration of `PString' with no type
asteriskaudio.cxx: In constructor `PAsteriskSoundChannel::PAsteriskSoundChannel(int)':
asteriskaudio.cxx:98: error: `device' undeclared (first use this function)
asteriskaudio.cxx:98: error: `dir' undeclared (first use this function)
asteriskaudio.cxx:98: error: `numChannels' undeclared (first use this function)
asteriskaudio.cxx:98: error: `sampleRate' undeclared (first use this function)
asteriskaudio.cxx:98: error: `bitsPerSample' undeclared (first use this function)
asteriskaudio.cxx: At global scope:
asteriskaudio.cxx:110: error: `PStringArray' does not name a type
asteriskaudio.cxx:167: error: `PString' does not name a type
asteriskaudio.cxx:185: error: expected `,' or `...' before '&' token
asteriskaudio.cxx:190: error: ISO C++ forbids declaration of `PString' with no type
asteriskaudio.cxx: In member function `BOOL PAsteriskSoundChannel::Open(int)':
asteriskaudio.cxx:194: error: `os_handle' undeclared (first use this function)
asteriskaudio.cxx:194: error: `device' undeclared (first use this function)
asteriskaudio.cxx:194: error: `dir' undeclared (first use this function)
asteriskaudio.cxx:194: error: `Player' undeclared (first use this function)
asteriskaudio.cxx:194: error: `ConvertOSError' undeclared (first use this function)
asteriskaudio.cxx:196: error: `numChannels' undeclared (first use this function)
asteriskaudio.cxx:196: error: `sampleRate' undeclared (first use this function)
asteriskaudio.cxx:196: error: `bitsPerSample' undeclared (first use this function)
asteriskaudio.cxx: In member function `BOOL PAsteriskSoundChannel::Close()':
asteriskaudio.cxx:201: error: `PChannel' has not been declared
asteriskaudio.cxx: In member function `BOOL PAsteriskSoundChannel::SetFormat(unsigned int, unsigned int, unsigned int)':
asteriskaudio.cxx:213: error: `PInvalidParameter' undeclared (first use this function)
asteriskaudio.cxx:213: error: `PAssert' undeclared (first use this function)
asteriskaudio.cxx: In member function `BOOL PAsteriskSoundChannel::SetBuffers(PINDEX, PINDEX)':
asteriskaudio.cxx:221: error: `PInvalidParameter' undeclared (first use this function)
asteriskaudio.cxx:221: error: `PAssert' undeclared (first use this function)
asteriskaudio.cxx: In member function `BOOL PAsteriskSoundChannel::Write(const void*, PINDEX)':
asteriskaudio.cxx:238: error: `PChannel' has not been declared
asteriskaudio.cxx: At global scope:
asteriskaudio.cxx:250: error: expected `,' or `...' before '&' token
asteriskaudio.cxx:251: error: ISO C++ forbids declaration of `PSound' with no type
asteriskaudio.cxx: In member function `BOOL PAsteriskSoundChannel::PlaySound(int)':
asteriskaudio.cxx:254: error: `sound' undeclared (first use this function)
asteriskaudio.cxx:257: error: `wait' undeclared (first use this function)
asteriskaudio.cxx: At global scope:
asteriskaudio.cxx:263: error: expected `,' or `...' before '&' token
asteriskaudio.cxx:264: error: ISO C++ forbids declaration of `PFilePath' with no type
asteriskaudio.cxx: In member function `BOOL PAsteriskSoundChannel::Read(void*, PINDEX)':
asteriskaudio.cxx:286: error: `PChannel' has not been declared
asteriskaudio.cxx: At global scope:
asteriskaudio.cxx:298: error: `BOOL PAsteriskSoundChannel::RecordSound' is not a static member of `class PAsteriskSoundChannel'
asteriskaudio.cxx:298: error: `PSound' was not declared in this scope
asteriskaudio.cxx:298: error: `sound' was not declared in this scope
asteriskaudio.cxx:299: error: expected `,' or `;' before '{' token
asteriskaudio.cxx:303: error: expected `,' or `...' before '&' token
asteriskaudio.cxx:304: error: ISO C++ forbids declaration of `PFilePath' with no type
asteriskaudio.cxx: In member function `BOOL PAsteriskSoundChannel::WaitForRecordBufferFull()':
asteriskaudio.cxx:325: error: `os_handle' undeclared (first use this function)
asteriskaudio.cxx:329: error: `PXReadBlock' undeclared (first use this function)
asteriskaudio.cxx:329: error: `readTimeout' undeclared (first use this function)
asteriskaudio.cxx:329: error: `PXSetIOBlock' undeclared (first use this function)
/usr/include/ptlib/unix/ptlib/thread.h: At global scope:
/usr/include/ptlib/unix/ptlib/thread.h:167: warning: 'void PX_ThreadEnd(void*)' declared `static' but never defined
/usr/include/ptlib/unix/ptlib/pprocess.h:144: warning: 'void PXShowSystemWarning(PINDEX)' declared`static' but never defined
/usr/include/ptlib/unix/ptlib/pprocess.h:145: warning: 'void PXShowSystemWarning(PINDEX, int)' declared `static' but never defined
make[1]: *** [asteriskaudio.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/asterisk-oh323/wrapper'
make: *** [subdirs_all] Error 1


****** ADDITIONAL INFORMATION ******

openh323-devel-1.13.4-7
pwlib-devel-1.6.5-11
asterisk-1.0.7
Comments:By: Paul Cadach (pcadach) 2005-04-12 12:23:53

asterisk-oh323 is third-party module for Asterisk and isn't supported by Asterisk's team.

By: Jeffrey C. Ollie (jcollie) 2005-04-12 13:05:23

Yes, in fact there is a separate asterisk-oh323 bug tracker here:

https://skylab.inaccessnetworks.com/mantis/main_page.php

By: Russell Bryant (russell) 2005-04-12 20:52:40

Please pursue this through the asterisk-h323 bug tracker.

Thanks!