Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-19-2005, 05:07 PM   #1
LQ Newbie
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
Failure of gcc -m32 on an x86_64

gcc -m32 fails with the message:
"/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status"

The package glibc-devel-2.3.3-27 installs the file /usr/lib64/crt1.o, should it also be installing the file /usr/lib/crt1.o, etc, so that gcc -m32 will work?

I have tried fixing this by installing similar 32-bit packages (sorry, don't have the name of the package) but rpm complained of conflicts.

This can be a real hassle as configure files sometimes test gcc by using the -m32. One
example is GNU GRUB v0.94 where the configure script failed. I also have some 32-bit applications that I would like to compile for my x86_64 system, but sometimes that fails
if I use gcc without -m32 because you get seg faults if they treat pointers as 4 byte.

Does anyone know a way of fixing this problem? I've read about this elsewhere but haven't found an answer.

CPU: 2 x 3.2GHz Xeon Nocona
Linux: 2.6.5-1.358smp
Distro: FC2 x86_64
gcc: 3.3.3 20040412 (Red Hat Linux 3.3.3-7)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC 2.95.3 won't compile, Fedora Core 4 x86_64 slantoflight Linux - Software 3 08-31-2005 08:21 PM
DISTCC failure and GCC CHOST change jacoby Linux - Software 0 01-20-2005 02:53 AM
x86_64 Devel 2.6 kernel rpm failure? Bana Fedora 0 02-16-2004 04:09 PM
gcc install failure ............. eye Linux - Software 3 08-29-2003 12:35 AM
Chapter 5, GCC pass 1: compile failure Electrode Linux From Scratch 0 08-16-2003 08:31 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration