LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-06-2007, 05:04 PM   #1
gothicbob
Member
 
Registered: Sep 2005
Location: Birmingham / Bath Uk
Distribution: Kubuntu 8.10, Debain 4.0
Posts: 86

Rep: Reputation: 16
5.4. GCC-4.0.3 - Pass 1 compilation error :(


Ive tried googling for anyone who has the same error, and I can find a few people who have, but nothing that relates to LFS or anything relevant.

I have compiled the binutils, and have just tried to compile the gcc for the first pass, but I get this error

Code:
/lib64/libc.so.6: file not recognized: File format not recognized
and it errors out. Ive tried it a few times, and im a bit stumped. Thanks for any help.
 
Old 08-06-2007, 06:21 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,755
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
Looks like you're using an x86_64 system for the host. Don't use LFS, use CLFS http://cross-lfs.org/view/1.0.0/ (I recommend you use the multilib version).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
GCC Final Pass Error... LinuxNoob75 Linux From Scratch 5 08-07-2007 02:15 PM
have gcc compilation error during gcc installtion in linuxfromscratch vbshanmugaprakash Linux - General 3 12-13-2006 06:52 AM
GCC pass 1 error mugwump84 Linux From Scratch 2 05-10-2005 06:21 PM
Error configuring GCC, First Pass lloyd_smart Linux From Scratch 8 10-29-2004 12:45 PM
binutils-2.14 first pass, gcc error Add1Sun Linux From Scratch 3 04-29-2004 05:27 PM


All times are GMT -5. The time now is 11:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration