LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-06-2005, 01:56 AM   #1
thelonewolf
LQ Newbie
 
Registered: Jul 2005
Posts: 17

Rep: Reputation: 0
[SOLVED] GCC Second pass fails


Ok, I keep looking for an answer to this with no luck. Any idea what the heck is going on with this? This is from the second pass of GCC



Code:
Configuring in x86_64-unknown-linux-gnu/libstdc++-v3
configure: loading cache ./config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for x86_64-unknown-linux-gnu-gcc...  /mnt/lfs/sources/gcc-build/gcc/xgcc -B/mnt/lfs/sources/gcc-build/gcc/ -B/tools/x86_64-unknown-linux-gnu/bin/ -B/tools/x86_64-unknown-linux-gnu/lib/ -isystem /tools/x86_64-unknown-linux-gnu/include -isystem /tools/x86_64-unknown-linux-gnu/sys-include
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** [configure-target-libstdc++-v3] Error 1
Here's config.log:


Code:
configure:581: checking host system type
configure:602: checking target system type
configure:620: checking build system type
configure:675: checking for a BSD compatible install
configure:2859: checking for x86_64-unknown-linux-gnu-ar
configure:2892: checking for ar
configure:2931: checking for x86_64-unknown-linux-gnu-as
configure:2964: checking for as
configure:3003: checking for x86_64-unknown-linux-gnu-dlltool
configure:3036: checking for dlltool
configure:3075: checking for x86_64-unknown-linux-gnu-ld
configure:3147: checking for x86_64-unknown-linux-gnu-nm
configure:3180: checking for nm
configure:3219: checking for x86_64-unknown-linux-gnu-ranlib
configure:3252: checking for ranlib
configure:3291: checking for x86_64-unknown-linux-gnu-windres
configure:3324: checking for windres
configure:3363: checking for x86_64-unknown-linux-gnu-objcopy
configure:3396: checking for objcopy
configure:3435: checking for x86_64-unknown-linux-gnu-objdump
configure:3468: checking for objdump
configure:3517: checking for x86_64-unknown-linux-gnu-ar
configure:3550: checking for ar
configure:3589: checking for x86_64-unknown-linux-gnu-as
configure:3622: checking for as
configure:3661: checking for x86_64-unknown-linux-gnu-dlltool
configure:3694: checking for dlltool
configure:3733: checking for x86_64-unknown-linux-gnu-ld
configure:3766: checking for ld
configure:3805: checking for x86_64-unknown-linux-gnu-nm
configure:3838: checking for nm
configure:3877: checking for x86_64-unknown-linux-gnu-ranlib
configure:3910: checking for ranlib
configure:3949: checking for x86_64-unknown-linux-gnu-windres
configure:3982: checking for windres
configure:4049: checking whether to enable maintainer-specific portions of Makefiles

Last edited by thelonewolf; 08-06-2005 at 01:22 PM.
 
Old 08-06-2005, 11:07 AM   #2
mlinuxk
LQ Newbie
 
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18

Rep: Reputation: 0
I had a similar problem when I did the second pass also, I was running the new build in the old directory. After I started over again, I notice that I needed to build a new directory for every build and I had no more problems, until I got to psmisc. Just a thought.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC second pass Mystified Linux From Scratch 6 07-28-2005 09:21 PM
gcc-pass 2...libstdc++-v3...GCC_NO_EXECUTABLE!! tagigogo Linux From Scratch 7 05-15-2005 11:19 AM
GCC pass 1 error mugwump84 Linux From Scratch 2 05-10-2005 05:21 PM
Error configuring GCC, First Pass lloyd_smart Linux From Scratch 8 10-29-2004 11:45 AM
binutils-2.14 first pass, gcc error Add1Sun Linux From Scratch 3 04-29-2004 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration