Hi, you are mixing xlc and gcc flags. To compile 64-bit code with xlc use -q64 as you did. Using gcc you need to pass -maix64. If the linker is invoked by gcc you will also need to tell gcc to pass the -b64 option to the linker: -Wl,-b64
Regards, Stefan Am 10.09.2014 10:55, schrieb Sreejib Ghosh: > Hi Experts > We are facing issue while installing Apache 2.2.29 in AIX 7.1 > > > we are using following environments: > > export CFLAGS="-q64" > > export LDFLAGS="-q64" > export EXTRA_LDFLAGS_SHLIB="-b64" > export OBJECT_MODE=64 > export CC=”gcc” > > <SAP recommended CC should be native ANSI-C> <what should be value of CC ? > > > We are using httpd-2.2.29 … SAP doesn’t support latest version 2.4.x > > =============================ERROR LOG================= > > # ./configure --prefix=/usr/sap/apache --enable-mods-shared=most > --with-mpm=prefork --with-expat=builtin > checking for chosen layout... Apache > checking for working mkdir -p... yes > checking build system type... powerpc-ibm-aix7.1.0.0 > checking host system type... powerpc-ibm-aix7.1.0.0 > checking target system type... powerpc-ibm-aix7.1.0.0 > Configuring Apache Portable Runtime library ... > checking for APR... reconfig > configuring package in srclib/apr now > checking build system type... powerpc-ibm-aix7.1.0.0 > checking host system type... powerpc-ibm-aix7.1.0.0 > checking target system type... powerpc-ibm-aix7.1.0.0 > Configuring APR library > Platform: powerpc-ibm-aix7.1.0.0 > checking for working mkdir -p... yes > APR Version: 1.5.1 > checking for chosen layout... apr > checking for gcc... gcc > checking whether the C compiler works... no > configure: error: in `/sapdb/SDB/sapdata4/DUMP/httpd-2.2.29/srclib/apr': > configure: error: C compiler cannot create executables > See `config.log' for more details > configure failed for srclib/apr > # > ====================================================== > > other details are attached here-with. > > Please help us. > > Thanks & regards, > > Sreejib Ghosh
