LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-10-2004, 12:20 AM   #1
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Rep: Reputation: 15
Binutils-2.14 - Pass 1, compiler error


Ok, first I've found a few threads which had the same problem going on, but like this one, they didn't solve my problem.

I'm on the Binutils-2.14 - Pass 1, I've been following the directions to the letter so far as far as I know. I entered
Code:
../binutils-2.14/configure --prefix=/tools --disable-nls
from the "binutils-build" directory, and got the following output:
Code:
loading cache ./config.cache
checking host system type... i586-pc-linux-gnulibc1
checking target system type... i586-pc-linux-gnulibc1
checking build system type... i586-pc-linux-gnulibc1
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: crtl.o: No such file: No such file or directory
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
I had to copy using pen and paper, and retype as 1, it would be hard for me to get a text file to a computer w/ internet and 2, the command
Code:
../binutils-2.14/configure --prefix=/tools --disable-nls > output
only writes the first 4 lines, up until the errors, so if I typed something wrong and its not a trivial thing, sorry.

I tried changing the command to
Code:
CC=gcc ../binutils-2.14/configure --prefix=/tools --disable-nls
but there wasn't any change. What's going on? I'm building on a fresh slack 10.0.
 
Old 08-10-2004, 07:45 PM   #2
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
This is completely off the top of my head, but do you have a link from cc to gcc in /usr/bin?
 
Old 08-10-2004, 07:53 PM   #3
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Original Poster
Rep: Reputation: 15
uh yeah. i don't know much about links or how to tell if something is a link or a program, but I have a /usr/bin/cc that resonds, and when I "man cc" I get a page on gcc
 
Old 08-12-2004, 12:34 AM   #4
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91

Original Poster
Rep: Reputation: 15
I started a different thread, I thought it should go somewhere else, explination at top of new thread
http://www.linuxquestions.org/questi...hreadid=216346
 
  


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
5.14. Binutils-2.15.91.0.2 - Pass 2 error! Flash_G Linux From Scratch 5 08-20-2006 06:02 AM
binutils first pass error gravesb Linux From Scratch 5 09-05-2005 01:42 AM
#Error: 5.4. Binutils-2.15.94.0.2.2 - Pass 1 ukyo Linux From Scratch 2 06-02-2005 04:37 AM
binutils-2.15.92.0.2 first pass, error rogerslin Linux From Scratch 7 12-20-2004 05:44 PM
Binutils-2.14 - Pass 1, compiler error peok Linux From Scratch 0 08-10-2004 12:30 AM

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

All times are GMT -5. The time now is 10:37 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