LANG=C make for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done make: *** No rule to make target `ccflags'. Stop. make: *** No rule to make target `ccflags'. Stop. make[1]: Entering directory `/home/growe/sourcen/asterisk/asterisk-oh323-0.6.5/wrapper' ./check_ver /home/growe/sourcen/asterisk/pwlib pwlib ./check_ver /home/growe/sourcen/asterisk/openh323 openh323 g++ -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\"1.6.6\" -DOPENH323VERSION=\"1.13.5\" -I/home/growe/sourcen/asterisk/pwlib/include/ptlib/unix -I/home/growe/sourcen/asterisk/pwlib/include -I/home/growe/sourcen/asterisk/openh323/include -I/home/growe/sourcen/asterisk/openh323/include/openh323 -I../asterisk-driver -c wrapper_misc.cxx -o wrapper_misc.o In file included from /home/growe/sourcen/asterisk/pwlib/include/ptlib.h:169, from wrapper_misc.hxx:35, from wrapper_misc.cxx: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 wrapper_misc.hxx:35, from wrapper_misc.cxx: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 wrapper_misc.hxx:35, from wrapper_misc.cxx: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:190: error: `ostream' has not been declared /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:191: error: ISO C++ forbids declaration of `strm' with no type /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:197: error: `istream' has not been declared /home/growe/sourcen/asterisk/pwlib/include/ptlib/args.h:198: error: ISO C++ forbids declaration of `strm' 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 typemake[1]: *** [wrapper_misc.o] Interrupt