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-08-2003, 11:34 AM   #1
DarkDrive
LQ Newbie
 
Registered: Jul 2003
Location: Albuquerque, NM
Distribution: MDK 9.1
Posts: 24

Rep: Reputation: 15
My 1st LFS hurdle ....


I'm trying to compile the 1st package (bash), and I'm getting the following error:

gcc -s -static -rdynamic -g -O2 -o mkbuiltins mkbuiltins.o
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[1]: *** [mkbuiltins] Error 1

I'm guessing it can't find a libray when linking (-lc)?

Any ideas? Thanks.
 
Old 08-08-2003, 05:01 PM   #2
DarkDrive
LQ Newbie
 
Registered: Jul 2003
Location: Albuquerque, NM
Distribution: MDK 9.1
Posts: 24

Original Poster
Rep: Reputation: 15
Solved ....

After much searching, I found that the libc.a library is required, and it is contained in the glibc-devel package. After installing this, it worked.
 
  


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
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
Realplayer last hurdle thom Slackware 10 09-26-2005 10:00 PM
Error Compiling GCC (1st Pass) in LFS 6.0 TGWDNGHN Linux From Scratch 1 06-30-2005 08:57 PM
Slackcessful install-after a hurdle redbeansnrice Slackware - Installation 2 06-26-2005 10:36 AM
The IM hurdle for no-IM settings. NoobieDoobieDo Programming 0 10-18-2004 03:50 PM

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

All times are GMT -5. The time now is 02:14 AM.

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