Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 11-15-2007, 05:19 PM   #1
Registered: Jan 2004
Distribution: LFS
Posts: 91

Rep: Reputation: 15
Unhappy Problem on pass 2 build of GCC (V6.2)


I'm trying to re-build my server after a major problem.

I've downloaded the LiveCD (stable V6.2) and it's been going ok until I get to Pass 2 of the GCC build in Chapter 5.

When I perform the make, I get the following at the end of the process:-
make[1]: Entering directory '/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** No rule to make target 'all'. stop.
make[1]: Leaving directory '/mnt/lfs/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2
Can ayone help?


Before my family kill me? (I have data backed up, but can't get to it until server is back up. So we have no networked internet (kids looking for blood) No e-mail or financial records (wife looking for....)


Old 11-16-2007, 12:15 AM   #2
Registered: Jan 2004
Distribution: LFS
Posts: 91

Original Poster
Rep: Reputation: 15


I found a reference elsewhere to a screwed Makefile in the /gcc directory. They suggested monitoring it's size....

I started with a clean extract of gcc. sources/.../gcc/Makefile ok.
Next I did the two sed edits. sources/.../gcc/Makefile ok.
Next came the applying of the patch. sources/.../gcc/Makefile ok.
Creation of gcc-build.
Ran .configure ...... from gcc-build. sources/.../gcc/Makefile ok.
sources/gcc-build/gcc/Makefile is zero bytes!!!!!

Can anyone tell me how / why this is the case? More importantly, can anyone tell me how to get around the problem?

Pass 1 of the GCC build went smoothly, so I don't think it's corrupt source tarballs.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LFS-5.0 GCC problem with binutils-2.14 pass 1 NCappaZoo Linux From Scratch 6 06-14-2009 04:47 AM
5.4. GCC-3.4.3 - Pass 1 invalid host type problem thomas55 Linux From Scratch 9 05-01-2006 04:21 PM
questions on GCC-3.4.3 - Pass 2 and Binutils- - Pass 2 satimis Linux From Scratch 7 12-26-2005 10:23 PM
Solved Problem Second GCC-Pass(or gettext sanity check problem) hoes Linux From Scratch 0 09-04-2005 11:20 AM
odd problem with GCC pass 1... :scratch: ParticleHunter Linux From Scratch 15 12-05-2004 11:21 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:14 PM.

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