[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-fortran
Subject:    Re: linking problems
From:       Tobias Burnus <burnus () net-b ! de>
Date:       2012-07-24 16:16:55
Message-ID: 500ECA77.1080608 () net-b ! de
[Download RAW message or body]

HI,

no idea what library you have there. However:


On 07/24/2012 06:06 PM, Tom Szucs wrote:
> I built a 32 bit small library:
>
> gcc -g -m32 ...
>
> /usr/bin/ld: skipping incompatible /geoxfs/libdebug/linux4_6432/libgxinit.a when searching for -lgxinit

Could it be that that file is a 64bit file? Try:

   readelf -h /geoxfs/libdebug/linux4_6432/libgxinit.a | grep Class

(or "eu-readelf"). It should print ELF32 and not ELF64.

Tobias
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic