LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-30-2004, 04:35 PM   #1
davemar
Member
 
Registered: Mar 2004
Location: UK
Posts: 62

Rep: Reputation: 15
gcc pass1 in chap5 doesn't get very far!


I seem to be having a right nightmare with LFS at the moment. I decided to go back to the beginning and start again. This time I've only got as far a gcc-3.3.1 pass 1 in chaptet 5, which is pretty pathetic . After I've done the configuration, which seems to go OK, I do the first make as shown below, and it responds with this error:-

$ make BOOT_LDFLAGS="-static" bootstrap

Bootstrapping the compiler
make[1]: Entering directory `/lfs/sources/gcc-build/gcc'
make[1]: *** No rule to make target `../../gcc-3.3.1/gcc/version.c', needed by `config.status'. Stop.
make[1]: Leaving directory `/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2


Is the version.c file supposed to generated by the configure script? Because it certainly isn't there, and isn't in the gcc-core tarball. I'm sure this is something really simple I've missed out, but I've really losing faith at the moment.
 
Old 03-30-2004, 05:02 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
it's been awhile since I did this..........
did you happen to forget a patch???
 
Old 03-31-2004, 02:06 AM   #3
davemar
Member
 
Registered: Mar 2004
Location: UK
Posts: 62

Original Poster
Rep: Reputation: 15
No, this is only pass 1 (right at the very beginning!), so according to the book there are no patches needed here.
 
Old 03-31-2004, 03:51 PM   #4
davemar
Member
 
Registered: Mar 2004
Location: UK
Posts: 62

Original Poster
Rep: Reputation: 15
I found the problem, it was the gcc-core-3.3.1.tar had somehow got corrupted, so there were some files missing when it unpacked itself. Possibly bunzip2 playing silly games or something.
 
  


Reply


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
glibc pass1--configure error keyur Linux From Scratch 5 01-30-2009 05:05 AM
LFS6.0 Glibc compile problem Chapter5.8 Pass1 Paulsuk Linux From Scratch 1 04-19-2005 03:50 PM
error while configuring gcc-3.3.3 (pass1) alext_29 Linux From Scratch 4 09-28-2004 11:48 PM
Compiling GCC (pass1):ld cannot find -lc Dargason Linux From Scratch 2 07-15-2004 02:48 AM
chap5 & chap6 nobu Linux From Scratch 2 01-09-2003 11:00 PM


All times are GMT -5. The time now is 12:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration