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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Just started today with the LFS book 6.5. It's my first LFS installation and I've got everything prepared, host system has all it needs on board and the installation of the first package (binutils) ran perfectly.
The second however GCC-4.4.1 - Pass 1, compiles without any errors but when I issue the make command I get the following error:
checking for i686-lfs-linux-gnu-gcc... /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include
checking for suffix of object files... configure: error: in `/mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make: *** [configure-target-libgcc] Error 1
make: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
I've been looking around on the Internet but can't seem to find the solution. Since it's my first LFS I'm a bit in the dark here (A LOT).
I hope someone can help me out on this one. I followed the book to the letter so I assume it's something I'm missing in my host system but cannot find it.
Have installed the missing things and now make takes up more time but still results in the same error. I'm really stumped, most of all because I haven't got a lot of experience with compiling and hence don't know where to look. I hope you could give it another look. I'm quite sure that it's because of things missing in my host system but I've followed the LFS book and the thing KBP mentioned up till now don't seem to be listed.
Just encountered by luck an error in my PATH that might have caused the problem. Trying it out now. I'll keep you guys up to date.
I got my problem fixed. I started the computer from the LFS LiveCD and when compiling and making the package I got the same error which in my opinion shouldn't happen at all. So I consulted my very best friend (Google) again and came across a post in the archives of LFS stating that when recompiling you have to start from scratch. So I completely deleted the 'build' directory and started over; and this time it worked without any problems.
Thank you very much for helping out kbp. You got me started in the right direction.