[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld: Mismatched ABI (not an ELF file) for -lgcc, found /usr/local/lib

From: Akim Demaille
Subject: Re: ld: Mismatched ABI (not an ELF file) for -lgcc, found /usr/local/lib/gcc/hppa2.0w-hp-hpux11.23/4.0.2/libgcc.a
Date: Tue, 18 May 2010 20:34:08 +0200

Le 13 mai 2010 à 22:18, Mahadeo, Resham a écrit :

> Hi,
>    I am trying to install bison-2.4.2 on a HP hpux11.23 server
> And is getting the above error. Doing some research I found
> That there may be some mismatch between 32 bit and 64 bit
> Load libs. Would appreciate any help you can give. Thanks


It looks very much like your gcc is broken and cannot compile simple programs.  
Unless I'm mistaken, the following will fail:

echo "int main (void) { return 0; }" > /tmp/foo.c
gcc /tmp/foo.c -o /tmp/foo

There is little we can do, you have to fix your gcc.

The problem might be with empty compilation units (if your extract from 
config.log is really complete and did not cut the report of conftest.c too 
soon).  Try this too.

: >/tmp/empty.c
gcc empty.c -o empty

reply via email to

[Prev in Thread] Current Thread [Next in Thread]