【已解决】dm_endpoint.c:167: undefined reference to `printf'
dm_endpoint.c:167: undefined reference to `printf'
请帮忙看看为啥lib_onenet提示没有定义pinrtf,我们这个printf是定义的,是不是lib_onenet库里引用的头文件不是stdio.h?
441159 1320 28480 470959 72faf (TOTALS)
/home/tuyaos/Documents/tuya/Projects/MK8010C_3.6.0/software/TuyaOS/vendor/MK8010C/tuyaos/../toolchain/gcc/bin/riscv-nuclei-elf-ld: /home/tuyaos/Documents/tuya/Projects/MK8010C_3.6.0/software/TuyaOS/libs/libtuyaos.a(dm_endpoint.c.o): in function to_encode':
printf'
/root/workspace_temp/cde/tuya_nbiot/tuyaos_nb_sdk/components/lib_onenet/src/ciscore/dm_utils/dm_endpoint.c:167: undefined reference to
Memory region Used Size Region Size %age Used
default: 392 B 18446744073709551615 B 0.00%
IRAM: 128624 B 128 KB 98.13%
FLASH: 1342356 B 1536 KB 85.34%
DRAM: 256 KB 256 KB 100.00%
RETRAM: 10516 B 12 KB 85.58%
make[2]: *** [make/build.mk:48: build-ants_8010c_opencpu/20230919193904_lk.elf] Error 1