LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Error 5.4.1 install gcc (https://www.linuxquestions.org/questions/linux-from-scratch-13/error-5-4-1-install-gcc-519151/)

galliar 01-14-2007 06:55 AM

Error 5.4.1 install gcc
 
Hello,

I was on step 5.4.1 of the manual where gcc is being built. My host system is Suse 10.2. I am building a 6.2 LFS system. I also tried this same thing using the LFS live cd and got the same results on the build. Has anybody else ran into this and solved it?

if [ x"" != x ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
make[1]: *** No rule to make target `../include/ansidecl.h', needed by `regex.o'. Stop.
make[1]: Leaving directory `/mnt/lfs/sources/gcc-4.0.3/build-i686-pc-linux-gnu/libiberty'
make: *** [all-build-libiberty] Error 2

The command I used was make bootstrap.




Regards,

Randy.

Daws 01-16-2007 01:21 AM

Are you in a separate build directory? ie. if /mnt/lfs/sources/gcc-4.0.3/ is your source directory then you want to be building in /mnt/lfs/sources/gcc-build/ or something similar.


All times are GMT -5. The time now is 08:31 PM.