Glibc won't compile in chapter 5.7.1 of the LFS 6.6 book
Glibc won't compile in chapter 5.7.1 of the LFS 6.6 book :(
What's going wrong? $ make Code:
mv -f /mnt/lfs/sources/glibc-build/shlib.ldsT /mnt/lfs/sources/glibc-build/shlib.lds configure Code:
checking for grep that handles long lines and -e... (cached) /bin/grep |
Hi,
First thing I noticed: Why are you using glibc-2.11.2 instead of glibc-2.11.1? I do hope you adjusted this part: --build=$(../glibc-2.11.1/scripts/config.guess) accordingly. Hope this helps. |
first i tried to compile glibc-2.11.1 but i have same error, then i tried to compile glibc-2.11.2
|
Hi,
The 2 most common reason why building LFS fails are: - A host that is not compliant (vii. Host System Requirements), - Deviating from the book. The 6.6 stable LFS book works and there is no reason to change anything (especially true if you are new at this). I would suggest starting from scratch and following the book to the letter. Do not continue after an error until you fixed it. If you do come across a problem: First retrace your steps to see if you made any typo's or possibly forgot/misinterpreted one or more of the previous steps. Hope this helps. |
Ok, Thank You. I will try again.
|
i686-lfs-linux-gnu-gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/toolss/lib/ld-linux.so.2 -B/mnt/lfs/sources/glibc-build/csu/ -Wl,--version-script=/mnt[SNIP]
Have I spotted a typo? :-). Always an afetrnoon sport when dealing with LFS queries. FWIW, I've done several, and if glibc isn't fairly happy, forget it and download the autobuilding install CD which has a workable toolchain. |
All times are GMT -5. The time now is 03:09 AM. |