LANG=C make g++ -g -c -fno-rtti -o ast_h323.o -march=i686 -DPBYTE_ORDER=PLITTLE_ENDIAN -DNDEBUG -DDO_CRASH -DDEBUG_THREADS -pipe -Wall -fPIC -DP_LINUX -D_REENTRANT -D_GNU_SOURCE -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA -I../../include -I/home/growe/sourcen/asterisk/pwlib/include/ptlib/unix -I/home/growe/sourcen/asterisk/pwlib/include -I/home/growe/sourcen/asterisk/openh323/include -Wno-missing-prototypes -Wno-missing-declarations ast_h323.cpp cc1plus: warning: command line option "-Wno-missing-prototypes" is valid for Ada/C/ObjC but not for C++ cc1plus: warning: command line option "-Wno-missing-declarations" is valid for C/ObjC but not for C++ In file included from /home/growe/sourcen/asterisk/pwlib/include/ptlib.h:145, from ast_h323.cpp:34: /home/growe/sourcen/asterisk/pwlib/include/ptbuildopts.h:124:1: warning: "P_LINUX" redefined :6:1: warning: this is the location of the previous definition In file included from /home/growe/sourcen/asterisk/pwlib/include/ptlib.h:169, from ast_h323.cpp:34: /home/growe/sourcen/asterisk/pwlib/include/ptlib/unix/ptlib/pdirect.h:78: error: expected unqualified-id before "protected" /home/growe/sourcen/asterisk/pwlib/include/ptlib/unix/ptlib/pdirect.h:78: error: expected `,' or `;' before "protected" /home/growe/sourcen/asterisk/pwlib/include/ptlib/unix/ptlib/pdirect.h:80: error: expected constructor, destructor, or type conversion before '*' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/unix/ptlib/pdirect.h:80: error: expected `,' or `;' before '*' token In file included from /home/growe/sourcen/asterisk/pwlib/include/ptlib.h:181, from ast_h323.cpp:34: /home/growe/sourcen/asterisk/pwlib/include/ptlib/unix/ptlib/config.h:53: error: expected unqualified-id before "public" /home/growe/sourcen/asterisk/pwlib/include/ptlib/unix/ptlib/config.h:53: error: expected `,' or `;' before "public" /home/growe/sourcen/asterisk/pwlib/include/ptlib/unix/ptlib/config.h:55: error: expected class-name before '(' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/unix/ptlib/config.h:55: error: expected `,' or `;' before '(' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/unix/ptlib/config.h:57: error: expected unqualified-id before "protected" /home/growe/sourcen/asterisk/pwlib/include/ptlib/unix/ptlib/config.h:57: error: expected `,' or `;' before "protected" In file included from /home/growe/sourcen/asterisk/pwlib/include/ptlib.h:187, from ast_h323.cpp:34: /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:121: error: expected class-name before '{' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:122: error: `PObject' has not been declared /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:122: error: ISO C++ forbids declaration of `PCLASSINFO' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:122: error: ISO C++ forbids declaration of `parameter' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:147: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:153: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:156: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:162: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:162: error: `PArgList::PArgList(int)' and `PArgList::PArgList(int)' cannot be overloaded /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:177: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:182: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:206: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:207: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:215: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:216: error: ISO C++ forbids declaration of `PStringArray' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:216: error: `void PArgList::SetArgs(int)' and `void PArgList::SetArgs(int)' cannot be overloaded /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:249: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:254: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:273: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:274: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:290: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:291: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:301: error: `PString' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:306: error: `PString' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:311: error: `PString' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:329: error: `PStringArray' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:338: error: `PString' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:347: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:347: error: expected `;' before "operator" /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:388: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:389: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:397: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:398: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:403: error: `PStringArray' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:405: error: `PString' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:407: error: `PStringArray' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:409: error: `PIntArray' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:411: error: `PStringArray' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:413: error: `PIntArray' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:418: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:418: error: ISO C++ forbids declaration of `PIntArray' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:420: error: `PString' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:429: error: ISO C++ forbids declaration of `PCLASSINFO' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:454: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:455: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:465: error: `PString' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:470: error: `PString' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:475: error: `PString' does not name a type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:490: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:491: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:496: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:497: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:501: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:501: error: expected `;' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:506: error: expected `;' before "void" /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:507: error: expected `,' or `...' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:508: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:513: error: ISO C++ forbids declaration of `PString' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:513: error: expected `;' before '&' token /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:517: error: expected `;' before "protected"make: *** Deleting file `ast_h323.o' make: *** [ast_h323.o] Interrupt