Home > Error C > Error C Compiler Cannot Make Executables

Error C Compiler Cannot Make Executables

Contents

asked 2 years ago viewed 74516 times active 2 years ago Related 4error while compiling ffmpeg: gcc is unable to create an executable file2How does a package like ATLAS know which Are you new to LinuxQuestions.org? something more problem in my case was the first "_UNIX", which is invalid parameter for compiler. Modified: branches/gcc-4_7-branch/libssp/ChangeLog branches/gcc-4_7-branch/libssp/configure branches/gcc-4_7-branch/libssp/configure.ac Comment 14 Benjamin Kosnik 2012-05-31 19:01:01 UTC Author: bkoz Date: Thu May 31 19:00:58 2012 New Revision: 188079 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188079 Log: 2012-05-31 Benjamin Kosnik PR libstdc++/52007 have a peek here

no checking for mawk... How can I list two concurrent careers, one full time and one freelance, on a CV? Is there a word in Esperanto for "lightsaber"? In addition, #-- specify a space-delimited list of hosts running in the DistCC cluster. #DISTCC_HOSTS="" ######################################################################### # GLOBAL PACKAGE OPTIONS # These are default values for the options=() settings ######################################################################### #

Configure Error C Compiler Cannot Create Executables Ubuntu

Browse other questions tagged compiling gcc 32bit apache-httpd or ask your own question. i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... Try: sudo apt install libc6-dev [Edit: this produces similar symptoms, but wasn't the case here. x86_64-unknown-linux-gnu checking target system type...

i686-pc-linux-gnu checking host system type... no checking for cc++... inside I searched for the error message, "cannot create executables" and I saw that I was compiling my program with command: gcc -o target _UNIX -D _UNIX ... Configure Error C Compiler Cannot Create Executables Solaris 10 Also don't build in > the source directory.

Thanks inoitna View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by inoitna 12-22-2008, 04:32 PM #11 Celestipoo LQ Newbie Registered: Dec Noha nmansour View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by nmansour 07-10-2008, 04:14 AM #10 inoitna LQ Newbie Registered: Jul yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... http://askubuntu.com/questions/647583/how-to-fix-configure-error-c-compiler-cannot-create-executables Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the

Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ Configure Error C Compiler Cannot Create Executables See Config.log' For More Details share|improve this answer answered Sep 27 '14 at 17:29 C-Rock 1 add a comment| up vote 0 down vote Make sure there are no spaces in your Xcode application name (can Offline #3 2010-02-03 17:17:03 intelligo Member Registered: 2010-02-03 Posts: 3 Re: [SOLVED] configure: error: C compiler cannot create executables Here's the config,log:This file contains any messages produced by compilers while running Also don't build in > > the source directory.

Configure Error C Compiler Cannot Create Executables Solaris

Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 297 Star 8,691 Fork 811 rbenv/rbenv Code Issues 34 Pull requests 14 Projects here Would a fighter jet be able to go into orbit from Mars surface? Configure Error C Compiler Cannot Create Executables Ubuntu It was created by configure, which was generated by GNU Autoconf 2.69. Configure Error C Compiler Cannot Create Executables Gentoo Not the answer you're looking for?

no checking for xlC_r... navigate here no checking whether g++ accepts -g... The time now is 08:54 AM. 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. Configure Error C Compiler Cannot Create Executables Macports

mkdir -p -- ia64-redhat-linux/libgcc Configuring in ia64-redhat-linux/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... Both gcc and base-devel are installed. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Check This Out How do hackers find the IP address of devices?

Please see the Help Center for more information." – Michael HamptonIf this question can be reworded to fit the rules in the help center, please edit the question. Configure Error C Compiler Cannot Create Executables Python no checking for xlC... configure:3311: $? = 4 configure:3331: checking whether the C compiler works configure:3353: gcc conftest.c >&5 /usr/bin/ld: cannot find crt1.o: No such file or directory /usr/bin/ld: cannot find crti.o: No such file

You must agree to both license agreements below in order to use Xcode. [...] After you have accepted it, the commandline tools will work as expected.

Rather than reinstall Xcode, I noticed there were two relevant lines in my config.log: configure:5130: checking for C compiler version configure:5139: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc --version >&5 That path did not exist for me. no checking for gpp... no checking for cc++... Configure Error C Compiler Cannot Create Executables Mac configure:3311: $? = 4 configure:3300: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated.

I use KDevelop for unix (c++ dev tool). Converting SCART to VGA/Jack Draw an asterisk triangle Is there a word in Esperanto for "lightsaber"? 2048-like array shift more hot questions question feed about us tour help blog chat data The existing apache 2.2.15 was compiled with m32 flag. this contact form Could intelligent life have existed on Mars while it was habitable?

After output "see config.log" I went to look at it; I missed the correct one, as there was one in project directory, which is not the correct one; correct one for mislav commented Sep 1, 2013 This should be reported to the ruby-build project, where rbenv install comes from, which handles compiling Rubies. This is free software; see the source for copying conditions. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration.

build 5484) configure:2857: $? = 0 configure:2864: gcc -V >&5 gcc-4.0: argument to `-V' is missing configure:2868: $? = 1 configure:2891: checking for C compiler default output file name configure:2913: gcc From that point I just followed the agreement process from gcc -v, after I agreed it works fine for me. more hot questions about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Other Stack 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 ## --------- ##

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 I've reinstalled Xcode as was recommended in a couple places, but no dice. The solution I used was the same as Mostafa, I had to export 2 variables: export CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc CPP='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -E' This was one Mac OSX Mavericks share|improve this answer answered Dec 20 We recommend upgrading to the latest Safari, Google Chrome, or Firefox.

Try which gcc On debian you probably need to install a build environment with apt-get install build-essential or even better apt-get build-dep you-package-name .