Error in Binutils Pass2
when I did binutils pass1, it says mkdir binutils-build and not remove build dir and source dir
then come to binutils pass 2, it also says mkdir binutils-build. BUT there is ALREADY a binutils-build!! should i remove it and build a new one?? or just configure in it?? I configured directly in it, and then got error: ./libtool: line 1: cd: ../libiberty/pic: No such file or directory libtool: link: cannot determine absolute directory name of `../libiberty/pic' make[3]: *** [libbfd.la] Error 1 make[3]: Leaving directory `/mnt/lfs/tools/binutils-build/bfd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/lfs/tools/binutils-build/bfd' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/mnt/lfs/tools/binutils-build/bfd' make: *** [all-bfd] Error 2 Anyone can help me?? THX! |
You need the binutils from binutils-pass1 only for Adjusting the tool chain.
"Now that the adjusted linker is installed, you have to remove the Binutils build and source directories." On the same page. So you need to remove the binutils installed during binutils-pass1 after Adjusting The Toolchain and then reinstall binutils for binutils-pass2... If that makes sense? Seriously, you have to read the chapter completely and understand it before doing anything or something may break a few pages (and more importantly hours or days) later. Tedious and not alwasy the easiest thing to do, I know that, believe me! But once you have done it once... enter ALFS :D |
Thank you!!!
but now I have come to the second time GCC, after that or before that remove binulits-build, does it make any harm? |
It should not cause any harm when you delete it as long as it is before binutils-pass2.
Basically, you need to have a freshly unpacked source package for binutils-pass2. |
Thank you.
It passed and I have come to Ch.6^_^ |
All times are GMT -5. The time now is 08:32 PM. |