first pass GCC bootstrap problem

Nick Bowes nic_bowes at hotmail.com
Wed Feb 21 16:50:45 PST 2007


Hello,
I'm having a bit of trouble with chapter 5.4.1 GCC-4.0.3 first pass. I 
have followed the book right up untill this point without errors but it 
allways seems to get stuck at the "make bootstrap" point. I'm running 
ubuntu edgy as my host in a vmware session on a dual xeon pc with 2 gig 
of ram.  Having looked round the mailing lists for this problem i got 
only one instance of the same error 
http://linuxfromscratch.org/pipermail/livecd/2006-November/004129.html 
which does not help me much!  I have also searched for problems relating 
to "make[1]: *** No rule to make target `../include/ansidecl.h', needed 
by `regex.o'.  Stop" but all the answers are related to a patch for 
binutils!? I've pasted in the last part of the error which I hope is 
enough.

make[1]: Entering directory 
`/gcc-build/gcc-4.0.3/build-i686-pc-linux-gnu/libiberty'
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.
http://linuxfromscratch.org/pipermail/livecd/2006-November/004129.html
make: *** [all-build-libiberty] Error 2

and if I run it again then it very quickly dishes out the following

lfs at ubuntu-desktop:/gcc-build/gcc-4.0.3$ make bootstrap
make[1]: Entering directory 
`/gcc-build/gcc-4.0.3/build-i686-pc-linux-gnu/libiberty'
make[1]: *** No rule to make target `../include/ansidecl.h', needed by 
`regex.o'.  Stop.
make[1]: Leaving directory 
`/gcc-build/gcc-4.0.3/build-i686-pc-linux-gnu/libiberty'
make: *** [all-build-libiberty] Error 2

I hope someone can point me in the right direction

Thanks!




More information about the lfs-support mailing list