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.
I'm using LFS 7.7 to build a Linux system. I'm having issues getting the GCC to compile successfully on pass 1. Would love to chat with others who have experience here.
This is at the tail end, I don't see any errors in the output but I can only go back so far in terminal.
Code:
checking whether the C compiler works... no
configure: error: in `/mnt/lfs/sources/gcc-build/gmp':
configure: error: C compiler cannot create executables
See `config.log' for more details
make[2]: *** [configure-stage2-gmp] Error 77
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
It says here that there is a configure error in gmp. In the config.log the only error I see refers to isl
which I don't see mentioned anywhere in the LFS book.
You have built LFS already and it is a good base to build another. You know lfs will build I would go back and remove all and start again that was mentioned in the other thread as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.