Build error in RHEL 6.0

ShibuThomas shibuthomas at tataelxsi.co.in
Wed Jan 5 12:36:09 UTC 2011


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







More information about the Redhat-install-list mailing list