gnustep-dev
[Top][All Lists]
Advanced

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

Re: Trouble building projects on SuSE


From: Richard Frith-Macdonald
Subject: Re: Trouble building projects on SuSE
Date: Sun, 3 Mar 2013 16:44:03 +0000

On 3 Mar 2013, at 16:10, Randy J. Zauhar wrote:


> 
> /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: 
> skipping incompatible /usr/lib/libgnustep-base.so when searching for 
> -lgnustep-base
> /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: 
> cannot find -lgnustep-base
> /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: 
> skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
> collect2: ld returned 1 exit status
> 
> It bitches about  'incompatible' /usr/lib/libgnustep-base.so - however, I see
> 
> # file /usr/lib/libgnustep-base.so.1.22.0
> /usr/lib/libgnustep-base.so.1.22.0: ELF 32-bit LSB shared object, Intel 
> 80386, version 1 (SYSV), dynamically linked, 
> BuildID[sha1]=0x98b3eaa5772d648cba3f519387a6b6564e3c8f2a, stripped
> 
> and my tool object :
> 
> # file obj/LogTest.obj/source.m.o
> obj/LogTest.obj/source.m.o: ELF 32-bit LSB relocatable, Intel 80386, version 
> 1 (SYSV), not stripped
> 
> They are both 32-bit so what is the deal? Is this a library version issue? I 
> see that the latest GNUstep base is 1.24.3, where I have  1.22.0 installed, 
> so could that lead to some incompatibility? But, incompatible with what?
> 
> Any advice appreciated!!

I can't comment in detail on the packages you are using as I know nothing about 
them (I guess you'd have to ask people from suse).
However two things;
1. It looks like a 64bit loader is being used to link 32bit code ... I would 
have thought that if you were on a 64bit system you should be using 64bit 
gnustep ... so perhaps you have the wrong gnustep package for the architecture 
you are working on.
2. Yes 1.22.0 is about two years old.  I would expect current packages to be 
using at least 1.24.0 (a stable release over a year old)... so you have too old 
a gnustep package, though I don't see why that would cause a linker issue ... 
it's more likely to be a 64/32bit issue.

For both those reasons, I'd suggest looking for an up to date 64bit package of 
GNUstep or, if there's no such package for your OS, installing GNUstep from 
source.


reply via email to

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