大家好,WINDOWS下我用ESP32在IDF 5.3下编译我的工程,总是出现undefined reference to 某一函数的错误,请问如何解决。
编译链接时提示的结果如下:
[26/28] Linking CXX executable ADI-SMS.elf
FAILED: ADI-SMS.elf
cmd.exe /C "cd . && D:\Espressif\TOOL\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32=0 -Wl,--Map=D:/example-sms/ADI-SMS/build/ADI-SMS.map -Wl,--no-warn-rwx-segments -fno-rtti -fno-lto -Wl,--gc-sections -Wl,--warn-common -T esp32.peripherals.ld -T esp32.rom.ld -T esp32.rom.api.ld -T esp32.rom.libgcc.ld -T esp32.rom.newlib-data.ld -T esp32.rom.syscalls.ld -T esp32.rom.newlib-funcs.ld -T memory.ld -T sections.ld @CMakeFiles\ADI-SMS.elf.rsp -o ADI-SMS.elf && cd ."
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_default/liblqwy_itemid_default.a(lqwy_itemid_default.c.obj):(.literal.lqwy_default_itemid_init+0x50): undefined reference to `file_module_create'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_default/liblqwy_itemid_default.a(lqwy_itemid_default.c.obj):(.literal.lqwy_default_itemid_init+0x54): undefined reference to `file_module_read_size'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_default/liblqwy_itemid_default.a(lqwy_itemid_default.c.obj):(.literal.lqwy_default_itemid_init+0x58): undefined reference to `file_module_unmount'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_default/liblqwy_itemid_default.a(lqwy_itemid_default.c.obj):(.literal.lqwy_default_itemid_init+0x5c): undefined reference to `file_module_read_bytes'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_default/liblqwy_itemid_default.a(lqwy_itemid_default.c.obj):(.literal.lqwy_default_itemid_write+0x30): undefined reference to `file_module_remove'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_default/liblqwy_itemid_default.a(lqwy_itemid_default.c.obj):(.literal.lqwy_default_itemid_write+0x34): undefined reference to `file_module_write_bytes'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_default/liblqwy_itemid_default.a(lqwy_itemid_default.c.obj): in function `lqwy_default_itemid_init':
D:/example-sms/ADI-SMS/components/lqwy_itemid_default/lqwy_itemid_default.c:69:(.text.lqwy_default_itemid_init+0x51): undefined reference to `file_module_create'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_default/lqwy_itemid_default.c:71:(.text.lqwy_default_itemid_init+0x6b): undefined reference to `file_module_read_size'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_default/lqwy_itemid_default.c:80:(.text.lqwy_default_itemid_init+0xa2): undefined reference to `file_module_unmount'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_default/lqwy_itemid_default.c:101:(.text.lqwy_default_itemid_init+0x139): undefined reference to `file_module_read_bytes'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_default/lqwy_itemid_default.c:112:(.text.lqwy_default_itemid_init+0x1b6): undefined reference to `file_module_unmount'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_default/liblqwy_itemid_default.a(lqwy_itemid_default.c.obj): in function `lqwy_default_itemid_write':
D:/example-sms/ADI-SMS/components/lqwy_itemid_default/lqwy_itemid_default.c:218:(.text.lqwy_default_itemid_write+0x3f): undefined reference to `file_module_create'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_default/lqwy_itemid_default.c:227:(.text.lqwy_default_itemid_write+0x83): undefined reference to `file_module_remove'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_default/lqwy_itemid_default.c:235:(.text.lqwy_default_itemid_write+0xb7): undefined reference to `file_module_write_bytes'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_default/lqwy_itemid_default.c:242:(.text.lqwy_default_itemid_write+0xe7): undefined reference to `file_module_unmount'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_default/lqwy_itemid_default.c:256:(.text.lqwy_default_itemid_write+0x161): undefined reference to `file_module_remove'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_default/lqwy_itemid_default.c:262:(.text.lqwy_default_itemid_write+0x193): undefined reference to `file_module_unmount'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_esp_update_app.c.obj):(.literal.lqwy_esp_update_remote_response_task+0x34): undefined reference to `lqwy_remote_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_esp_update_app.c.obj):(.literal.lqwy_esp_update_task+0x74): undefined reference to `file_start_read'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_esp_update_app.c.obj): in function `lqwu_mcu_flash_upgrade_cb':
D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:189:(.text.lqwu_mcu_flash_upgrade_cb+0x1c): undefined reference to `file_module_write_bytes'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:197:(.text.lqwu_mcu_flash_upgrade_cb+0x94): undefined reference to `file_module_unmount'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_esp_update_app.c.obj): in function `lqwy_esp_update_remote_response_task':
D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:380:(.text.lqwy_esp_update_remote_response_task+0x74): undefined reference to `lqwy_remote_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:396:(.text.lqwy_esp_update_remote_response_task+0xfb): undefined reference to `lqwy_remote_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:420:(.text.lqwy_esp_update_remote_response_task+0x161): undefined reference to `lqwy_remote_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:421:(.text.lqwy_esp_update_remote_response_task+0x18b): undefined reference to `lqwy_remote_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:448:(.text.lqwy_esp_update_remote_response_task+0x1d8): undefined reference to `lqwy_remote_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_esp_update_app.c.obj): in function `lqwy_mcu_write_local_file_process':
D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:150:(.text.lqwy_mcu_write_local_file_process+0x58): undefined reference to `file_module_read_bytes'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:164:(.text.lqwy_mcu_write_local_file_process+0xbf): undefined reference to `file_module_unmount'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_esp_update_app.c.obj): in function `lqwy_esp_update_task':
D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:268:(.text.lqwy_esp_update_task+0x183): undefined reference to `file_module_create'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:271:(.text.lqwy_esp_update_task+0x190): undefined reference to `file_module_unmount'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_esp_update_app.c:315:(.text.lqwy_esp_update_task+0x29c): undefined reference to `file_start_read'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj):(.literal.lqwy_uart_decode_handler+0x0): undefined reference to `lqwy_hex_pro_context_handle_bytes'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj):(.literal.lqwy_uart_default_itemid_send+0xc): undefined reference to `lqwy_uart_default_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj):(.literal.lqwy_uart_version_send+0x4): undefined reference to `lqwy_uart_version_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj):(.literal.lqwy_uart_vib_mic_send+0x4): undefined reference to `lqwy_uart_vib_mic_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj):(.literal.lqwy_uart_unvarnished_response+0x4): undefined reference to `lqwy_uart_remote_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj):(.literal.lqwy_uart_03_response+0x4): undefined reference to `param_item_data_write'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj):(.literal.uart_com_data_write_fun+0x8): undefined reference to `lqwy_dev_status_infor_encode_list'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj):(.literal.lqwy_uart_com_init+0x34): undefined reference to `lqwy_hex_pro_context_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj): in function `lqwy_uart_decode_handler':
D:/example-sms/ADI-SMS/components/lqwy_uart_com/lqwy_uart_com.c:41:(.text.lqwy_uart_decode_handler+0xe): undefined reference to `lqwy_hex_pro_context_handle_bytes'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj): in function `lqwy_uart_default_itemid_send':
D:/example-sms/ADI-SMS/components/lqwy_uart_com/lqwy_uart_com.c:166:(.text.lqwy_uart_default_itemid_send+0x1c): undefined reference to `lqwy_uart_default_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj): in function `lqwy_uart_version_send':
D:/example-sms/ADI-SMS/components/lqwy_uart_com/lqwy_uart_com.c:187:(.text.lqwy_uart_version_send+0x1c): undefined reference to `lqwy_uart_version_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj): in function `lqwy_uart_vib_mic_send':
D:/example-sms/ADI-SMS/components/lqwy_uart_com/lqwy_uart_com.c:208:(.text.lqwy_uart_vib_mic_send+0x1c): undefined reference to `lqwy_uart_vib_mic_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj): in function `lqwy_uart_unvarnished_response':
D:/example-sms/ADI-SMS/components/lqwy_uart_com/lqwy_uart_com.c:137:(.text.lqwy_uart_unvarnished_response+0x27): undefined reference to `lqwy_uart_remote_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj): in function `lqwy_uart_04_response':
D:/example-sms/ADI-SMS/components/lqwy_uart_com/lqwy_uart_com.c:105:(.text.lqwy_uart_04_response+0x27): undefined reference to `lqwy_uart_remote_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj): in function `lqwy_uart_03_response':
D:/example-sms/ADI-SMS/components/lqwy_uart_com/lqwy_uart_com.c:75:(.text.lqwy_uart_03_response+0x12): undefined reference to `param_item_data_write'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj): in function `uart_com_data_write_fun':
D:/example-sms/ADI-SMS/components/lqwy_uart_com/lqwy_uart_com.c:62:(.text.uart_com_data_write_fun+0x42): undefined reference to `lqwy_dev_status_infor_encode_list'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_uart_com/liblqwy_uart_com.a(lqwy_uart_com.c.obj): in function `lqwy_uart_com_init':
D:/example-sms/ADI-SMS/components/lqwy_uart_com/lqwy_uart_com.c:340:(.text.lqwy_uart_com_init+0x38): undefined reference to `lqwy_hex_pro_context_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_mcu_module_upgrade.c.obj):(.literal.lqwy_mcu_upgrade_process+0x38): undefined reference to `lqwy_uart_hex_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_mcu_module_upgrade.c.obj): in function `lqwy_mcu_upgrade_response':
D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_mcu_module_upgrade.c:160:(.text.lqwy_mcu_upgrade_response+0x12): undefined reference to `param_item_data_write'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_mcu_module_upgrade.c.obj): in function `lqwy_mcu_upgrade_decode_handler':
D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_mcu_module_upgrade.c:144:(.text.lqwy_mcu_upgrade_decode_handler+0xe): undefined reference to `lqwy_hex_pro_context_handle_bytes'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_mcu_module_upgrade.c.obj): in function `lqwy_mcu_module_upgrade_create':
D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_mcu_module_upgrade.c:186:(.text.lqwy_mcu_module_upgrade_create+0x58): undefined reference to `lqwy_hex_pro_context_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_mcu_module_upgrade.c.obj): in function `lqwy_mcu_upgrade_process':
D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_mcu_module_upgrade.c:238:(.text.lqwy_mcu_upgrade_process+0x74): undefined reference to `lqwy_uart_hex_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_mcu_module_upgrade.c:260:(.text.lqwy_mcu_upgrade_process+0xd8): undefined reference to `lqwy_uart_hex_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_mcu_module_upgrade.c:278:(.text.lqwy_mcu_upgrade_process+0x130): undefined reference to `lqwy_uart_hex_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_mcu_module_upgrade.c:297:(.text.lqwy_mcu_upgrade_process+0x187): undefined reference to `lqwy_uart_hex_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_mcu_module_upgrade.c:317:(.text.lqwy_mcu_upgrade_process+0x1ed): undefined reference to `lqwy_uart_hex_itemid_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_update/liblqwy_update.a(lqwy_mcu_module_upgrade.c.obj):D:/example-sms/ADI-SMS/components/lqwy_update/lqwy_mcu_module_upgrade.c:320: more undefined references to `lqwy_uart_hex_itemid_data_encode' follow
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/remote/libremote.a(wifi_device.cpp.obj):(.literal._ZL13event_handlerPvPKclS_+0x38): undefined reference to `port_clear_status(EVENT_GROUP_SELECT_T, unsigned long)'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/remote/libremote.a(wifi_device.cpp.obj):(.literal._ZL13event_handlerPvPKclS_+0x3c): undefined reference to `port_get_status(EVENT_GROUP_SELECT_T, unsigned long, int, int, unsigned long)'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/remote/libremote.a(wifi_device.cpp.obj):(.literal._ZL13event_handlerPvPKclS_+0x40): undefined reference to `port_set_status(EVENT_GROUP_SELECT_T, unsigned long)'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/remote/libremote.a(wifi_device.cpp.obj): in function `event_handler(void*, char const*, long, void*)':
D:/example-sms/ADI-SMS/components/remote/wifi_device.cpp:45:(.text._ZL13event_handlerPvPKclS_+0x33): undefined reference to `port_clear_status(EVENT_GROUP_SELECT_T, unsigned long)'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/remote/wifi_device.cpp:48:(.text._ZL13event_handlerPvPKclS_+0x62): undefined reference to `port_get_status(EVENT_GROUP_SELECT_T, unsigned long, int, int, unsigned long)'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/remote/wifi_device.cpp:53:(.text._ZL13event_handlerPvPKclS_+0x92): undefined reference to `port_clear_status(EVENT_GROUP_SELECT_T, unsigned long)'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/remote/wifi_device.cpp:54:(.text._ZL13event_handlerPvPKclS_+0xb0): undefined reference to `port_set_status(EVENT_GROUP_SELECT_T, unsigned long)'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/remote/wifi_device.cpp:57:(.text._ZL13event_handlerPvPKclS_+0xba): undefined reference to `port_clear_status(EVENT_GROUP_SELECT_T, unsigned long)'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/remote/wifi_device.cpp:68:(.text._ZL13event_handlerPvPKclS_+0x126): undefined reference to `port_set_status(EVENT_GROUP_SELECT_T, unsigned long)'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/remote/wifi_device.cpp:73:(.text._ZL13event_handlerPvPKclS_+0x16e): undefined reference to `port_clear_status(EVENT_GROUP_SELECT_T, unsigned long)'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/remote/wifi_device.cpp:73:(.text._ZL13event_handlerPvPKclS_+0x181): undefined reference to `port_set_status(EVENT_GROUP_SELECT_T, unsigned long)'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_app/liblqwy_itemid_app.a(lqwy_itemid_app.c.obj):(.literal.device_version_read+0xc): undefined reference to `lqwy_dev_status_get_list_pack'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_app/liblqwy_itemid_app.a(lqwy_itemid_app.c.obj):(.literal.lqwy_device_status_init+0x0): undefined reference to `lqwy_dev_status_list_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_app/liblqwy_itemid_app.a(lqwy_itemid_app.c.obj):(.literal.lqwy_device_status_init+0x4): undefined reference to `lqwy_dev_status_insert_list'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_app/liblqwy_itemid_app.a(lqwy_itemid_app.c.obj):(.literal.lqwy_itemid_app_init+0x70): undefined reference to `ParaM_Init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_app/liblqwy_itemid_app.a(lqwy_itemid_app.c.obj):(.literal.lqwy_itemid_app_init+0x74): undefined reference to `ParaM_Register'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_app/liblqwy_itemid_app.a(lqwy_itemid_app.c.obj): in function `device_version_read':
D:/example-sms/ADI-SMS/components/lqwy_itemid_app/lqwy_itemid_app.c:255:(.text.device_version_read+0x17): undefined reference to `lqwy_dev_status_get_list_pack'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_app/liblqwy_itemid_app.a(lqwy_itemid_app.c.obj): in function `lqwy_device_status_init':
D:/example-sms/ADI-SMS/components/lqwy_itemid_app/lqwy_itemid_app.c:381:(.text.lqwy_device_status_init+0x10): undefined reference to `lqwy_dev_status_list_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_app/lqwy_itemid_app.c:397:(.text.lqwy_device_status_init+0x43): undefined reference to `lqwy_dev_status_insert_list'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_app/liblqwy_itemid_app.a(lqwy_itemid_app.c.obj): in function `lqwy_itemid_app_init':
D:/example-sms/ADI-SMS/components/lqwy_itemid_app/lqwy_itemid_app.c:409:(.text.lqwy_itemid_app_init+0x8): undefined reference to `ParaM_Init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_app/lqwy_itemid_app.c:412:(.text.lqwy_itemid_app_init+0x21): undefined reference to `ParaM_Register'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_app/lqwy_itemid_app.c:421:(.text.lqwy_itemid_app_init+0x3b): undefined reference to `ParaM_Register'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_app/lqwy_itemid_app.c:431:(.text.lqwy_itemid_app_init+0x54): undefined reference to `ParaM_Register'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_app/lqwy_itemid_app.c:440:(.text.lqwy_itemid_app_init+0x6c): undefined reference to `ParaM_Register'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_itemid_app/lqwy_itemid_app.c:450:(.text.lqwy_itemid_app_init+0x84): undefined reference to `ParaM_Register'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_itemid_app/liblqwy_itemid_app.a(lqwy_itemid_app.c.obj):D:/example-sms/ADI-SMS/components/lqwy_itemid_app/lqwy_itemid_app.c:459: more undefined references to `ParaM_Register' follow
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/protocal/libprotocal.a(protocal.c.obj):(.literal.protocal_init+0xc): undefined reference to `protocal_port_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/protocal/libprotocal.a(protocal.c.obj):(.literal.protocal_init+0x10): undefined reference to `protocal_time_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/protocal/libprotocal.a(protocal.c.obj):(.literal.protocal_poll+0x8): undefined reference to `protocal_timer_allow_in'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/protocal/libprotocal.a(protocal.c.obj):(.literal.protocal_poll+0xc): undefined reference to `protocal_port_mutx_lock'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/protocal/libprotocal.a(protocal.c.obj):(.literal.protocal_poll+0x10): undefined reference to `protocal_port_mutx_release'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/protocal/libprotocal.a(protocal.c.obj):(.literal.protocal_poll+0x14): undefined reference to `protocal_timer_start_expired'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/protocal/libprotocal.a(protocal.c.obj): in function
`protocal_init':
D:/example-sms/ADI-SMS/components/protocal/protocal.c:26:(.text.protocal_init+0x13): undefined reference to `protocal_port_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/protocal/protocal.c:38:(.text.protocal_init+0x59): undefined reference to `protocal_time_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/protocal/libprotocal.a(protocal.c.obj): in function
`protocal_poll':
D:/example-sms/ADI-SMS/components/protocal/protocal.c:62:(.text.protocal_poll+0x10): undefined reference to `protocal_timer_allow_in'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/protocal/protocal.c:78:(.text.protocal_poll+0x5c): undefined reference to `protocal_port_mutx_lock'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/protocal/protocal.c:96:(.text.protocal_poll+0x8e): undefined reference to `protocal_port_mutx_release'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/protocal/protocal.c:99:(.text.protocal_poll+0x96): undefined reference to `protocal_timer_start_expired'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/protocal/protocal.c:79:(.text.protocal_poll+0xaf): undefined reference to `protocal_port_mutx_release'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/protocal/protocal.c:117:(.text.protocal_poll+0xc2): undefined reference to `protocal_timer_start_expired'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_remote_com/liblqwy_remote_com.a(lqwy_remote_com.c.obj):(.literal.lqwy_remote_life_send+0xc): undefined reference to `lqwy_remote_active_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_remote_com/liblqwy_remote_com.a(lqwy_remote_com.c.obj):(.literal.lqwy_remote_com_init+0x8): undefined reference to `lqwy_remote_eventid_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_remote_com/liblqwy_remote_com.a(lqwy_remote_com.c.obj):(.literal.lqwy_remote_com_init+0xc): undefined reference to `lqwy_remote_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_remote_com/liblqwy_remote_com.a(lqwy_remote_com.c.obj):(.literal.lqwy_remote_com_init+0x10): undefined reference to `lqwy_remote_head_pro_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_remote_com/liblqwy_remote_com.a(lqwy_remote_com.c.obj):(.literal.lqwy_remote_com_init+0x14): undefined reference to `lqwy_remote_hex_pro_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_remote_com/liblqwy_remote_com.a(lqwy_remote_com.c.obj): in function `lqwy_remote_life_send':
D:/example-sms/ADI-SMS/components/lqwy_remote_com/lqwy_remote_com.c:57:(.text.lqwy_remote_life_send+0x21): undefined reference to `lqwy_remote_active_data_encode'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/lqwy_remote_com/liblqwy_remote_com.a(lqwy_remote_com.c.obj): in function `lqwy_remote_com_init':
D:/example-sms/ADI-SMS/components/lqwy_remote_com/lqwy_remote_com.c:83:(.text.lqwy_remote_com_init+0xb): undefined reference to `lqwy_remote_eventid_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_remote_com/lqwy_remote_com.c:88:(.text.lqwy_remote_com_init+0x3d): undefined reference to `lqwy_remote_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_remote_com/lqwy_remote_com.c:99:(.text.lqwy_remote_com_init+0x56): undefined reference to `lqwy_remote_head_pro_init'
D:/Espressif/TOOL/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: D:/example-sms/ADI-SMS/components/lqwy_remote_com/lqwy_remote_com.c:106:(.text.lqwy_remote_com_init+0x6e): undefined reference to `lqwy_remote_hex_pro_init'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
* 终端进程“d:\Espressif\TOOL\tools\ninja\1.11.1\ninja.exe”已终止,退出代码: 1。
我的CMakeLists文件如下,比如在lqwy_remote_com自定义组件下,我的CMakeLists.txt文件如下:
idf_component_register(SRCS "lqwy_remote_com.c"
INCLUDE_DIRS .
REQUIRES lqwy_remote_pro lqwy_remote_head_pro lqwy_remote_hex_pro
)
最后一个lqwy_remote_hex_pro_init函数,就是定义在lqwy_remote_hex_pro组件中,正确添加了依赖,依然提示undefined reference to,卡了好久了,有人可以指点下吗?先谢谢了,请问是什么原因?
工程链接时候出现undefined reference to错误
-
- Posts: 20
- Joined: Mon Jul 10, 2023 9:14 am
Re: 工程链接时候出现undefined reference to错误
非静态函数,已经在头文件中声明了,而且也#include调用的函数。vscode中也可以正确跳转,就是链接时候总是报未定义,请问是什么原因?
-
- Posts: 20
- Joined: Mon Jul 10, 2023 9:14 am
Re: 工程链接时候出现undefined reference to错误
我把 event_handler中调用的port_event组件中定义的port_set/get/clean_status函数,直接用xEventGroupSet/get/cleanBits(即freertos组件的API函数替代),工程编译就成功了。虽然成功,但是还想请大神指点下,自定义的组件,难道不能被别的组件访问吗?而且还加入了依赖,百思不得解。
Who is online
Users browsing this forum: No registered users and 62 guests