Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux)
  1999-12-16 15:06 ` Charles E. Taylor IV
@ 2000-01-07 18:34   ` Petr Hlustik
  2000-01-07 19:30     ` Michal Jaegermann
                       ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Petr Hlustik @ 2000-01-07 18:34 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux)
  2000-01-07 18:34   ` Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux) Petr Hlustik
@ 2000-01-07 19:30     ` Michal Jaegermann
  2000-01-07 19:46     ` Gotthard Saghi-Szabo
  2000-01-07 22:01     ` Wes Bauske
  2 siblings, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 2000-01-07 19:30 UTC (permalink / raw)
  To: axp-list

Petr Hlustik wrote:
> 
> 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

You either did not install compiler itself or some "devel" things.

> 
> 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.

"C Runtime". /usr/lib/crt1.o.  It is a part of glibc-devel package.

The current ssh also requires 'autoconf' package installed to recompile.

  Michal


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux)
  2000-01-07 18:34   ` Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux) Petr Hlustik
  2000-01-07 19:30     ` Michal Jaegermann
@ 2000-01-07 19:46     ` Gotthard Saghi-Szabo
  2000-01-07 22:01     ` Wes Bauske
  2 siblings, 0 replies; 6+ messages in thread
From: Gotthard Saghi-Szabo @ 2000-01-07 19:46 UTC (permalink / raw)
  To: axp-list

crt1.o is part of compat-glibc-5.2-2.0.7.2 

> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux)
  2000-01-07 18:34   ` Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux) Petr Hlustik
  2000-01-07 19:30     ` Michal Jaegermann
  2000-01-07 19:46     ` Gotthard Saghi-Szabo
@ 2000-01-07 22:01     ` Wes Bauske
  2 siblings, 0 replies; 6+ messages in thread
From: Wes Bauske @ 2000-01-07 22:01 UTC (permalink / raw)
  To: axp-list

Petr Hlustik wrote:
> 
> 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.

It's a C runtime initialization module. Without it,
you won't be building C programs. Your compiler install
is hosed up. Have you been doing something unusual installing
things?


Wes


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux)
@ 2000-01-07 22:13 Frasnelli, Dan
  2000-01-10 21:55 ` SOLVED Re: Broken gcc in newly installed RH6.1 Petr Hlustik
  0 siblings, 1 reply; 6+ messages in thread
From: Frasnelli, Dan @ 2000-01-07 22:13 UTC (permalink / raw)
  To: axp-list

> I tried to remove and reinstall the egcs/gcc package, no change. Any
> ideas?

Did you install the glibc-devel package? I recall RH 6.1 having 
various "profiles" ala Debian at install-time.  Perhaps the default
profile does not include the development package? 

--
Dan Frasnelli
Security analyst




^ permalink raw reply	[flat|nested] 6+ messages in thread

* SOLVED Re: Broken gcc in newly installed RH6.1
  2000-01-07 22:13 Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux) Frasnelli, Dan
@ 2000-01-10 21:55 ` Petr Hlustik
  0 siblings, 0 replies; 6+ messages in thread
From: Petr Hlustik @ 2000-01-10 21:55 UTC (permalink / raw)
  To: axp-list

Thanks to all who suggested fixing the glibc-devel package. rpm showed it
as installed but the actual files were missing. Reinstalling it fixed my
problem.

Regards,
Petr


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-01-10 21:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-07 22:13 Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux) Frasnelli, Dan
2000-01-10 21:55 ` SOLVED Re: Broken gcc in newly installed RH6.1 Petr Hlustik
  -- strict thread matches above, loose matches on Subject: below --
1999-12-16 12:53 ssh in redhat linux Tiels, Frank
1999-12-16 15:06 ` Charles E. Taylor IV
2000-01-07 18:34   ` Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat linux) Petr Hlustik
2000-01-07 19:30     ` Michal Jaegermann
2000-01-07 19:46     ` Gotthard Saghi-Szabo
2000-01-07 22:01     ` Wes Bauske

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox