Build error in RHEL 6.0

ShibuThomas <[email protected]> Wed, 05 Jan 2011 18:06:09 +0530
Newsgroups gmane.linux.redhat.install
Message-ID <[email protected]>
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
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
[email protected]
Subject: unsubscribe