Home > C Compiler > C Compiler Cannot Create Executables Redhat

C Compiler Cannot Create Executables Redhat

What now? Also don't build in the source directory. Posts: 23,066 Blog Entries: 11 Rep: Excellent - so we know the install went well Now check whether you have any CPPFLAGS defined before configure runs. Here is content of config.log #/usr/local/bin/autoconf -v # ./configure This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. his comment is here

configure:2973: $? = 0 configure:2980: gcc -v >&5 Using built-in specs. Status:ClosedStart date:27.04.2011Priority:LowAssignee:Tobias BrunnerCategory:- Affected version:4.5.1 Resolution: Description Hi. I would appreciate any help you can provide. How can I prove its value? recommended you read

Advisor professor asks for my dissertation research source-code My manager said I spend too much time on Stack Exchange. Read the docs. Cheers! –Vishal Jul 25 '14 at 15:08 add a comment| up vote 6 down vote CC='' tells me, you no compiler is set. Replaced mtune with mcpu and all went well.

This site is not affiliated with Linus Torvalds or The Open Group in any way. Can I get a dual entry Schengen visa for tourism purpose for me and my wife? Description chilaka 2012-01-26 10:22:27 UTC While installing gcc on a IA64 rhel5 box, I am facing the below problem. /root/gcc/gcc-4.2.4 [root@colt102d gcc-4.2.4]# CC=gcc [root@colt102d gcc-4.2.4]# export CC [root@colt102d gcc-4.2.4]# ./configure loading ia64-redhat-linux-strip checking whether ln -s works...

Is it possible to write division equation in more rows? gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details. You typically have to install a particular package to build things, for example on a debian derived distro you need build essential. –Chris Stratton Oct 24 '14 at 18:10 1 http://unix.stackexchange.com/questions/146402/configure-error-c-compiler-cannot-create-executables Maybe he wants to patch the source.

All Red Hat development packages are installed. ia64-redhat-linux-lipo checking for ia64-redhat-linux-nm... /opt/objdir/./gcc/nm checking for ia64-redhat-linux-ranlib... What is really curved, spacetime, or simply the coordinate lines? Modified: branches/gcc-4_7-branch/libgfortran/ChangeLog branches/gcc-4_7-branch/libgfortran/configure branches/gcc-4_7-branch/libgfortran/configure.ac Format For Printing -XML -Clone This Bug -Top of page Home | New | Browse | Search | [?] | Reports | Help | NewAccount | Log

You are probably missing that package. click resources Thanks Ravi Comment 10 Andrew Pinski 2012-01-28 04:05:52 UTC You need to have follow the directorions for building a cross sysroot or have a sysroot already built. yeschecking how to create a ustar tar archive... gnutarchecking for pkg-config... /usr/bin/pkg-configchecking pkg-config is at least version 0.9.0...

Why do I never get a mention at work? http://cmptp.com/c-compiler/c-compiler-cannot-create-executables-mac.html Comment 11 chilaka 2012-01-28 07:18:25 UTC (In reply to comment #10) > You need to have follow the directorions for building a cross sysroot or have a > sysroot already built. noconfigure: error: in `/root/strongswan-4.5.1':configure: error: C compiler cannot create executablesSee `config.log' for more details #3 Updated by Tobias Brunner over 5 years ago config.log looks exactly the same as well. Invocation command line was $ ./configure --prefix=/usr --sysconfdir=/etc 1. --------- ##
2.

What is really curved, spacetime, or simply the coordinate lines? asked 2 years ago viewed 78144 times active 2 years ago Related 4error while compiling ffmpeg: gcc is unable to create an executable file3Linux cannot compile without GCC optimizations; implications?0C compiler It was created by configure, which was generated by GNU Autoconf 2.59. weblink Is there a name for the (anti- ) pattern of passing parameters that will only be used several levels deep in the call chain?

Is adding the ‘tbl’ prefix to table names really a problem? Why do I never get a mention at work? thnx in advance [[email protected] root]# /usr/bin/perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-multi uname='linux str' config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g -Dmyhostname=loca lhost

gawk checking whether make sets $(MAKE)...

config.log looks exactly the same as well. ./configure --prefix=/usr --sysconfdir=/etc CC=/usr/bin/gccchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... Post your question in this forum. Add comments to a python script and make it a bilingual python/C++ “program” If a reviewer makes significant contributions to improving a paper, may he/she suggest becoming a coauthor? If that's thecase here, you should see error messages to that effect in the config.log.

Overriding the flags was the issue. yes checking for gcc... more hot questions question feed lang-c about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation http://cmptp.com/c-compiler/c-compiler-cannot-create-executables-in-redhat.html Why are password boxes always blanked out when other sensitive data isn't?

Invocation command line was $ ./configure --prefix=/usr ## --------- ## ## Platform. ## ## --------- ## hostname = uknow4kids uname -m = i686 uname -r = 2.6.32-ARCH uname -s = Linux It was created by Tux Of Math Command configure 1.7.2, which was generated by GNU Autoconf 2.63. It was created by unixODBC configure 2.3.2-pre, which was generated by GNU Autoconf 2.68. gcc -v Cheers, Tink Tinkster View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by Tinkster View Blog 05-25-2006, 05:00

Both my gcc and base-devel were somehow corrupted, but after forcing a reinstall my builds are going along nicely. x86_64-unknown-linux-gnu checking host system type... By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. To override the default CFLAGS please try the following: ./configure --prefix=/usr --sysconfdir=/etc CC=/usr/bin/gcc CFLAGS="-g -O2" And please attach the config.log, if it still does not work. #4 Updated by Linda Feliciano

Remedies Build for a 64 bit target (by removing the configure options forcing a 32 bit build), or Install a 32 bit compiler toolchain share|improve this answer edited Jul 24 '14 Having a problem logging in? thx redsnapperke View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by redsnapperke 05-29-2006, 10:24 AM #7 redsnapperke LQ Newbie Registered: May Can one bake a cake with a cooked egg instead of a raw one?

In a company crossing multiple timezones, is it rude to send a co-worker a work email in the middle of the night? x86_64 checking for --without-gcc... It was created by strongSwan configure 4.5.1, which wasgenerated by GNU Autoconf 2.67. Anyone know what it is?

Is it acceptable to ask an unknown professor for help in a related field during his office hours? It was created by configure, which was generated by GNU Autoconf 2.67. I bet you don't have all the right packages installed to use gcc. configure: error: C compiler cannot create executables See `config.log' for more details.

Further down we see: ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=-m32 This flag tells gcc to produce 32 bit objects. Not the answer you're looking for? Is it acceptable to ask an unknown professor for help in a related field during his office hours? i686-pc-linux-gnulibc1 Configuring Apache Portable Runtime library ...