LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 02-17-2008, 07:44 AM   #1
lfs63
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
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!
 
Old 02-17-2008, 09:20 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install or upgrade newer or older gcc version saistain Linux - Software 1 10-19-2007 10:26 PM
Building glibc-2.5 Error chiefsmurph Linux - Software 7 04-27-2007 11:00 PM
Xfree Error (EE) module ABI minor version (7) is newer than the server's version (6) jimdaworm Slackware 0 10-17-2003 05:26 PM
Newer version of glibc means i cant install gcc coop Red Hat 0 09-21-2003 01:40 AM
check glibc version used by gcc carboncopy Slackware 3 08-12-2003 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration