make fails on ld: crti.o "no such file", but present in /usr/lib64
Ian S. Worthington
ianworthington@usa.net
Tue Feb 12 20:25:00 GMT 2008
Hi Andrew --
Many thanks for your reply.
It looks like I've got glibc-devel installed and (almost) up to date:
# yum list glibc-devel
Setting up repositories
update 100% |=========================| 951 B 00:00
base 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Installed Packages
glibc-devel.s390x 2.3.4-2.36 installed
Available Packages
glibc-devel.s390x 2.3.4-2.39 base
glibc-devel.s390 2.3.4-2.39 base
I've now updated to .39 just in case but still only have that one copy.
/usr/lib doesn't seem to have much in it. Is this correct?
drwxr-xr-x 3 root root 4096 Oct 21 12:19 anaconda-runtime
drwxr-xr-x 2 root root 4096 Jul 7 2005 games
drwxr-xr-x 3 root root 4096 May 3 2007 gcc
drwxr-xr-x 2 root root 4096 Jul 7 2005 gcc-lib
drwxr-xr-x 2 root root 8192 Feb 12 15:15 gconv
drwxr-xr-x 2 root root 4096 May 12 2007 java
drwxr-xr-x 2 root root 4096 May 12 2007 java-1.4.0
drwxr-xr-x 2 root root 4096 May 12 2007 java-1.4.1
drwxr-xr-x 2 root root 4096 May 12 2007 java-1.4.2
drwxr-xr-x 2 root root 4096 May 12 2007 java-1.5.0
drwxr-xr-x 2 root root 4096 May 12 2007 java-1.6.0
drwxr-xr-x 2 root root 4096 May 12 2007 java-ext
drwxr-xr-x 3 root root 4096 Oct 21 21:08 jvm
drwxr-xr-x 2 root root 4096 May 12 2007 jvm-commmon
drwxr-xr-x 3 root root 4096 Oct 21 21:08 jvm-exports
drwxr-xr-x 2 root root 4096 May 12 2007 jvm-private
drwxr-xr-x 346 root root 8192 Feb 12 15:12 locale
-rw-r--r-- 1 root root 324 May 3 2007 logging.properties
drwxr-xr-x 2 root root 4096 Oct 21 14:43 lsb
-rw-r--r-- 1 root root 947 Mar 6 2007 mail.help
-rw-r--r-- 1 root root 823 Mar 6 2007 mail.tildehelp
drwxr-xr-x 5 root root 4096 Oct 21 13:02 perl5
drwxr-xr-x 2 root root 4096 Oct 21 20:56 pkgconfig
drwxr-xr-x 2 root root 4096 Oct 21 15:13 psutils
drwxr-xr-x 3 root root 4096 Oct 21 14:26 python2.3
drwxr-xr-x 6 rpm rpm 4096 Oct 21 20:45 rpm
drwxr-xr-x 3 root root 4096 Oct 21 13:16 rpmdb
drwxr-xr-x 2 root root 4096 Oct 21 20:51 security
lrwxrwxrwx 1 root root 30 Oct 21 14:36 sendmail ->
/etc/alternatives/mta-sendmail
lrwxrwxrwx 1 root root 16 Oct 21 14:36 sendmail.sendmail ->
../sbin/sendmail
lrwxrwxrwx 1 root root 17 Oct 21 13:20 tcl8.4 -> /usr/share/tcl8.4
lrwxrwxrwx 1 root root 16 Oct 21 12:20 X11 -> ../X11R6/lib/X11
------ Original Message ------
Received: Tue, 12 Feb 2008 06:00:00 PM GMT
From: Andrew Haley <aph@redhat.com>
To: "Ian S. Worthington" <ianworthington@usa.net>Cc: gcc-help@gcc.gnu.org
Subject: Re: make fails on ld: crti.o "no such file", but present in
/usr/lib64
> Ian S. Worthington wrote:
> > Can anyone help me figure out what's wrong with this?
> >
> > My "make bootstrap" of gcc 4.1.2 is failing with:
> >
> > /usr/bin/ld: crti.o: No such file: No such file or directory
> >
> > This file is available in /usr/lib64
>
> It's the wrong crti.o. There are two such files, one in /usr/lib64 and one
> in /usr/lib. To install this on a Fedora system you'd type
>
> yum install glibc-devel.i386
>
> Andrew.
>
More information about the Gcc-help
mailing list