Hi Ananth,

Instead of -r pthread, try with "-l -pthread" option, it will work. In tru64, the compiler flag to be used is "-pthread". I don't think -r pthread option of runConfigure works for tru64.

Regards
Prakash
PRABHU, ANANTHA (STSD) wrote:

Hi,

I am getting following error when i do a xerces build on Tru64,

gmake[3]: Entering directory 
`/usr/users/prabhua/Xerces/xerces-c-src_2_3_0/src/xercesc/util/Platforms/Tru64'
mkdir -p 
/usr/users/prabhua/Xerces/xerces-c-src_2_3_0/src/xercesc/include/xercesc/util/Platforms/Tru64
cp -fp Tru64Defs.hpp 
/usr/users/prabhua/Xerces/xerces-c-src_2_3_0/src/xercesc/include/xercesc/util/Platforms/Tru64
cxx -DTRU64 -ptr 
/usr/users/prabhua/Xerces/xerces-c-src_2_3_0/src/xercesc/.cxx_repository -c 
-I/usr/users/prabhua/Xerces/xerces-c-src_2_3_0/src/xercesc/include -w -O 
-DPROJ_XMLPARSER  -DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  
-DPROJ_DOM  -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER 
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET     -o 
/usr/users/prabhua/Xerces/xerces-c-src_2_3_0/src/xercesc/obj/TRU64/Tru64PlatformUtils.o
 Tru64PlatformUtils.cpp
cxx: Error: /usr/include/pthread.h, line 1251: #error directive: "Please
         compile the module including pthread.h with -pthread"
#  error "Please compile the module including pthread.h with -pthread"
---^
cxx: Info: 1 error detected in the compilation of "Tru64PlatformUtils.cpp".
gmake[3]: *** [Tru64PlatformUtils.o] Error 1
gmake[3]: Leaving directory 
`/usr/users/prabhua/Xerces/xerces-c-src_2_3_0/src/xercesc/util/Platforms/Tru64'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/users/prabhua/Xerces/xerces-c-src_2_3_0/src/xercesc/util/Platforms'
gmake[1]: *** [platforms] Error 2
gmake[1]: Leaving directory 
`/usr/users/prabhua/Xerces/xerces-c-src_2_3_0/src/xercesc/util'
gmake: *** [Util] Error 2


Is this some configuration issue. I ran "runConfigure" with following options, ./runConfigure -p tru64 -c cc -x cxx -r pthread -m inmem -n socket -t native

Could anyone help me out in resolving the above issue.


Thanks and Regards Ananth





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to