From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5946 invoked from network); 7 Jan 2000 22:37:24 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 7 Jan 2000 22:37:24 -0000 Received: from mailhub1.shef.ac.uk (mailhub1.shef.ac.uk [143.167.1.9]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA11038 for ; Fri, 7 Jan 2000 17:37:22 -0500 Received: from hagglee.shef.ac.uk ([143.167.59.252]) by mailhub1.shef.ac.uk with esmtp (Exim 3.02 #2) id 126i0X-0001WL-00 for axp-list@redhat.com; Fri, 07 Jan 2000 22:37:21 +0000 Received: from HAGGLEE/SpoolDir by hagglee.shef.ac.uk (Mercury 1.46); 7 Jan 00 22:37:22 +0000 Received: from SpoolDir by HAGGLEE (Mercury 1.46); 7 Jan 00 22:37:13 +0000 Received: from Fantine.shef.ac.uk (143.167.192.182) by hagglee.shef.ac.uk (Mercury 1.46); 7 Jan 00 22:37:03 +0000 Comments: Authenticated sender is From: "Will Zimmerman" To: axp-list@redhat.com Date: Fri, 7 Jan 2000 22:35:24 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Broken gcc in newly installed RH6.1 (Was: Re: ssh in redhat Reply-to: w.zimmerman@sheffield.ac.uk Priority: normal In-reply-to: <20000107123435.A5839@harper.uchicago.edu> References: ; from Charles E. Taylor IV on Thu, Dec 16, 1999 at 10:06:32AM -0500 X-mailer: Pegasus Mail for Win32 (v2.54) Message-ID: <2F61EAD1777@hagglee.shef.ac.uk> 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 > 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