Tuya SDK 移植报错can not be used when making a shared object; recompile with -fPIC

Tuya Wind IDE、串口调试助手、烧写工具等
Post Reply
15902093507
Posts: 2

/arm-pc-linux-gnueabihf/bin/ld.exe: tuya/libs/libtuyaos.a(base_event.c.o): relocation R_ARM_MOVW_ABS_NC against a local symbol' can not be used when making a shared object; recompile with -fPIC
/arm-pc-linux-gnueabihf/bin/ld.exe: tuya/libs/libtuyaos.a(tuya_base_utilities.c.o): relocation R_ARM_MOVW_ABS_NC against
a local symbol' can not be used when making a shared object; recompile with -fPIC
/arm-pc-linux-gnueabihf/bin/ld.exe: tuya/libs/libtuyaos.a(tal_time_serivce.c.o): relocation R_ARM_MOVW_ABS_NC against a local symbol' can not be used when making a shared object; recompile with -fPIC
/arm-pc-linux-gnueabihf/bin/ld.exe: tuya/libs/libtuyaos.a(tal_workq_service.c.o): relocation R_ARM_MOVW_ABS_NC against
a local symbol' can not be used when making a shared object; recompile with -fPIC


Tags:
愚者千虑必有一得
Posts: 621

Re: Tuya SDK 移植报错can not be used when making a shared object; recompile with -fPIC

移植tuyaos要求提供编译选项的,你是不是没有提供啊,如果需要-fPIC,需要在申请邮件里写清楚的

Post Reply