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.
After completing the "Constructing the Temporary System", i started Part-III....Chapter 6.
when i configured Glibc i got this COMMON ERROR,
checking for suffix of object files...cannot compute suffix of object files:cannot compile
i searched the forum and have not got an answer on how to rectify this problem.......
am using FC-3 as my base system....Chapter-5 went on well and it took me hours to complete that chapter friends............and now am stuck up with this error...
i would be happy if someone could help me out in rectifying this error!!
Here is my config.log file contents......pls do help friends...........
**************************CONFIG.LOG STARTS HERE*******************************
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.59. Invocation command line was
configure:2326: found /tools/bin/gcc
configure:2336: result: gcc
configure:2580: checking for C compiler version
configure:2583: gcc --version </dev/null >&5
../glibc-2.3.4-20040701/configure: line 2584: /tools/bin/gcc: No such file or directory
configure:2586: $? = 127
configure:2588: gcc -v </dev/null >&5
../glibc-2.3.4-20040701/configure: line 2589: /tools/bin/gcc: No such file or directory
configure:2591: $? = 127
configure:2593: gcc -V </dev/null >&5
../glibc-2.3.4-20040701/configure: line 2594: /tools/bin/gcc: No such file or directory
configure:2596: $? = 127
configure:2600: checking for suffix of object files
configure:2621: gcc -c conftest.c >&5
../glibc-2.3.4-20040701/configure: line 2622: /tools/bin/gcc: No such file or directory
configure:2624: $? = 127
configure: failed program was:
there is either something wrong with your temp system gcc build or you made a mistake chrooting. try to chroot again and see if that helps, also, make sure you can run /tools/bin/gcc without errors ( do the sanity check).
well there is no file "/tools/bin/gcc", but it is a directory there!....is this a mistake or is that i missed some steps here??....the gcc version is 3.4.1 given along with LFS Packages...but it seems this version of gcc is error prone and i had logged all my works on lfs and that indicates that i had done every step as mentioned in the LFS 6 Docs....so downloading the latest versions of GCC,Binutils and GLibc would help??..or is it that this version itself i can continue and rebuild the LFS 6.0??...
My base system is FC-3 and it is using GCC-3.4.2...
i would be happy if someone could help me out in this..
yep, gcc is a directory and not a binary..and i tried rebuilding gcc of chapter-5 but am not able to succeed..it is throwing some compilation problems...........so i have restarted my LFS work......and am sticking along with LFS Package versions itself...........
friends,throw ur views in this topic becoz if u search the forum,u would find this topic to be discussed but always with no answer............if we can get what is the reason behind this, then it would be helpful to the community.....
seems that i've encounter the same problem, so i restart my lfs work n got that problem again for three times..then it's work..seem's that if u don't erase the source of package after u install it, it will affect the chroot env..
so after install, just erase it unless u don't have to do that, look the remainder..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.