you will have to reinstall the glibc-devel
it seems those crt* files have been deleted

by the way,  <<rpm -ql grep glibc-devel | grep crt>>
lists the files in packages grep and glibc-devel and then filters *crt*

you may also test if your original glibc-devel*.i386.rpm really contains
those crt's

rpm -qpl /path/to/the/RPMS-directory/glibc-devel-x.y.z.i386.rpm | grep crt

it should produce the same output as rpm -ql glibc-devel | grep crt

then, if you get to have the crts in the right place, it should work

Claudiu





----- Original Message -----
From: Margaretha Sulistyoningsih <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 22, 2000 00:37
Subject: Re: [Re: [Re: gcc -o]]


"Claudiu Balciza" <[EMAIL PROTECTED]> wrote:
run this command:
    rpm -ql `rpm -qa|grep glibc-devel` | grep crt


***Hi Claudiu, I run that command and the result is :
       package glibc-devel is not installed.

Because I'm so sure that I've install it (with rpm -i)so, I try to change
the
command :
       rpm -ql grep glibc-devel |grep crt
and the results are :
       /usr/lib/Mcrt1.o
       /usr/lib/crt1.o
       /usr/lib/crti.o
       /usr/lib/crtn.o
       /usr/lib/gcrt1.o
but...... there  is no crt1.o in /usr/lib when I try to find it via mc or
"locate crt1.o".

And, right now I still cann't compile with gcc -o.

I still need further answer from you and also from others.

Thank you so much, Claudiu, and also for Stephen and er-Chan.

For er-Chan : would you tell me spesifically the name of the rpm(the rpm for
kernel-header files), please. Thank you.

And for Stephen : I've sent you mail off-list. Have you receive it?


Best regards,
--Ritha--

---------------------------------------------------------------
On Mon, Jul 21, 2036 at 06:21:52PM +0000, ritha_ok graced me with:
> Hi all,
>
> I try to compile c source code with gcc -o and I got this error message.
>
> /usr/bin/ld :cannot open crt1.o : No such file or directory
> collect2 : ld returned 1 exit  status.
>
> My questions are :
>
> 1. Why does it happen ??
> 2. How to solve the problem ??
> 3. Where should I find the crt1.o file coz when I try to search crt1.o by
> "locate crt1.o", I didn't find any crt1.o in my computer.
>
> PS : I use RedHat Linux 6.0
>      Processor : Pentium II 350
>
>
> Thank's before for your answer.
>
> Best regards,
> --Ritha--
>
>


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.





-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to