_PC32 against symbol `poly1305_blocks' can not be used when making a shared object; recompile with -fPIC/usr/bin/ld: final link failed: Bad value
我在libssl中得到了一个类似的错误,所以我将-fPIC添加到openssl Makefile中。但是,在得到与libcrypto相同的错误后,我将-fPIC添加到crypto Makefile中,并再次从源代码
R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC编译(我的模块):cython sub2.py
{crossPrefix}gcc -fPIC -pthread -O2 -WallWextra -fno-strict-aliasing -fwrapv -I{crossRoot}{pythonInclude}
relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPICcdsl_deque_list_lock_based_pthread_push_tail' can not be used when making a PIE object; recompile with -fPICagainst symbol `cdsl_pthread_lock_request' can not be us
R_X86_64_32 against `MPIR_ThreadInfo' can not be used when making a shared object; recompile with -fPIChome/alex/Downloads/qthread-1.9/src'我有,显然(也是唯一可能的)解决方案是按照编译器说的做:用-fPIC有没有用-fPIC重新编译的简单方法?
请给我建议。我很感谢你的意见。