LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Closed Thread
  Search this Thread
Old 11-10-2019, 02:32 PM   #1
zoopi
LQ Newbie
 
Registered: Nov 2019
Posts: 5

Rep: Reputation: Disabled
LFS Charter 8.3 ver8.4 make defconfig error


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 exit
Code:
(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#

Last edited by zoopi; 11-10-2019 at 02:35 PM.
 
Old 11-11-2019, 09:14 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Duplicate post continue here:
https://www.linuxquestions.org/quest...ig-4175664020/
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] kernel: make menuconfig after make defconfig? Poison Nuke Linux - Kernel 5 05-25-2018 05:49 PM
[SOLVED] What router to get for a charter (charter.com) modem? hearthstone Linux - Hardware 18 07-30-2016 01:10 PM
[SOLVED] Kernel.defconfig configuration and Function - Urgent jegadezz Linux - Software 4 05-23-2016 01:16 PM
MDK Ver8.2 ISO Download where from? jimlg Mandriva 3 10-27-2003 01:35 PM
adding a NIC to RH Ver8 Melo Linux - Networking 3 06-02-2003 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration