root@linux4:/usr/src/asterisk/asterisk/channels/h323# 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/root/pwlib/include/ptlib/unix -I/root/pwlib/include -I/root/openh323/include -Wno-missing-prototypes -Wno-missing-declarations ast_h323.cpp
In file included from /usr/local/include/ptlib/contain.h:222,
from /usr/local/include/ptlib.h:139,
from ast_h323.cpp:34:
/usr/local/include/ptlib/object.h:585: syntax error before `(' token
/usr/local/include/ptlib/object.h:1201: `BOOL' declared as a `virtual' field
/usr/local/include/ptlib/object.h:1201: syntax error before `(' token
/usr/local/include/ptlib/object.h:1214: `BOOL' declared as a `virtual' field
/usr/local/include/ptlib/object.h:1214: declaration of `int PObject::BOOL'
/usr/local/include/ptlib/object.h:1201: conflicts with previous declaration `
int PObject::BOOL'
/usr/local/include/ptlib/object.h:1214: syntax error before `(' token
/usr/local/include/ptlib/object.h:1265: syntax error before `operator'
/usr/local/include/ptlib/object.h:1214: duplicate member `PObject::BOOL'
/usr/local/include/ptlib/object.h:1274: ISO C++ forbids defining types within
return type
/usr/local/include/ptlib/object.h:1274: syntax error before `operator'
/usr/local/include/ptlib/object.h:1283: syntax error before `operator'
/usr/local/include/ptlib/object.h:1292: syntax error before `operator'
/usr/local/include/ptlib/object.h:1301: syntax error before `operator'
/usr/local/include/ptlib/object.h:1310: syntax error before `operator'
/usr/local/include/ptlib/object.h:1325: virtual outside class declaration
/usr/local/include/ptlib/object.h:1325: non-member function `void
PrintOn(std::ostream&)' cannot have `const' method qualifier
/usr/local/include/ptlib/object.h:1335: virtual outside class declaration
/usr/local/include/ptlib/object.h:1346: can't initialize friend function `
operator<<'
/usr/local/include/ptlib/object.h:1346: friend declaration not in class
definition