Hi, I am trying to build gem5 shared library using following command: scons build/ARM/libgem5_debug.so
I have also added -fPIC flags to CXXFlags in SConstruct However I keep on getting error in final linking with python library because the linker seem to pickup .a rather than .so. I am not able to figure out why. Can you please help. I keep on getting following error: /opt/TWWfsw/gcc44/x86_64-unknown-linux-gnu/bin/ld: /project/sysperf_idc/users/diviya/simit-arm/Python-2.7.4/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /project/sysperf_idc/users/diviya/simit-arm/Python-2.7.4/lib/libpython2.7.a: could not read symbols: Bad value Thank you, diviya
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users