Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Install (http://www.linux-archive.org/red-hat-install/)
-   -   Build error in RHEL 6.0 (http://www.linux-archive.org/red-hat-install/472635-build-error-rhel-6-0-a.html)

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.


Regards,
ShibuThomas




_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@redhat.com
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.