Home > C Compiler > C Compiler Cannot Create Executables Gentoo

C Compiler Cannot Create Executables Gentoo

Contents

Rating is available when the video has been rented. Currently: $ ls bin binutils-bin gcc-bin lib I may be missing sys-include dir? I ran into this a while back and I had to do a emerge -e system then a emerge -e world. Send feedback

Tim Mattison Hardcore tech RSS Home Archives How-To: Fix "Configure: Error: C Compiler Cannot Create Executables" on Gentoo Nov 9th, 2009 | Comments I encountered this message today http://cmptp.com/c-compiler/c-compiler-cannot-create-executables-linux-gentoo.html

Wonko Index | Next | Previous | Print Thread | View Threaded Gentoo Alpha AMD64 Announce Desktop Dev Doc Embedded GWN Hardened HPPA MIPS OSX Performance PPC-Dev PPC-User There are occasions where mixing stable/unstable does not turn out to well. Feel free to ask me anything else, Thanks, Ezequiel. rdalek1967 at gmail May27,2012,5:18PM Post #4 of 12 (4409 views) Permalink Re: Can't emerge any gcc [In reply to] Ezequiel Garcia wrote: > Hi, Changed the CHOST, CFLAGS, CBUILD, and CTARGET to be i686-pc-linux-gnu as opposed to x86_64-amd-linux-gnu and went to recompile. https://forums.gentoo.org/viewtopic.php?t=27719

Gcc-config: Active Gcc Profile Is Invalid!

I know it's failing at this point: Code: checking for C compiler default output file name... Last edited by MarcusWebb1966; 06-15-2011 at 05:59 AM. Press escape to exit it when you’re done. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.4.5 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.5 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.5/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.5/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.4.5/python --enable-checking=release --disable-libgcj --with-arch=i686

I’ve seen this error message before but today, as luck would have it, I had just made some changes to my make.conf so I knew exactly where to look. I'm plowing through the marathon that is andrewthomas' link (I'd already been there and tried some of that, but a more thorough and methodical approach is clearly called for!) i92guboj - Posted by admin Nov 9th, 2009 How-To Tweet I encountered this message today when trying to update glib-2.20.5-r1 on my 64-bit Gentoo box. That will most likely fix your problem.

Published on Nov 2, 2015Gentoo Tidbits - "C Compiler Cannot Create Executables" If you try to run emerge after a GCC update and get the above error, this may help you. I tried emerging 4.7, 4.5.3-r2 with no luck. The time now is 01:19 AM. yes checking whether ln -s works...

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. How to harness Jupiter's gravitational energy? If this works (it will) then there is *definitely* something wrong with my system. wonko at wonkology May29,2012,7:10AM Post #12 of 12 (4395 views) Permalink Re: Can't emerge any gcc [In reply to] Linux4UnMe 11,072 views 27:02 Slackware 14.2 KDE 4.14 Review - Duration: 19:42.

Cflags

You # should probably be using a different stage, instead. http://www.optilabs.eu/qa/en/8/how-to-resolve-c-compiler-cannot-create-executables Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Gcc-config: Active Gcc Profile Is Invalid! Miss the compile output? commented Dec 7, 2012 by anonymous Your comment on this answer: Email me at this address if a comment is added after mine:Email me if a comment is added after mine

I couldn't even run basic commands (ls, cp, etc.) I had to untar a functional glibc from another system (as well as a few other packages) to even get it to this content is invalid (no $TARGET defined) : (" My make.conf Code: # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /etc/make.conf.example for Not the answer you're looking for? This feature is not available right now.

What I was doing was preparing my system for Xen and I was duped into adding the “—mno-tls-direct-seg-refs” option to my CFLAGS. How is it packed? I have corrected issues in the past by changing it to a older gcc then back to the new one. weblink I tried emerging 4.7, 4.5.3-r2 with no luck. > > Should I file a bug? > > Thanks, > Ezequiel. > --- > > Checking multilib configuration for libgomp... > Configuring

Should I file a bug? Using built-in specs. Plus right now I'm working and compiling my stuff.

I'm trying this: emerging gcc-4.7 on a stage3 chrooted environment.

Anyway, disabling it and re-emerging gcc 4.7 now fails at some other point related to g++. Reason: for completeness again MarcusWebb1966 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by MarcusWebb1966 06-15-2011, 01:09 PM #6 MarcusWebb1966 Member no > checking build system type... Channel Fourteen 258 views 5:14 How and Why i use Gentoo. - Duration: 28:18.

At this point it decided to complain about the version of libtool. Sign in Share More Report Need to report the video? S. check over here Gentoo, How, Misc Gentoo « Stream PC audio to your mobile Stop your wireless mouse cutting out when on batteries » Leave a Reply Cancel replyYou must be

Please attach the following file when seeking support: !!! /var/tmp/portage/dev-libs/glib-2.20.5-r1/work/glib-2.20.5/config.log Step 2: Open the file residing at the full path of the config.log file (in my case /var/tmp/portage/dev-libs/glib-2.20.5-r1/work/glib-2.20.5/config.log) Step 3: Search If you're using screen don’t forget that you can use CTRL-A and then left bracket to enter copy mode and maneuver through the scrollback buffer. The nth numerator more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture When I try to emerge something like x11-apps/xinput, I receive the following: output from emerge: checking whether the C compiler works...

Most of our servers are normally 64-bit but this one was 32-bit. No need to pull it out. i686-pc-linux-gnu-gcc checking whether the C compiler works... Please try again later.

Unix & Linux Stack Exchange works best with JavaScript enabled Nottingham Linux Users GroupFor all and everyone GNU Linux and FLOSS freedomCommentsPosts Home Links About Events Talks Socials Barcamps General MarcusWebb1966 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by MarcusWebb1966 Thread Tools Show Printable Version Email this Page Search this Thread Advanced i686-pc-linux-gnu > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... BillK On Sun, 2012-05-27 at 20:33 -0300, Ezequiel Garcia wrote: > Hi, > > I can't emerge any gcc.

Recent Posts Image Metadata Extraction With AWS Lambda and Java Deploying Multiple Java Applications in a Single Elastic Beanstalk Instance Deploying Multiple WAR Files on a Single Instance With Elastic Beanstalk's I tried emerging 4.7, 4.5.3-r2 with no luck. > > Should I file a bug? > > Thanks, > Ezequiel. > --- > > Checking multilib configuration for libgomp... > Configuring yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... What should I have in /usr/i686-pc-linux-gnu?

This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. I had a glibc go bad on an upgrade of an old system.