ESP32S3_TuyaOS-3.6.7编译出错,在最后链接时报错

Wi-Fi 设备、Wi-Fi 低功耗设备、Wi-Fi BLE 双模设备、Ethernet设备、Ethernet+Wi-Fi设备等
Post Reply
726550914@qq.com
Posts: 31

/home/book/Documents/tuya/Projects/ESP32S3_TuyaOS-3.6.7/software/TuyaOS/vendor/esp32/toolchain/tools/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /home/book/Documents/tuya/Projects/ESP32S3_TuyaOS-3.6.7/software/TuyaOS/libs/libtuyaos.a(tkl_init_wired.c.o):(.rodata.c_wired_desc+0x0): undefined reference to tkl_wired_get_status'
/home/book/Documents/tuya/Projects/ESP32S3_TuyaOS-3.6.7/software/TuyaOS/vendor/esp32/toolchain/tools/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /home/book/Documents/tuya/Projects/ESP32S3_TuyaOS-3.6.7/software/TuyaOS/libs/libtuyaos.a(tkl_init_wired.c.o):(.rodata.c_wired_desc+0x4): undefined reference to
tkl_wired_set_status_cb'
/home/book/Documents/tuya/Projects/ESP32S3_TuyaOS-3.6.7/software/TuyaOS/vendor/esp32/toolchain/tools/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /home/book/Documents/tuya/Projects/ESP32S3_TuyaOS-3.6.7/software/TuyaOS/libs/libtuyaos.a(tkl_init_wired.c.o):(.rodata.c_wired_desc+0x8): undefined reference to tkl_wired_get_ip'
/home/book/Documents/tuya/Projects/ESP32S3_TuyaOS-3.6.7/software/TuyaOS/vendor/esp32/toolchain/tools/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /home/book/Documents/tuya/Projects/ESP32S3_TuyaOS-3.6.7/software/TuyaOS/libs/libtuyaos.a(tkl_init_wired.c.o):(.rodata.c_wired_desc+0xc): undefined reference to
tkl_wired_get_mac'
/home/book/Documents/tuya/Projects/ESP32S3_TuyaOS-3.6.7/software/TuyaOS/vendor/esp32/toolchain/tools/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: /home/book/Documents/tuya/Projects/ESP32S3_TuyaOS-3.6.7/software/TuyaOS/libs/libtuyaos.a(tkl_init_wired.c.o):(.rodata.c_wired_desc+0x10): undefined reference to `tkl_wired_set_mac'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
/home/book/Documents/tuya/Projects/ESP32S3_TuyaOS-3.6.7/software/TuyaOS/scripts/mk/app.mk:186: recipe for target 'app_by_name' failed
make: *** [app_by_name] Error 2

在libtuyaos.a(tkl_init_wired.c.o):(.rodata.c_wired_desc+0x0): undefined reference to `tkl_wired_get_status'里没有这个函数?如何处理?

Post Reply