Well, this is a strange one.

I'm building libHalf statically on a 32 bit kubuntu system and a 64 bit system. I'm linking it in with a shared library.

On the 32 bit system, everything is fine.

On the 64 bit system (kubuntu 6.0.6, full upgrade), when I attempt to link my shared library (again, with the 64 bit static libHalf.a), I get this link error:

/usr/bin/ld: /usr/local/lib/libHalf.a(half.o): relocation R_X86_64_32S against half::_eLut' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libHalf.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

Can anyone shed any light on this? What's the difference in behavior between the 32 bit and 64 bit systems (basically, IDENTICAL setups except for the bit size) and what exactly is it asking for?

Much appreciated!!

--
Paul Miller | [EMAIL PROTECTED] | www.fxtech.com | Got Tivo?



_______________________________________________
Openexr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to