C Compiler Cannot Create Executables In Redhat
Search this Thread 05-23-2006, 11:35 AM #1 redsnapperke LQ Newbie Registered: May 2006 Posts: 8 Rep: configure: error: C compiler cannot create executables Hello, i have a problem when How can I prove its value? Can I get a dual entry Schengen visa for tourism purpose for me and my wife? yes checking for ia64-redhat-linux-gcc... /opt/objdir/./gcc/xgcc -B/opt/objdir/./gcc/ -B/opt/ia64gcc/ia64-redhat-linux/bin/ -B/opt/ia64gcc/ia64-redhat-linux/lib/ -isystem /opt/ia64gcc/ia64-redhat-linux/include -isystem /opt/ia64gcc/ia64-redhat-linux/sys-include checking for suffix of object files... this contact form
Browse other questions tagged linux-mint gcc wine or ask your own question. 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 Issue #127 C compiler cannot create executables Added by Linda Feliciano over 5 years ago. 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 http://unix.stackexchange.com/questions/216856/c-compiler-cannot-create-executables
configure: error: C compiler cannot create executables See `config.log' for more details. yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... Assigning a unique representation to equivalent circular queues Can I switch from past tense to present tense in an epilogue? Generally you will need root privilege with sudo only at the final step you install it in the system. ./configure make sudo make install According to config.log, you failed to build
Where in the GCC installation docs does it say to run autoconf? Thank you. yes checking build system type... ia64-unknown-linux-gnu checking build system type...
gawkchecking whether make sets $(MAKE)... i686-pc-linux-gnulibc1 Configuring APR library Platform: i686-pc-linux-gnulibc1 checking for working mkdir -p... Why didn’t Japan attack the West Coast of the United States during World War II? http://unix.stackexchange.com/questions/146402/configure-error-c-compiler-cannot-create-executables more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. http://www.linuxquestions.org/questions/linux-software-2/configure-error-c-compiler-cannot-create-executables-447734/ I am using gcc version 4.4.7 software-installation compiling gcc configure share|improve this question edited Oct 24 '15 at 22:49 Gilles 376k716881132 asked Oct 24 '15 at 4:38 OMGitzMidgar 1112 add a x86_64-unknown-linux-gnu checking for style of include used by make... Invocation command line was $ ./configure --prefix=/usr --sysconfdir=/etc 1. --------- ##
I would appreciate any help you can provide. weblink yum install gcc
yum install gcc glibc glibc-common
yum install gcc-c++
yum install gcc gcc-c++ kernel-devel
yum groupinstall "Development Tools" Finally I try to install Glibc headers However when following the typical ./configure to set it up I get these errors for unixODBC: checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... 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.
I want to upgrade it to 2.2.27 instead of performing a fresh 2.2.27 installation. gnutarchecking for pkg-config... /usr/bin/pkg-configchecking pkg-config is at least version 0.9.0... The existing apache 2.2.15 was compiled with m32 flag. navigate here no" colt102d directory contains target machine's /usr,/lib directories.
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 Here are the contents of the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk...
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3073: $? = 0 configure:3080: gcc -v >&5 Using built-in specs. configure: error: C compiler cannot create executables See `config.log' for more details. Comment 5 Jonathan Wakely 2012-01-26 10:41:20 UTC The problem you're facing is that you didn't read the documentation on installing GCC, starting at http://gcc.gnu.org/install/ and summarised at http://gcc.gnu.org/wiki/InstallingGCC We can't really
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. You can find the recommended way for Ubuntu. Replaced mtune with mcpu and all went well. his comment is here But well, there are always people available to answer questions.
From what I understand it is an embedded flavor of Linux using the opkg package manager. Posts: 23,066 Blog Entries: 11 Rep: What are you trying to compile?