Dear Petr,
I had the same problem compiling the kernel. I haven't sorted it out
yet. The only clue I have is that it is related to the environmental
variables for LIBDIR and that gcc searches for crt1.o (and a few
other start up files) in the wrong directory. These start-up files
are in the glibc library directory.
try
find / -name crt1.o -print
and your find the offending start up files
at the end of the man page for gcc, it mentions these start up files
and the directory where they are searched for
I made some symbolic links which overcame that problem.
Cheers,
Will
> Date: Fri, 7 Jan 2000 12:34:35 -0600
> From: Petr Hlustik <phlustik@uchicago.edu>
> To: axp-list@redhat.com
> Subject: Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux)
> Reply-to: axp-list@redhat.com
> Hello,
>
> I tried to build SSH from source on an AS 200 4/233 will newly installed
> RH6.1 using the previously posted advice
>
> > Alpha box (rpm --rebuild ssh-1.2.27-7us.src.rpm)
>
> And I got an error during configure:
>
> checking host system type... alpha-unknown-linux
> checking cached information... ok
> checking for gcc... gcc
> checking whether the C compiler (gcc -O2 ) works... no
> configure: error: installation or configuration problem: C compiler cannot create executables.
>
> I also tried to compile a simple piece of my own code with the result of
>
> gcc -g -Wall mask_new.o -o mask
> /usr/bin/ld: cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
>
> I had no clue what crt1.o should be.
>
> I tried to remove and reinstall the egcs/gcc package, no change. Any
> ideas?
>
> Thanks,
> Petr
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
Dr WBJ Zimmerman
Senior Lecturer in Chemical and Process Engineering
Director, M Sc in Environmental and Energy Engineering
Warden, Tapton Hall of Residence
University of Sheffield
Newcastle Street
Sheffield S1 3JD
tel:+44-114-222-7517
fax:+44-114-222-7501
-- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
This archive was generated by hypermail version 2a22 on Tue Feb 1 05:33:31 2000 PST
Send any problems or questions about this archive to webmaster@alphalinux.org.