Article 4TYQW LFS Charter 8.3 ver8.4 make defconfig

LFS Charter 8.3 ver8.4 make defconfig

by
zoopi
from LinuxQuestions.org on (#4TYQW)
I am now in chapter 8.4 of Linux for scratch ver8.4, when I try to enter a command "make defconfig, an error
Code:HOSTCC scripts/basic/fixdep
/mnt/lfs/tools/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find crt1.o: No such file or directory
/mnt/lfs/tools/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find crti.o: No such file or directory
/mnt/lfs/tools/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc_s
/mnt/lfs/tools/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lc
/mnt/lfs/tools/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc_s
/mnt/lfs/tools/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [scripts/Makefile.host:90: scripts/basic/fixdep] Error 1
make: *** [Makefile:476: scripts_basic] Error 2
bash-5.0# how to fix?

if you enter d chroot and execute the command, then exitCode:(lfs chroot) root:/sources/linux-5.0.1# make defconfig
HOSTCC scripts/basic/fixdep
/usr/libexec/gcc/x86_64-pc-linux-gnu/8.3.0/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory
make[1]: *** [scripts/Makefile.host:90: scripts/basic/fixdep] Error 1
make: *** [Makefile:476: scripts_basic] Error 2
(lfs chroot) root:/sources/linux-5.0.1#latest?d=yIl2AUoC8zA latest?i=vAwgW6_2mgw:SgdJ9XrGKaI:F7zBnMy latest?i=vAwgW6_2mgw:SgdJ9XrGKaI:V_sGLiP latest?d=qj6IDK7rITs latest?i=vAwgW6_2mgw:SgdJ9XrGKaI:gIN9vFwvAwgW6_2mgw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments