On 19 October 2007 11:52, Jon Grant wrote:
> Hi,
>
> [...]
>> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
>> prorex.o: relocation R_X86_64_32 against `a local symbol' can not be
>> used when making a shared object; recompile with -fPIC
>> prorex.o: could not read symbols: Bad value
>> collect2: ld returned 1 exit status
>> make: *** [libprorex.so] Error 1
>
> That isn't an issue with Make. There is a linker error, re-read the
> message you quoted above and you ill see it tells you what the problem
> is and how to fix it! Always read things thoughtful before posting to
> mailing lists ;) If that doesnt fix it, contact the libprorex developers
> who provided you with the source code.
It could also be worth asking about on the binutils list.
I *think* (but am not sure) that it's to do with linking mixed -fPIC and
non-fPIC code, perhaps libprorex.so wasn't compiled with it? Or perhaps it's
something from libgcc that needs multilibbing against fPIC. Binutils list
ought to be able to help.
cheers,
DaveK
--
Can't think of a witty .sigline today....
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make