LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   gcc pass1 in chap5 doesn't get very far! (https://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-pass1-in-chap5-doesnt-get-very-far-164288/)

davemar 03-30-2004 04:35 PM

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.

320mb 03-30-2004 05:02 PM

it's been awhile since I did this..........
did you happen to forget a patch???

davemar 03-31-2004 02:06 AM

No, this is only pass 1 (right at the very beginning!), so according to the book there are no patches needed here.

davemar 03-31-2004 03:51 PM

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.


All times are GMT -5. The time now is 05:16 AM.