Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th December 2004, 09:31 PM
Guido64 Offline
Registered User
 
Join Date: Dec 2004
Posts: 2
Unhappy crt1.o (compiling 32-bit binaries)

This seems pretty simple, but I can't find any answers for it on the net. I have a fresh install of FC3 on an Athlon64, and I can't compile anything in 32-bit mode. Trying "Hello world" gives:

[root@area51 tmp]# gcc -m32 hello.c
hello.c: In function `main':
hello.c:7: warning: return type of 'main' is not `int'
/usr/bin/ld: crt1.o: No such file: No such file or directory

crt1.o is present in /usr/lib64 but not in /usr/lib. Is there an RPM that contains this? I have the following groups installed:
Compatibility Arch Support
x86 Compatibility Arch Development Support

Or is there some way to get a 32-bit binary to link with the 64-bit crt1.o?
Reply With Quote
  #2  
Old 6th December 2004, 09:57 PM
Guido64 Offline
Registered User
 
Join Date: Dec 2004
Posts: 2
So, I think I've partially answered my own question: I need to install glibc-devel-2.3.3-74.i386

Clue to this was that 'rpm -q glibc' lists two entries, but 'rpm -q glibc-devel' lists only one. 'yum info glibc-devel' shows x86_64 installed, and i386 available in 'base'.

The problem now is, yum refuses to install the i386 version:
yum install glibc-devel-2.3.3-74.i386

reports "nothing to do", despite the fact that it just reported that the package was not installed. Is there something I'm missing in the yum command? And why wasn't this installed as part of one of the "Compatability" groups?
Reply With Quote
  #3  
Old 28th May 2008, 12:52 AM
Dubious Dave Offline
Registered User
 
Join Date: Feb 2006
Location: Tampa, Fl. USA
Posts: 323
did you try

yum install glibc-devel.i386

? this worked for me.
__________________
The only thing more dangerous than action without thought is thought without action.
Reply With Quote
Reply

Tags
32bit, binaries, compiling, crt1o

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling on FC8_64 and running binaries on FC7_32 D4Dave Using Fedora 7 11th December 2007 07:34 PM
OT: OO.o 2.0 OS X binaries here stmiller Mac Chat 0 5th August 2005 03:54 AM
are x86_64 binaries faster? raghu1111 Using Fedora 4 31st July 2005 02:22 AM
imagemagick binaries? Secret Agent Using Fedora 2 2nd November 2004 03:19 PM


Current GMT-time: 06:59 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat