Home > Configure Error > Configure Error C Compiler Cannot Create Executables Aix 5.3

Configure Error C Compiler Cannot Create Executables Aix 5.3

powerpc-ibm-aix5.3.0.0 checking target system type... Select Forum AIX HP-UX Linux Solaris System i OS400 System z Windows DB2 Informix MSSQL MySQL Netezza Oracle PostgreSQL Progress SAP HANA Sybase Teradata Not OS and not DB Off topic This is free software; see the source for copying conditions. This e-mail may contain confidential and/or privileged information. http://iembra.org/configure-error/configure-error-c-compiler-cannot-create-executables.php

The PATH of the gcc is OK but now, new error : Configuring Apache Portable Runtime Utility library... Confirmed this with: # lslpp -l | grep -i xlc xlC.aix50.rte COMMITTED XL C/C++ Runtime for AIX 5.3 xlC.cpp COMMITTED C for AIX Preprocessor xlC.msg.en_US.cpp COMMITTED C for David Index: install.texi =================================================================== RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v retrieving revision 1.194 diff -c -p -r1.194 install.texi *** install.texi 31 May 2003 09:31:41 -0000 1.194 --- install.texi 4 Jun 2003 17:08:06 -0000 *************** checking for APR-util...

You usually seem to have the latest word on AIX issues, so I was wondering if you have some idea of what's going on here. Binutils does not sufficiently support AIX 5L to bootstrap GCC. Password Linux - Server This forum is for the discussion of Linux Software used in a server related context. Invocation command line was $ ./configure --prefix=/opt/myapp/apache2.2 --with-mpm=worker --enable-static-support --enable-ssl=static --enable-modules=most --disable-authndbd --disable-authn-dbm --disable-dbd --enable-static-logresolve --enable-static-rotatelogs --enable-proxy=static --enable-proxyconnect=static --enable-proxy-ftp=static --enable-proxy-http=static --enable-rewrite=static --enable-so=static --with-ssl=/opt/myapp/apache2.2/openssl --host=x86_32-unknown-linux-gnu host_alias=x86_32-unknown-linux-gnu CFLAGS=-m32 LDFLAGS=-m32 --with-included-apr ## --------- ##

This e-mail may contain confidential and/or privileged information. Is it a bug in gcc? Home | Invite Peers | More UNIX Groups Your account is ready. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

apr checking for gcc... Thanks, Dara Comment 25 David Edelsohn 2003-06-04 17:02:05 UTC AIX Comment 26 David Edelsohn 2003-06-04 17:04:18 UTC Patch applied to GCC 3.3.1 and GCC 3.4 documentation. The Cygnus/Red Hat "GNUPro GCC 2.9" compiler distributed in the AIX toolbox for Linux also has a bug preventing GCC bootstrap. https://www.ibm.com/developerworks/community/forums/thread.jspa?threadID=454284 conftest.o /software/gcc-3.3-obj/gcc/ppc64/libgcc.a /software/gcc-3.3-obj/gcc/ppc64/libgcc_eh.a -lc /software/gcc-3.3-obj/gcc/ppc64/libgcc.a /software/gcc-3.3-obj/gcc/ppc64/libgcc_eh.a -binitfini:_GLOBAL__FI_conftest:_GLOBAL__FD_conftest
ld: 0711-738 ERROR: Input file /tmp//ccIAjoKb.o:
        XCOFF32 object files are not allowed in 64-bit mode.

cc -qlanglvl=extc89 -E configure: error: in `/wastest/produits/src_apache2.4.2/httpd-2.4.2': configure: error: C preprocessor "cc -qlanglvl=extc89 -E" fails sanity check See `config.log' for more details Any idea ? Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... And don't worry about "5.1". You could perhaps write something like "I you have installed binutils, configure gcc not to use GNU-as and GNU-ld with --...." Thank you very much for your help Rolf -- Diese

  1. I have modified my script.
  2. I think we're getting close.
  3. Search this Thread 03-09-2009, 09:36 AM #1 aixuser LQ Newbie Registered: Mar 2009 Posts: 3 Rep: Apache Server Compilation failing on AIX 5.3 Hello All, I am trying to

This is free software; see the source for copying conditions. More Bonuses I erase and i re-install all this rpm, my script seems to work :) I check... This is the accepted answer. no checking for suffix of object files...

Unanswered question This question has not been answered yet. http://iembra.org/configure-error/configure-error-c-compiler-cannot-create-executables-in-aix.php The native @command{as} and @command{ld} are recommended for bootstrapping ! I used above flags to resolve the issue Log in to reply. 8XMT_laurent_derewonko 2700038XMT 1 Post Re: Compil of apache 2.2 KO on AIX 6.1 ‏2014-05-04T10:44:39Z This is the accepted Reading specs from /software/gcc-3.3-obj/gcc/specs Configured with: /software/gcc-3.3/configure Thread model: aix gcc version 3.3 /software/gcc-3.3-obj/gcc/cc1 -quiet -v -iprefix /software/gcc-3.3-obj/gcc/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3/ -isystem /software/gcc-3.3-obj/gcc/include -isystem /usr/local/powerpc-ibm-aix5.1.0.0/bin/include -isystem /usr/local/p owerpc-ibm-aix5.1.0.0/lib/include -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 -D__64BIT__ -i conftest.c

Check your path, and make sure the GCC compiler is getting called first, not the IBM 'default' compiler. it is not supported on the platform. eepeesalimep replied Feb 15, 2012 Try to find the location you installed compiler. Check This Out Okay, so what we have here is pretty clearly a 64-bit file which ld thinks is 32-bit.

checking for APR... collect2: ld returned 8 exit status
+ /software/gcc-3.3-obj/gcc/xgcc -B/software/gcc-3.3-obj/gcc/ -B/usr/local/powerpc-ibm-aix5.1.0.0/bin/ -B/usr/local/powerpc-ibm-aix5.1.0.0/lib/ -isystem /usr/local/powerpc-ibm-aix5.1.0.0/include -maix64 -v -o conftest.o -O2 -c -g -O2 conftest.c
Reading specs from /software/gcc-3.3-obj/gcc/specs
Comment 14 David Edelsohn 2003-05-29 01:34:37 UTC Subject: Re: C compiler cannot create executables What is /usr/local/powerpc-ibm-aix5.1.0.0/bin/as ?

Comment 22 David Edelsohn 2003-06-02 17:37:38 UTC Subject: Re: [AIX] C compiler cannot create executables >>>>> rolf-alois walter@db com writes: rolf> How would you classify this problem? More... > kiko75 wrote: > Thank you for your help. AIX which causes GCC to try to utilize weak symbol functionality although ! Invocation command line was $ /sapcd/apache/httpd-2.2.11/srclib/apr/configure --disable-option-checking -C --enable-so --prefix /usr/sap/apache CC=gcc-maix64 CFLAGS=-q64 LDFLAGS=-q64 --cache-file=/sapcd/apache/httpd-2.2.11/config.cache --srcdir=/sapcd/apache/httpd-2.2.11/srclib/apr --prefix=/usr/sap/apache --exec-prefix=/usr/sap/apache --libdir=${prefix}/lib --includedir=/usr/sap/apache/include --bindir=${prefix}/bin --datadir=/usr/sap/apache --with-installbuilddir=${prefix}/build ## --------- ## ## Platform. ## ## ---------

Browse other questions tagged compiling gcc 32bit apache-httpd or ask your own question. This is the accepted answer. yes checking whether gcc accepts -g... this contact form configure: error: in `/usr/net-snmp-': configure: error: C compiler cannot create executables See `config.log' for more details. * I got following o/p in config.log' : *configure:5835: checking whether the Perl function system()

Umm, can you run the 'file' command on conftest.o to see what, in fact, it is?