From: sunil s <sun...@gm...> - 2008-03-12 09:51:10
|
Hi All, I'm facing compilation errors on trying PTLIB version ptlib_v1_12_0 with GCC 3.2 (Red Hat Linux 8.0 3.2-7). Please help me on how to overcome this. Thanks, Sunil S [root@linus ptlib_v1_12_0]# make make P_SHAREDLIB=1 opt make[1]: Entering directory `/home/test/sunil/ptlib_v1_12_0' set -e; if test -e src/ptlib/unix ; then make -C src/ptlib/unix opt; fi; if test -e plugins ; then make -C plugins opt; fi; make[2]: Entering directory `/home/test/sunil/ptlib_v1_12_0/src/ptlib/unix' g++ -DP_USE_PRAGMA -D_REENTRANT -fno-exceptions -Wall -fPIC -DPIC -DNDEBUG -I/home/test/sunil/ptlib_v1_12_0/include -Os -felide-constructors -Wreorder -c tlib.cxx -o /home/test/sunil/ptlib_v1_12_0/lib/obj_linux_x86_r/tlib.o In file included from tlib.cxx:1012: tlibthrd.cxx:1759:1: directives may not be used inside a macro argument tlibthrd.cxx:1758:51: unterminated argument list invoking macro "PAssertPTHREAD" In file included from tlib.cxx:1012: tlibthrd.cxx: In constructor `PTimedMutex::PTimedMutex()': tlibthrd.cxx:1762: parse error before `)' token tlibthrd.cxx:1780:1: directives may not be used inside a macro argument tlibthrd.cxx:1779:51: unterminated argument list invoking macro "PAssertPTHREAD" In file included from tlib.cxx:1012: tlibthrd.cxx: In copy constructor `PTimedMutex::PTimedMutex(const PTimedMutex&)': tlibthrd.cxx:1783: parse error before `)' token make[2]: *** [/home/test/sunil/ptlib_v1_12_0/lib/obj_linux_x86_r/tlib.o] Error 1 make[2]: Leaving directory `/home/test/sunil/ptlib_v1_12_0/src/ptlib/unix' make[1]: *** [opt] Error 2 make[1]: Leaving directory `/home/test/sunil/ptlib_v1_12_0' make: *** [optshared] Error 2 [root@linus ptlib_v1_12_0]# |