Re: rebuilding SRPMS

Peter Jones <[email protected]>
Newsgroups gmane.linux.aurora.devel
Message-ID <Pine.LNX.4.44.0303131157470.21365-100000@devserv.devel.redhat.com>
On Thu, 13 Mar 2003, Paul Gienger wrote:

> I saw a question on this in the archives, but no responses, so I'll ask 
> too and offer myself up for flamage.
> 
> Say I have a SRPM, perhaps coming from places where they have only x86 
> boxes.  I try to build that on my Ultra 2 and I get either this:
> 
> /usr/bin/ld: warning: sparc:v9 architecture of input file `main.o' is 
> incompatible with sparc output

You really want to be building in a sparc32 environment. "sparc32 bash" 
should get you there.

> 
> or this:
> 
> checking for gcc... gcc
> checking whether the C compiler (gcc -O2 -m64 -mcpu=ultrasparc ) works... no
> configure: error: installation or configuration problem: C compiler 
> cannot create executables.
> 
> The first error is specifically from sendmail, and the second is from 
> BIND 9.2.1, both from redhat 7.3 updates.  I have a custom in-house 
> autofs that I need to build that I get the first error on too, but I'm 
> debugging the build process on standard RH packages first.
> 
> Can anyone help give some insight on how to fix either problem?  I saw 
> some things about gcc being broken on 64bit, is that what I have going 
> on here?
> 
> 
> Thanks for anything
> 
> 

-- 
        Peter

"I stick my neck out for nobody."
		-- Bogart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.