[SOLVED] Binutilus error at cmd 'make tooldir=/usr'
Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As the post says, I'm having issue with cmd 'make tooldir=/usr'.
I'm at step 6.16 for version 8.1
My distribution at what I'm doing this is Fedora 27
The output of error is:
In file included from ../../gold/gold.h:30:0,
from ../../gold/archive.cc:23:
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
Something went wrong. You'll have to retrace your steps and try again.
Your temporary tool chain built in chapter 5 has been modified. So, you
might have to start the book all over again.
The only piece of advice I can give you is follow the book to the letter.
Don't let this discourage you. It it typical of newbies to mess up their
progress beyond repair. I have had to start over again when I first started
reading LFS.
Something went wrong. You'll have to retrace your steps and try again.
Your temporary tool chain built in chapter 5 has been modified. So, you
might have to start the book all over again.
The only piece of advice I can give you is follow the book to the letter.
Don't let this discourage you. It it typical of newbies to mess up their
progress beyond repair. I have had to start over again when I first started
reading LFS.
I didn't had error anywhere which was weird for me that show the error. Could be the error due of distribution?
I don't think so. When you can go to Chapter-6, it means there is nothing wrong with the distribution (host).
Maybe you do not found any error while building tools at Chapter-5, but it is not guarantee error free.
If you have back-up of tools, try to restart Chapter-6 from beginning, before start over again.
I actually fixed this issue which was similar to my issue (link here: https://github.com/Martchus/tagedito...ment-348774579 ) but when i do 'make -k check' it shows me a error in Makefile row 2174 for 'do-check'. I might do all over again with another distribution that is recommended for doing LFS. Any suggestion?
I know Fedora has caused problems here. Actually the best platform for building LFS is an existing LFS, but the next best is generally agreed to be Slackware or one of its derivatives, like Salix. I have used Debian successfully too, but you have to start by installing gawk (Debian prefers mawk) and changing the system shell to point to bash and not dash.
I know Fedora has caused problems here. Actually the best platform for building LFS is an existing LFS, but the next best is generally agreed to be Slackware or one of its derivatives, like Salix. I have used Debian successfully too, but you have to start by installing gawk (Debian prefers mawk) and changing the system shell to point to bash and not dash.
I just started all over again with Xubuntu 16 version as a VM.
I actually fixed this issue which was similar to my issue (link here: https://github.com/Martchus/tagedito...ment-348774579 ) but when i do 'make -k check' it shows me a error in Makefile row 2174 for 'do-check'. I might do all over again with another distribution that is recommended for doing LFS. Any suggestion?
I've got the same problem. make -k check is showing an error in 'do-check' at line 2174 in the Makefile. Were you able to find a solution?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.