Linux Archive

Linux Archive (
-   Red Hat Install (
-   -   Build error in RHEL 6.0 (

ShibuThomas 01-05-2011 11:36 AM

Build error in RHEL 6.0
Hi All,

I'm getting error while make c program in RHEL 6.0.

I have used command "gcc -static Init.c -o Init"

showing the error:
/opt/RHEL6.0/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status

But " gcc Init.c o Init " is working fine.

How can I rectify the problem.


Redhat-install-list mailing list
To Unsubscribe Go To ABOVE URL or send a message to:
Subject: unsubscribe

All times are GMT. The time now is 07:02 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.