I am trying to build xerces 2.6.0 on solaris 2.5.1 using gcc and g++.
Here are the compilation errors I am getting: make[3]: Entering directory `/home/nm79568/xml/xerces-c-src_2_6_0/src/xercesc/util/Platforms/Solaris' mkdir -p /home/nm79568/xml/xerces-c-src_2_6_0/src/xercesc/include/xercesc/util/Platforms/Solaris cp -fp SolarisDefs.hpp /home/nm79568/xml/xerces-c-src_2_6_0/src/xercesc/include/xercesc/util/Platforms/Solaris c++ -fPIC -DSOLARIS -D_REENTRANT -c -I/home/nm79568/xml/xerces-c-src_2_6_0/src/xercesc/include -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -o /home/nm79568/xml/xerces-c-src_2_6_0/src/xercesc/obj/SOLARIS/SolarisPlatformUtils.o SolarisPlatformUtils.cpp SolarisPlatformUtils.cpp: In static member function `static unsigned int xercesc_2_6::XMLPlatformUtils::curFilePos(FileHandle, xercesc_2_6::MemoryManager*)': SolarisPlatformUtils.cpp:172: error: `tell' undeclared (first use this function) SolarisPlatformUtils.cpp:172: error: (Each undeclared identifier is reported only once for each function it appears in.) SolarisPlatformUtils.cpp: In static member function `static unsigned int xercesc_2_6::XMLPlatformUtils::fileSize(FileHandle, xercesc_2_6::MemoryManager*)': SolarisPlatformUtils.cpp:192: error: `tell' undeclared (first use this function) SolarisPlatformUtils.cpp: In static member function `static FileHandle xercesc_2_6::XMLPlatformUtils::openFile(const char*, xercesc_2_6::MemoryManager*)': SolarisPlatformUtils.cpp:218: error: `O_LARGEFILE' undeclared (first use this function) SolarisPlatformUtils.cpp: In static member function `static FileHandle xercesc_2_6::XMLPlatformUtils::openFile(const XMLCh*, xercesc_2_6::MemoryManager*)': SolarisPlatformUtils.cpp:230: error: `O_LARGEFILE' undeclared (first use this function) SolarisPlatformUtils.cpp: In static member function `static FileHandle xercesc_2_6::XMLPlatformUtils::openFileToWrite(const XMLCh*, xercesc_2_6::MemoryManager*)': SolarisPlatformUtils.cpp:242: error: `O_LARGEFILE' undeclared (first use this function) SolarisPlatformUtils.cpp: In static member function `static FileHandle xercesc_2_6::XMLPlatformUtils::openFileToWrite(const char*, xercesc_2_6::MemoryManager*)': SolarisPlatformUtils.cpp:248: error: `O_LARGEFILE' undeclared (first use this function) make[3]: *** [SolarisPlatformUtils.o] Error 1 make[3]: Leaving directory `/home/nm79568/xml/xerces-c-src_2_6_0/src/xercesc/util/Platforms/Solaris' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/nm79568/xml/xerces-c-src_2_6_0/src/xercesc/util/Platforms' make[1]: *** [platforms] Error 2 make[1]: Leaving directory `/home/nm79568/xml/xerces-c-src_2_6_0/src/xercesc/util' make: *** [Util] Error 2 Any ideas on how I can get around this? Also, will solaris 2.8 binaries for xercesc work in solaris 2.5? Thanks, Natarajan Murugaiyan(Ravi) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]