LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-17-2004, 12:41 PM   #1
keyur
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
dummy.c
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
 
  


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


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