LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   one more error building GCC - related with the newer version of Glibc?? (https://www.linuxquestions.org/questions/linux-from-scratch-13/one-more-error-building-gcc-related-with-the-newer-version-of-glibc-621780/)

lfs63 02-17-2008 07:44 AM

one more error building GCC - related with the newer version of Glibc??
 
I've got this error while building GCC 4.1.2:

/lib64/libc.so.6: file not recognized: File format not recognized

My host is Fedora8, maybe the problem is in the version 2.7 of my Glibc? <- the recommended version in LFS Book is up to 2.5.1. How can I solve my problem??

Thanks much all!

weibullguy 02-17-2008 09:20 AM

Your trying to build a 32-bit OS and that is a 64-bit library. I'm assuming you're using an x86_64 platform. LFS is geared towards the ix86 platform. Try using Cross Linux from Scratch which provides specific instructions for the x86_64 architecture. Use the multilib instructions, not the "pure-64" and save yourself some trouble down the road. I'd recommend using the SVN version, it should be the stable release in a few weeks anyway.


All times are GMT -5. The time now is 05:47 AM.