On Thu, 2009-09-03 at 11:23 +0100, Peter Robinson wrote: > I get the > following errors below on Fedora Rawhide so not sure if its due to > later libraries or compiler. [...] > *** Warning: Linking the shared library libcluttergesture.la against the > *** static library ../engine/libengine.a is not portable! [...] > /usr/bin/ld: ../engine/libengine.a(engine.o): relocation R_X86_64_32 > against `.rodata.str1.1' can not be used when making a shared object; > recompile with -fPIC > ../engine/libengine.a: could not read symbols: Bad value
I bet the make rules for libengine.a are lacking a "-DPIC -fPIC" in the CFLAGS. As a result, the code is not relocatable and can only be used in executables, but not relocatable shared objects. In 32 bit mode this is tolerated, but not in the 64 bit mode that you are using. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
