Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 08-17-2004, 11:41 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
lfs5.1.1 cannot find -lc collect2,returning 1 exit status

hi guys,
i am doing my final year peoject and developing a linux distribution.maybe some of u also know me.i am implementing presently the base system using lfs-5.1.1 with host as red hat linux 9.
i am done with the phase 1 where in i have compiled and installed pass1 of the required packages like binutils,gcc,glibc.
but when i try to compile the dummy.c program
int main()

it gives me error
******************* cannot find -lc collect2;returning exit status 1

can ne1 help me on this.
also i am a comparitively new to linux so ne other sort of help or resources for it will be appreciated.
thanx in advance


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
ld: cannot find -lc collect2: ld returned 1 exit status ArbuZz Linux From Scratch 3 09-27-2005 12:52 AM
collect2: ld returned 1 exit status abirami Linux - Software 0 03-02-2005 01:07 AM
konstruct error collect2: ld returned 1 exit status X2O Linux - Software 2 08-11-2004 08:48 PM
Problem with wvdial returning exit code 15 bossmonkey666 Linux - Networking 0 08-09-2004 04:17 AM
popa3d collect2: ld returned 1 exit status datapunk Linux - Software 1 01-02-2004 06:48 PM

All times are GMT -5. The time now is 04:47 AM.

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