Hi, I have just installed Xerces-c on my AIX 5.2 machine. After setting all the environment variables, I have run the runConfigure command as follows:
[mediaapp:/mediaapp/xerces_lib/xerces-c-aix_510-xlc_60_050623/samples]runConfigure -paix -cxlc_r -xxlC_r -rdce Generating makefiles with the following options ... Platform: aix C Compiler: xlc_r C++ Compiler: xlC_r Thread option: dce bitsToBuild option: 32 Extra compile options: Extra link options: Debug is OFF Found host system to be powerpc-ibm-aix5.2.0.0 creating cache ./config.cache checking for gcc... xlc_r checking whether the C compiler (xlc_r -w -O2 -DNDEBUG -DXML_USE_DCE ) works... yes checking whether the C compiler (xlc_r -w -O2 -DNDEBUG -DXML_USE_DCE ) is a cross-compiler... no checking whether we are using GNU C... no checking whether xlc_r accepts -g... yes checking for c++... xlC_r checking whether the C++ compiler (xlC_r -w -O2 -DNDEBUG -DXML_USE_DCE ) works... yes checking whether the C++ compiler (xlC_r -w -O2 -DNDEBUG -DXML_USE_DCE ) is a cross-compiler... no checking whether we are using GNU C++... no checking whether xlC_r accepts -g... yes checking for a BSD compatible install... ./install-sh -c checking for autoconf... true checking for floor in -lm... yes checking for pthread_create in -lpthread... yes checking how to run the C preprocessor... xlc_r -E checking for inttypes.h... yes checking host system type... powerpc-ibm-aix5.2.0.0 updating cache ./config.cache creating ./config.status creating Makefile creating SAXCount/Makefile creating SAX2Count/Makefile creating DOMCount/Makefile creating SAXPrint/Makefile creating SAX2Print/Makefile creating DOMPrint/Makefile creating MemParse/Makefile creating Redirect/Makefile creating PParse/Makefile creating StdInParse/Makefile creating EnumVal/Makefile creating SEnumVal/Makefile creating CreateDOMDocument/Makefile creating SCMPrint/Makefile creating PSVIWriter/Makefile Having build problems? Read instructions at http://xml.apache.org/xerces-c/build.html In future, you may also directly type the following commands to create the Makefiles. export THREADS="dce" export BITSTOBUILD="32" export CC="xlc_r" export CXX="xlC_r" export CXXVER="" export CXXFLAGS=" -w -O2 -DNDEBUG -DXML_USE_DCE " export CFLAGS=" -w -O2 -DNDEBUG -DXML_USE_DCE " export LDFLAGS=" " export EXTRA_LIBS=" -lC_r -lC -ldcelibc_r -ldcepthreads" configure If the result of the above commands look OK to you, go to the directory /mediaapp/xerces_lib/xerces-c-aix_510-xlc_60_050623/samples and type "gmake" to make the samples. After that I run the "make" command as follows: [mediaapp:/mediaapp/xerces_lib/xerces-c-aix_510-xlc_60_050623/samples]make Building SAXPrint make -C SAXPrint make: Not a recognized flag: C usage: make [-einqrst] [-k|-S] [-d[A|adg[1|2]mstv]] [-D variable] [-f makefile ] [variable=value ...] [target ...] make: 1254-004 The error code from the last command is 2. Stop. Kindly help me to resolve this issue. Thanks in advance. Ahmad Jalil Qarshi
