Home > Configure Error > Configure Error C Compiler Cannot Create Executables Ubuntu 12.04

Configure Error C Compiler Cannot Create Executables Ubuntu 12.04

This calls cpuid and other possibly restricted instructions (any chance your VM has some additional security features in place?) I'm not familiar with any changes that the "Ubuntua/Linaro" gcc may have If I can figure it out.Thanks BTC: 1MrNRPo7p8DEyxn87c9BCGwrbatBQeCHc1 gnarcoinguy Member Offline Activity: 79 Re: Ubuntu 12.04 - cpuminer compile problem - "C compiler cannot create..." March 22, 2013, 05:09:00 PM  #8 Try using export CFLAGS="-march=native -O2 -pipe" before you run ./configure share|improve this answer answered Feb 8 at 21:59 Jeffrey Coleman 1499 add a comment| up vote -1 down vote After some Or should I install 32bit compiler toolchain for getting it work. –Vishal Jul 24 '14 at 18:53 Thanks. http://haywirerobotics.com/configure-error/configure-error-c-compiler-cannot-create-executables-ubuntu-11-10.html

asked 3 years ago viewed 8717 times active 1 year ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 702Learning to write a compiler3Dealing with “C compiler cannot create yeschecking for unistd.h... Done build-essential is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ

Advertise here. 1478622336 Hero Member Offline Posts: 1478622336 Ignore 1478622336 1478622336 #2 1478622336 Report to moderator gnarcoinguy Member Offline Activity: 79 Re: Ubuntu 12.04 - cpuminer compile problem - "C compiler But well, there are always people available to answer questions. 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.

  • 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.
  • yes checking for gcc...
  • no configure: error: in `/home/vkuser/httpd-2.2.27/srclib/apr': configure: error: C compiler cannot create executables I have tried to search online but no luck.
  • You can fix it, but really, look for a later version of the package which has been fixed.
  • Try: sudo apt install libc6-dev [Edit: this produces similar symptoms, but wasn't the case here.
  • The users who voted to close gave this specific reason:"Questions must be relevant to professional system administration.
  • If you want to build using the standard system versions of the build tools, you will need to adjust your PATH environment variable so that it searches /usr/bin ahead of /usr/local/bin
  • configure:3436: $? = 0 configure:3425: gcc -v >&5 Using built-in specs.

Noha nmansour View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by nmansour 07-10-2008, 05:14 AM #10 inoitna LQ Newbie Registered: Jul yeschecking dependency style of gcc -std=gnu99... You might be able to fix this by setting CFLAGS to include -march: export CFLAGS="-march=x86-64 -mtune=x86-64" (If that works then try -march=native -mtune=native ) Its possible that -march=native detection with local_cpu_detect() Check any CFLAGS you may have specified.

linux-mint gcc wine share|improve this question edited Jul 18 '15 at 4:51 eyoung100 3,9501137 asked Jul 17 '15 at 23:31 BrokenRobot 31113 1 What happens if you create a trivial configure:3820: $? = 4 configure:3840: checking whether the C compiler works configure:3862: gcc -march=native -mtune=native conftest.c >&5 configure:3866: $? = 0 configure:3914: result: yes configure:3917: checking for C compiler default output What crime would be illegal to uncover in medieval Europe? http://stackoverflow.com/questions/16158609/c-compiler-cannot-create-executables-in-ubuntu-12-04 configure:4417: $? = 4 configure:4406: g++ -qversion >&5 g++: error: missing argument to '-march=' g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated.

i686-pc-linux-gnuchecking target system type... 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 Installing glibc-devel.i386 resolved my issue. current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize your list.

The error messages emitted from the compiler may be helpful in remedying this. http://serverfault.com/questions/580489/configure-error-c-compiler-cannot-create-executables-while-build-ruby-from-sou yeschecking whether we can compile XOP code... no checking for CC... yes checking for gcc...

I tried the ./configure command again with no variables and all went well. http://haywirerobotics.com/configure-error/configure-error-c-compiler-cannot-create-executables-aix-5-3.html config.log output: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. thanks for the fix –Mike O Jul 12 '15 at 20:18 add a comment| up vote 1 down vote I was having this exact same problem trying to install tivodecode on Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us.

And just for shits and giggles try ./configure without any flags to see if you get any different errors. You are probably missing that package. Click Here to receive this Complete Guide absolutely free. have a peek here I read a number of articles, but they seem to be pointing to different things.

Do you need a 32 bit apache? –casey Jul 24 '14 at 18:41 Apparantly yes. no checking for gpp... nochecking whether be32enc is declared...

Not the answer you're looking for?

I don't know what the flags meant after ./configure. no checking for cc++... Thanks inoitna View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by inoitna 12-22-2008, 05:32 PM #11 Celestipoo LQ Newbie Registered: Dec Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 12 Thread: C Compiler cannot create executables - wine installation Thread Tools Show Printable Version Subscribe to

yeschecking for sys/types.h... a.out checking for suffix of executables... Better yet, install the build-essential package. Check This Out In its entirety, before trying your suggestion, below:QuoteThis file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by cpuminer configure 2.2.3,

share|improve this answer answered Jul 18 '15 at 0:02 yaegashi 6,0161221 add a comment| up vote 0 down vote You could have unrecognized CFLAGS set. If not, sudo apt-get install gccI do/did, and it's at latest version. Halting the installation. share|improve this answer edited Mar 13 at 9:02 Mostafa Ahangarha 1,40731028 answered Mar 13 at 7:07 JohnH 111 add a comment| Your Answer draft saved draft discarded Sign up or

yeschecking for curl_free... Need to change cash to cashier's check without bank account (Just arrived to the US) Expression evaluates numerically inside of Plot but not otherwise Teenage daughter refusing to go to school 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 yeschecking for C compiler default output file name...

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 .