RTF2
Description: application/vms-rms
Hi, I am trying to build xerces version 2.1.0 on Compaq Tru64 strict_ansi. But this results in a few undefined indentifiers: - PATH_MAX - realpath - clock_gettime - CLOCK_REALTIME - fdopen
I know how to work around the clock_gettime and CLOCK_REALTIME but don't know how to solve the realpath, PATH_MAX and fdopen. Building without option -std strict_ansi is succesfull. But we need to build stict_ansi here. What am I doing wrong? Best regards, Nico Pranger **************************** * Additional information* **************************** Environment: Compaq Tru64-Unix version 5.1 compiler: cxx V6.3-008 **************** * LOGGING * **************** Generating makefiles with the following options ... Platform: tru64 C Compiler: cxx C++ Compiler: cxx Message Loader: inmem Net Accessor: socket Transcoder: native Thread option: pthread bitsToBuild option: 64 Extra compile options: -std strict_ansi_errors Extra link options: -std strict_ansi_errors Extra configure options: --prefix=/usr/appl/xerces/vob Debug is OFF creating cache ./config.cache checking for gcc... cxx checking whether the C compiler (cxx -std strict_ansi_errors -w -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_N ETACCESSOR_SOCKET -DXML_BITSTOBUILD_64 -std strict_ansi_errors ) works... yes checking whether the C compiler (cxx -std strict_ansi_errors -w -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_N ETACCESSOR_SOCKET -DXML_BITSTOBUILD_64 -std strict_ansi_errors ) is a cross-compiler... no checking whether we are using GNU C... no checking whether cxx accepts -g... yes checking for c++... cxx checking whether the C++ compiler (cxx -std strict_ansi_errors -w -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE _NETACCESSOR_SOCKET -DXML_BITSTOBUILD_64 -std strict_ansi_errors ) works... yes checking whether the C++ compiler (cxx -std strict_ansi_errors -w -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE _NETACCESSOR_SOCKET -DXML_BITSTOBUILD_64 -std strict_ansi_errors ) is a cross-compiler... no checking whether we are using GNU C++... no checking whether cxx accepts -g... yes checking for a BSD compatible install... /usr/local/bin/install -c checking for autoconf... true checking how to run the C preprocessor... cxx -E checking for ANSI C header files... yes checking for XMLByte... no checking host system type... alpha-dec-osf5.1 updating cache ./config.cache ... ... ... cxx -DTRU64 -ptr /usr/appl/xerces/vob/build/xerces-c-src2_1_0/.cxx_repository -c -I/usr/appl/xerces/vob/build/xerces-c-src2_1_0/include -std strict_ansi_errors -w -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREA DS -DXML_USE_NETACCESSOR_SOCKET -DXML_BITSTOBUILD_64 -o /usr/appl/xerces/vob /build/xerces-c-src2_1_0/obj/TRU64/Tru64PlatformUtils.o Tru64PlatformUtils.cpp cxx: Error: Tru64PlatformUtils.cpp, line 361: identifier "PATH_MAX" is undefined char *absPath = new char[PATH_MAX]; ---------------------------^ cxx: Error: Tru64PlatformUtils.cpp, line 364: identifier "realpath" is undefined char* retPath = realpath(newSrc, absPath); ------------------^ cxx: Error: Tru64PlatformUtils.cpp, line 507: identifier "CLOCK_REALTIME" is undefined clock_gettime (CLOCK_REALTIME, &ts); -----------------^ }; -^ cxx: Error: Tru64PlatformUtils.cpp, line 603: extra ";" ignored }; -^ cxx: Error: Tru64PlatformUtils.cpp, line 729: identifier "fdopen" is undefined return (FileHandle)fdopen(dup(0), "rb"); ---------------------^ cxx: Info: 6 errors detected in the compilation of "Tru64PlatformUtils.cpp". gmake[3]: *** [Tru64PlatformUtils.o] Error 1 ************** * End LOG* ************** Disclaimer: De inhoud van dit bericht is uitsluitend bestemd voor geadresseerde. Gebruik van de inhoud van dit bericht door anderen zonder toestemming van het Kadaster is onrechtmatig. Mocht dit bericht ten onrechte bij u terecht komen, dan verzoeken wij u dit direct te melden aan de verzender en het bericht te vernietigen. Aan de inhoud van dit bericht kunnen geen rechten worden ontleend. Disclaimer: The content of this message is meant to be received by the addressee only. Use of the content of this message by anyone other than the addressee without the consent of the Kadaster is unlawful. If you have received this message but are not the addressee, please contact the sender immediately and destroy the message. No rights can be derived from the content of this message.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]