LinuxQuestions.org
Visit Jeremy's Blog.
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 03-14-2004, 05:11 PM   #1
matador
Member
 
Registered: Jul 2003
Location: sweden
Distribution: gentoo @home, RH @ school
Posts: 107

Rep: Reputation: 15
Install gcc-3.3.1 error


I've been using several distros for a long time but never really learned enough. So I figured LFS could be perfect to learn more. I've gotten to chapter 5 in LFS 5.0 but now I encountered the following problem compiling gcc-3.3.1

make BOOT_LDFLAGS="-static" bootstrap

Code:
/gcc/../include ../../gcc-3.3.1/gcc/gengenrtl.c -o gengenrtl.o
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE -static -o gengenrtl \
 gengenrtl.o ../libiberty/libiberty.a
/tools/i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [gengenrtl] Error 1
make[2]: Leaving directory `/mnt/lfs/tools/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/lfs/tools/gcc-build/gcc'
make: *** [bootstrap] Error 2
This might be something easy since this is new to me... I have followed the book and only used the proper downloads + I've copy/pasted from the book to avoid type-o's. Any help is appreciated.
 
Old 03-15-2004, 04:58 PM   #2
matador
Member
 
Registered: Jul 2003
Location: sweden
Distribution: gentoo @home, RH @ school
Posts: 107

Original Poster
Rep: Reputation: 15
Don't underestimate the power of the FAQ!

http://www.se.linuxfromscratch.org/l...cannot-find-lc

It took me quite a while (and a helping hand from a friend) to figure out that libc.a was missing in the install of mandrake. I searched the LFS support, the forum, but not the FAQ.....

Last edited by matador; 03-15-2004 at 06:54 PM.
 
  


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 4.0.2 Install Error p4inkill4 Linux - Newbie 2 10-08-2005 02:14 PM
gcc-4.0.1 install error Dragoonboy Linux - Software 1 08-16-2005 03:36 PM
gcc-3.3.3 make install error Louis_Carole Linux From Scratch 4 07-31-2004 03:14 PM
gcc check error (chapter 6 install) vexer Linux From Scratch 4 12-03-2003 09:39 PM
trying to install linneighborhood but have gcc error? bosewicht Linux - Newbie 1 12-01-2003 03:17 AM


All times are GMT -5. The time now is 09:19 PM.

Main Menu
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