undefined reference to `port_clear_status(EVENT_GROUP_SELECT_T, unsigned long)'

greenstone
Posts: 20
Joined: Mon Jul 10, 2023 9:14 am

undefined reference to `port_clear_status(EVENT_GROUP_SELECT_T, unsigned long)'

Postby greenstone » Mon Sep 02, 2024 8:54 am

Project as attached,ubuntu 20.04 和ESP-IDF V5.1.0 building,idf_py_stdout_output_14368 as folling:
How can I solve this problem,I hope to receive your help.

../../../components/driver/deprecated/driver/timer.h:16:2: warning: #warning "legacy timer group driver is deprecated, please migrate to driver/gptimer.h" [-Wcpp]
16 | #warning "legacy timer group driver is deprecated, please migrate to driver/gptimer.h"
| ^~~~~~~
[888/899] /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DESP_PLATFORM -DIDF_VER=\"v5.1-dev-4726-gdf9310ada2-dirty\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -Iconfig -I../components/hal_param_manage -I../../../components/newlib/platform_include -I../../../components/freertos/FreeRTOS-Kernel/include -I../../../components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I../../../components/freertos/esp_additions/include/freertos -I../../../components/freertos/esp_additions/include -I../../../components/freertos/esp_additions/arch/xtensa/include -I../../../components/esp_hw_support/include -I../../../components/esp_hw_support/include/soc -I../../../components/esp_hw_support/include/soc/esp32 -I../../../components/esp_hw_support/port/esp32/. -I../../../components/esp_hw_support/port/esp32/private_include -I../../../components/heap/include -I../../../components/log/include -I../../../components/soc/include -I../../../components/soc/esp32 -I../../../components/soc/esp32/include -I../../../components/hal/esp32/include -I../../../components/hal/include -I../../../components/hal/platform_port/include -I../../../components/esp_rom/include -I../../../components/esp_rom/include/esp32 -I../../../components/esp_rom/esp32 -I../../../components/esp_common/include -I../../../components/esp_system/include -I../../../components/esp_system/port/soc -I../../../components/esp_system/port/include/private -I../../../components/xtensa/include -I../../../components/xtensa/esp32/include -I../../../components/lwip/include -I../../../components/lwip/include/apps -I../../../components/lwip/include/apps/sntp -I../../../components/lwip/lwip/src/include -I../../../components/lwip/port/include -I../../../components/lwip/port/freertos/include -I../../../components/lwip/port/esp32xx/include -I../../../components/lwip/port/esp32xx/include/arch -I../../../components/nvs_flash/include -I../../../components/spi_flash/include -I../../../components/esp_partition/include -I../components/port_debug -I../components/linux_list -I../components/main_config -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=/home/shihongbo/esp-idf/examples/new1=. -fmacro-prefix-map=/home/shihongbo/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/hal_param_manage/CMakeFiles/__idf_hal_param_manage.dir/hal_param_manage.c.obj -MF esp-idf/hal_param_manage/CMakeFiles/__idf_hal_param_manage.dir/hal_param_manage.c.obj.d -o esp-idf/hal_param_manage/CMakeFiles/__idf_hal_param_manage.dir/hal_param_manage.c.obj -c ../components/hal_param_manage/hal_param_manage.c
[889/899] : && /usr/bin/cmake -E remove esp-idf/port_timer/libport_timer.a && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar qc esp-idf/port_timer/libport_timer.a esp-idf/port_timer/CMakeFiles/__idf_port_timer.dir/port_timer.c.obj && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-ranlib esp-idf/port_timer/libport_timer.a && :
[890/899] : && /usr/bin/cmake -E remove esp-idf/hal_param_manage/libhal_param_manage.a && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar qc esp-idf/hal_param_manage/libhal_param_manage.a esp-idf/hal_param_manage/CMakeFiles/__idf_hal_param_manage.dir/hal_param_manage.c.obj && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-ranlib esp-idf/hal_param_manage/libhal_param_manage.a && :
[891/899] : && /usr/bin/cmake -E remove esp-idf/wifi_app/libwifi_app.a && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar qc esp-idf/wifi_app/libwifi_app.a esp-idf/wifi_app/CMakeFiles/__idf_wifi_app.dir/wifi_device.cpp.obj && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-ranlib esp-idf/wifi_app/libwifi_app.a && :
[892/899] /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DESP_PLATFORM -DIDF_VER=\"v5.1-dev-4726-gdf9310ada2-dirty\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -Iconfig -I../../../components/wifi_provisioning/include -I../../../components/wifi_provisioning/src -I../../../components/wifi_provisioning/proto-c -I../../../components/protocomm/proto-c -I../../../components/newlib/platform_include -I../../../components/freertos/FreeRTOS-Kernel/include -I../../../components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I../../../components/freertos/esp_additions/include/freertos -I../../../components/freertos/esp_additions/include -I../../../components/freertos/esp_additions/arch/xtensa/include -I../../../components/esp_hw_support/include -I../../../components/esp_hw_support/include/soc -I../../../components/esp_hw_support/include/soc/esp32 -I../../../components/esp_hw_support/port/esp32/. -I../../../components/esp_hw_support/port/esp32/private_include -I../../../components/heap/include -I../../../components/log/include -I../../../components/soc/include -I../../../components/soc/esp32 -I../../../components/soc/esp32/include -I../../../components/hal/esp32/include -I../../../components/hal/include -I../../../components/hal/platform_port/include -I../../../components/esp_rom/include -I../../../components/esp_rom/include/esp32 -I../../../components/esp_rom/esp32 -I../../../components/esp_common/include -I../../../components/esp_system/include -I../../../components/esp_system/port/soc -I../../../components/esp_system/port/include/private -I../../../components/xtensa/include -I../../../components/xtensa/esp32/include -I../../../components/lwip/include -I../../../components/lwip/include/apps -I../../../components/lwip/include/apps/sntp -I../../../components/lwip/lwip/src/include -I../../../components/lwip/port/include -I../../../components/lwip/port/freertos/include -I../../../components/lwip/port/esp32xx/include -I../../../components/lwip/port/esp32xx/include/arch -I../../../components/protocomm/include/common -I../../../components/protocomm/include/security -I../../../components/protocomm/include/transports -I../../../components/esp_timer/include -I../../../components/esp_wifi/include -I../../../components/esp_wifi/wifi_apps/include -I../../../components/esp_event/include -I../../../components/esp_phy/include -I../../../components/esp_phy/esp32/include -I../../../components/esp_netif/include -I../../../components/protobuf-c/protobuf-c -I../../../components/json/cJSON -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=/home/shihongbo/esp-idf/examples/new1=. -fmacro-prefix-map=/home/shihongbo/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/manager.c.obj -MF esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/manager.c.obj.d -o esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/manager.c.obj -c /home/shihongbo/esp-idf/components/wifi_provisioning/src/manager.c
[893/899] : && /usr/bin/cmake -E remove esp-idf/wifi_provisioning/libwifi_provisioning.a && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar qc esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_config.c.obj esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_scan.c.obj esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_ctrl.c.obj esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/manager.c.obj esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/handlers.c.obj esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/scheme_console.c.obj esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_config.pb-c.c.obj esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_scan.pb-c.c.obj esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_ctrl.pb-c.c.obj esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_constants.pb-c.c.obj esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/scheme_softap.c.obj && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-ranlib esp-idf/wifi_provisioning/libwifi_provisioning.a && :
[894/899] : && /usr/bin/cmake -E remove esp-idf/main/libmain.a && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar qc esp-idf/main/libmain.a esp-idf/main/CMakeFiles/__idf_main.dir/user_main.c.obj && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-ranlib esp-idf/main/libmain.a && :
[895/899] cd /home/shihongbo/esp-idf/examples/new1/build/esp-idf/esp_system && /home/shihongbo/.espressif/python_env/idf5.1_py3.8_env/bin/python /home/shihongbo/esp-idf/tools/ldgen/ldgen.py --config /home/shihongbo/esp-idf/examples/new1/sdkconfig --fragments-list "/home/shihongbo/esp-idf/components/xtensa/linker.lf;/home/shihongbo/esp-idf/components/esp_ringbuf/linker.lf;/home/shihongbo/esp-idf/components/driver/linker.lf;/home/shihongbo/esp-idf/components/esp_pm/linker.lf;/home/shihongbo/esp-idf/components/esp_mm/linker.lf;/home/shihongbo/esp-idf/components/spi_flash/linker.lf;/home/shihongbo/esp-idf/components/esp_system/linker.lf;/home/shihongbo/esp-idf/components/esp_system/app.lf;/home/shihongbo/esp-idf/components/esp_rom/linker.lf;/home/shihongbo/esp-idf/components/hal/linker.lf;/home/shihongbo/esp-idf/components/log/linker.lf;/home/shihongbo/esp-idf/components/heap/linker.lf;/home/shihongbo/esp-idf/components/soc/linker.lf;/home/shihongbo/esp-idf/components/esp_hw_support/linker.lf;/home/shihongbo/esp-idf/components/freertos/linker.lf;/home/shihongbo/esp-idf/components/freertos/linker_common.lf;/home/shihongbo/esp-idf/components/newlib/newlib.lf;/home/shihongbo/esp-idf/components/newlib/system_libs.lf;/home/shihongbo/esp-idf/components/esp_common/common.lf;/home/shihongbo/esp-idf/components/esp_common/soc.lf;/home/shihongbo/esp-idf/components/app_trace/linker.lf;/home/shihongbo/esp-idf/components/esp_event/linker.lf;/home/shihongbo/esp-idf/components/esp_phy/linker.lf;/home/shihongbo/esp-idf/components/lwip/linker.lf;/home/shihongbo/esp-idf/components/esp_netif/linker.lf;/home/shihongbo/esp-idf/components/esp_wifi/linker.lf;/home/shihongbo/esp-idf/components/bt/linker.lf;/home/shihongbo/esp-idf/components/esp_adc/linker.lf;/home/shihongbo/esp-idf/components/esp_gdbstub/linker.lf;/home/shihongbo/esp-idf/components/esp_psram/linker.lf;/home/shihongbo/esp-idf/components/esp_lcd/linker.lf;/home/shihongbo/esp-idf/components/espcoredump/linker.lf;/home/shihongbo/esp-idf/components/openthread/linker.lf" --input /home/shihongbo/esp-idf/components/esp_system/ld/esp32/sections.ld.in --output /home/shihongbo/esp-idf/examples/new1/build/esp-idf/esp_system/ld/sections.ld --kconfig /home/shihongbo/esp-idf/Kconfig --env-file /home/shihongbo/esp-idf/examples/new1/build/config.env --libraries-file /home/shihongbo/esp-idf/examples/new1/build/ldgen_libraries --objdump /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-objdump
[896/899] /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -I/home/shihongbo/esp-idf/components/xtensa/include -I/home/shihongbo/esp-idf/components/xtensa/esp32/include -Iconfig -I/home/shihongbo/esp-idf/components/newlib/platform_include -I/home/shihongbo/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/shihongbo/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/home/shihongbo/esp-idf/components/freertos/esp_additions/include/freertos -I/home/shihongbo/esp-idf/components/freertos/esp_additions/include -I/home/shihongbo/esp-idf/components/freertos/esp_additions/arch/xtensa/include -I/home/shihongbo/esp-idf/components/esp_hw_support/include -I/home/shihongbo/esp-idf/components/esp_hw_support/include/soc -I/home/shihongbo/esp-idf/components/esp_hw_support/include/soc/esp32 -I/home/shihongbo/esp-idf/components/esp_hw_support/port/esp32/. -I/home/shihongbo/esp-idf/components/esp_hw_support/port/esp32/private_include -I/home/shihongbo/esp-idf/components/heap/include -I/home/shihongbo/esp-idf/components/log/include -I/home/shihongbo/esp-idf/components/soc/include -I/home/shihongbo/esp-idf/components/soc/esp32 -I/home/shihongbo/esp-idf/components/soc/esp32/include -I/home/shihongbo/esp-idf/components/hal/esp32/include -I/home/shihongbo/esp-idf/components/hal/include -I/home/shihongbo/esp-idf/components/hal/platform_port/include -I/home/shihongbo/esp-idf/components/esp_rom/include -I/home/shihongbo/esp-idf/components/esp_rom/include/esp32 -I/home/shihongbo/esp-idf/components/esp_rom/esp32 -I/home/shihongbo/esp-idf/components/esp_common/include -I/home/shihongbo/esp-idf/components/esp_system/include -I/home/shihongbo/esp-idf/components/esp_system/port/soc -I/home/shihongbo/esp-idf/components/esp_system/port/include/private -I/home/shihongbo/esp-idf/components/lwip/include -I/home/shihongbo/esp-idf/components/lwip/include/apps -I/home/shihongbo/esp-idf/components/lwip/include/apps/sntp -I/home/shihongbo/esp-idf/components/lwip/lwip/src/include -I/home/shihongbo/esp-idf/components/lwip/port/include -I/home/shihongbo/esp-idf/components/lwip/port/freertos/include -I/home/shihongbo/esp-idf/components/lwip/port/esp32xx/include -I/home/shihongbo/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/shihongbo/esp-idf/components/esp_ringbuf/include -I/home/shihongbo/esp-idf/components/efuse/include -I/home/shihongbo/esp-idf/components/efuse/esp32/include -I/home/shihongbo/esp-idf/components/driver/include -I/home/shihongbo/esp-idf/components/driver/deprecated -I/home/shihongbo/esp-idf/components/driver/analog_comparator/include -I/home/shihongbo/esp-idf/components/driver/dac/include -I/home/shihongbo/esp-idf/components/driver/gpio/include -I/home/shihongbo/esp-idf/components/driver/gptimer/include -I/home/shihongbo/esp-idf/components/driver/i2c/include -I/home/shihongbo/esp-idf/components/driver/i2s/include -I/home/shihongbo/esp-idf/components/driver/ledc/include -I/home/shihongbo/esp-idf/components/driver/mcpwm/include -I/home/shihongbo/esp-idf/components/driver/parlio/include -I/home/shihongbo/esp-idf/components/driver/pcnt/include -I/home/shihongbo/esp-idf/components/driver/rmt/include -I/home/shihongbo/esp-idf/components/driver/sdio_slave/include -I/home/shihongbo/esp-idf/components/driver/sdmmc/include -I/home/shihongbo/esp-idf/components/driver/sigma_delta/include -I/home/shihongbo/esp-idf/components/driver/spi/include -I/home/shihongbo/esp-idf/components/driver/temperature_sensor/include -I/home/shihongbo/esp-idf/components/driver/touch_sensor/include -I/home/shihongbo/esp-idf/components/driver/twai/include -I/home/shihongbo/esp-idf/components/driver/uart/include -I/home/shihongbo/esp-idf/components/driver/usb_serial_jtag/include -I/home/shihongbo/esp-idf/components/driver/touch_sensor/esp32/include -I/home/shihongbo/esp-idf/components/esp_pm/include -I/home/shihongbo/esp-idf/components/mbedtls/port/include -I/home/shihongbo/esp-idf/components/mbedtls/mbedtls/include -I/home/shihongbo/esp-idf/components/mbedtls/mbedtls/library -I/home/shihongbo/esp-idf/components/mbedtls/esp_crt_bundle/include -I/home/shihongbo/esp-idf/components/esp_app_format/include -I/home/shihongbo/esp-idf/components/bootloader_support/include -I/home/shihongbo/esp-idf/components/bootloader_support/bootloader_flash/include -I/home/shihongbo/esp-idf/components/esp_partition/include -I/home/shihongbo/esp-idf/components/app_update/include -I/home/shihongbo/esp-idf/components/esp_mm/include -I/home/shihongbo/esp-idf/components/spi_flash/include -I/home/shihongbo/esp-idf/components/pthread/include -I/home/shihongbo/esp-idf/components/esp_timer/include -I/home/shihongbo/esp-idf/components/app_trace/include -I/home/shihongbo/esp-idf/components/esp_event/include -I/home/shihongbo/esp-idf/components/nvs_flash/include -I/home/shihongbo/esp-idf/components/esp_phy/include -I/home/shihongbo/esp-idf/components/esp_phy/esp32/include -I/home/shihongbo/esp-idf/components/vfs/include -I/home/shihongbo/esp-idf/components/esp_netif/include -I/home/shihongbo/esp-idf/components/wpa_supplicant/include -I/home/shihongbo/esp-idf/components/wpa_supplicant/port/include -I/home/shihongbo/esp-idf/components/wpa_supplicant/esp_supplicant/include -I/home/shihongbo/esp-idf/components/esp_coex/include -I/home/shihongbo/esp-idf/components/esp_wifi/include -I/home/shihongbo/esp-idf/components/esp_wifi/wifi_apps/include -I/home/shihongbo/esp-idf/components/unity/include -I/home/shihongbo/esp-idf/components/unity/unity/src -I/home/shihongbo/esp-idf/components/cmock/CMock/src -I/home/shihongbo/esp-idf/components/console -I/home/shihongbo/esp-idf/components/http_parser -I/home/shihongbo/esp-idf/components/esp-tls -I/home/shihongbo/esp-idf/components/esp-tls/esp-tls-crypto -I/home/shihongbo/esp-idf/components/esp_adc/include -I/home/shihongbo/esp-idf/components/esp_adc/interface -I/home/shihongbo/esp-idf/components/esp_adc/esp32/include -I/home/shihongbo/esp-idf/components/esp_adc/deprecated/include -I/home/shihongbo/esp-idf/components/esp_eth/include -I/home/shihongbo/esp-idf/components/esp_gdbstub/include -I/home/shihongbo/esp-idf/components/esp_hid/include -I/home/shihongbo/esp-idf/components/tcp_transport/include -I/home/shihongbo/esp-idf/components/esp_http_client/include -I/home/shihongbo/esp-idf/components/esp_http_server/include -I/home/shihongbo/esp-idf/components/esp_https_ota/include -I/home/shihongbo/esp-idf/components/esp_psram/include -I/home/shihongbo/esp-idf/components/esp_lcd/include -I/home/shihongbo/esp-idf/components/esp_lcd/interface -I/home/shihongbo/esp-idf/components/protobuf-c/protobuf-c -I/home/shihongbo/esp-idf/components/protocomm/include/common -I/home/shihongbo/esp-idf/components/protocomm/include/security -I/home/shihongbo/esp-idf/components/protocomm/include/transports -I/home/shihongbo/esp-idf/components/esp_local_ctrl/include -I/home/shihongbo/esp-idf/components/espcoredump/include -I/home/shihongbo/esp-idf/components/espcoredump/include/port/xtensa -I/home/shihongbo/esp-idf/components/wear_levelling/include -I/home/shihongbo/esp-idf/components/sdmmc/include -I/home/shihongbo/esp-idf/components/fatfs/diskio -I/home/shihongbo/esp-idf/components/fatfs/vfs -I/home/shihongbo/esp-idf/components/fatfs/src -I/home/shihongbo/esp-idf/components/idf_test/include -I/home/shihongbo/esp-idf/components/idf_test/include/esp32 -I/home/shihongbo/esp-idf/components/ieee802154/include -I/home/shihongbo/esp-idf/components/json/cJSON -I/home/shihongbo/esp-idf/components/mqtt/esp-mqtt/include -I/home/shihongbo/esp-idf/components/perfmon/include -I/home/shihongbo/esp-idf/components/spiffs/include -I/home/shihongbo/esp-idf/components/ulp/ulp_common/include -I/home/shihongbo/esp-idf/components/ulp/ulp_common/include/esp32 -I/home/shihongbo/esp-idf/components/wifi_provisioning/include -I../components/port_debug -I../components/linux_list -I../components/main_config -I../components/hal_param_manage -I../components/port_event -I../components/port_timer -I../components/wifi_app -mlongcalls -Wno-frame-address -MD -MT CMakeFiles/ADI-SMS.elf.dir/project_elf_src_esp32.c.obj -MF CMakeFiles/ADI-SMS.elf.dir/project_elf_src_esp32.c.obj.d -o CMakeFiles/ADI-SMS.elf.dir/project_elf_src_esp32.c.obj -c project_elf_src_esp32.c
[897/899] : && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -mlongcalls -Wno-frame-address -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32=0 -Wl,--Map=/home/shihongbo/esp-idf/examples/new1/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.dir/project_elf_src_esp32.c.obj -o ADI-SMS.elf -L/home/shihongbo/esp-idf/components/soc/esp32/ld -L/home/shihongbo/esp-idf/components/esp_rom/esp32/ld -L/home/shihongbo/esp-idf/examples/new1/build/esp-idf/esp_system/ld -L/home/shihongbo/esp-idf/components/esp_phy/lib/esp32 -L/home/shihongbo/esp-idf/components/esp_wifi/lib/esp32 esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/app_trace/libapp_trace.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/unity/libunity.a esp-idf/cmock/libcmock.a esp-idf/console/libconsole.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/esp_hid/libesp_hid.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/esp_lcd/libesp_lcd.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/protocomm/libprotocomm.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/espcoredump/libespcoredump.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/sdmmc/libsdmmc.a esp-idf/fatfs/libfatfs.a esp-idf/json/libjson.a esp-idf/mqtt/libmqtt.a esp-idf/perfmon/libperfmon.a esp-idf/spiffs/libspiffs.a esp-idf/ulp/libulp.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/main/libmain.a esp-idf/linux_list/liblinux_list.a esp-idf/main_config/libmain_config.a esp-idf/hal_param_manage/libhal_param_manage.a esp-idf/port_event/libport_event.a esp-idf/port_timer/libport_timer.a esp-idf/wifi_app/libwifi_app.a esp-idf/app_trace/libapp_trace.a esp-idf/app_trace/libapp_trace.a esp-idf/cmock/libcmock.a esp-idf/unity/libunity.a esp-idf/esp_hid/libesp_hid.a esp-idf/esp_lcd/libesp_lcd.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/espcoredump/libespcoredump.a esp-idf/fatfs/libfatfs.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/sdmmc/libsdmmc.a esp-idf/mqtt/libmqtt.a esp-idf/perfmon/libperfmon.a esp-idf/spiffs/libspiffs.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/protocomm/libprotocomm.a esp-idf/console/libconsole.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/json/libjson.a esp-idf/hal_param_manage/libhal_param_manage.a esp-idf/linux_list/liblinux_list.a esp-idf/main_config/libmain_config.a esp-idf/port_event/libport_event.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libwapi.a /home/shihongbo/esp-idf/components/xtensa/esp32/libxt_hal.a -u esp_app_desc -u pthread_include_pthread_impl -u pthread_include_pthread_cond_impl -u pthread_include_pthread_local_storage_impl -u pthread_include_pthread_rwlock_impl -u pthread_include_pthread_semaphore_impl -u ld_include_highint_hdl -u start_app -u start_app_other_cores -u __ubsan_include -Wl,--wrap=longjmp -u __assert_func -u esp_dport_access_reg_read -Wl,--undefined=uxTopUsedPriority -Wl,--undefined=FreeRTOS_openocd_params -u app_main -lc -lm esp-idf/newlib/libnewlib.a -u newlib_include_heap_impl -u newlib_include_syscalls_impl -u newlib_include_pthread_impl -u newlib_include_assert_impl -Wl,--wrap=_Unwind_SetEnableExceptionFdeSorting -Wl,--wrap=__register_frame_info_bases -Wl,--wrap=__register_frame_info -Wl,--wrap=__register_frame -Wl,--wrap=__register_frame_info_table_bases -Wl,--wrap=__register_frame_info_table -Wl,--wrap=__register_frame_table -Wl,--wrap=__deregister_frame_info_bases -Wl,--wrap=__deregister_frame_info -Wl,--wrap=_Unwind_Find_FDE -Wl,--wrap=_Unwind_GetGR -Wl,--wrap=_Unwind_GetCFA -Wl,--wrap=_Unwind_GetIP -Wl,--wrap=_Unwind_GetIPInfo -Wl,--wrap=_Unwind_GetRegionStart -Wl,--wrap=_Unwind_GetDataRelBase -Wl,--wrap=_Unwind_GetTextRelBase -Wl,--wrap=_Unwind_SetIP -Wl,--wrap=_Unwind_SetGR -Wl,--wrap=_Unwind_GetLanguageSpecificData -Wl,--wrap=_Unwind_FindEnclosingFunction -Wl,--wrap=_Unwind_Resume -Wl,--wrap=_Unwind_RaiseException -Wl,--wrap=_Unwind_DeleteException -Wl,--wrap=_Unwind_ForcedUnwind -Wl,--wrap=_Unwind_Resume_or_Rethrow -Wl,--wrap=_Unwind_Backtrace -Wl,--wrap=__cxa_call_unexpected -Wl,--wrap=__gxx_personality_v0 -u __cxa_guard_dummy -lstdc++ esp-idf/pthread/libpthread.a -lgcc esp-idf/cxx/libcxx.a -u __cxx_fatal_exception -u include_esp_phy_override -lphy -lrtc esp-idf/esp_phy/libesp_phy.a -lphy -lrtc esp-idf/esp_phy/libesp_phy.a -lphy -lrtc -u vfs_include_syscalls_impl && :
FAILED: ADI-SMS.elf
: && /home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -mlongcalls -Wno-frame-address -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32=0 -Wl,--Map=/home/shihongbo/esp-idf/examples/new1/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.dir/project_elf_src_esp32.c.obj -o ADI-SMS.elf -L/home/shihongbo/esp-idf/components/soc/esp32/ld -L/home/shihongbo/esp-idf/components/esp_rom/esp32/ld -L/home/shihongbo/esp-idf/examples/new1/build/esp-idf/esp_system/ld -L/home/shihongbo/esp-idf/components/esp_phy/lib/esp32 -L/home/shihongbo/esp-idf/components/esp_wifi/lib/esp32 esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/app_trace/libapp_trace.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/unity/libunity.a esp-idf/cmock/libcmock.a esp-idf/console/libconsole.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/esp_hid/libesp_hid.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/esp_lcd/libesp_lcd.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/protocomm/libprotocomm.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/espcoredump/libespcoredump.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/sdmmc/libsdmmc.a esp-idf/fatfs/libfatfs.a esp-idf/json/libjson.a esp-idf/mqtt/libmqtt.a esp-idf/perfmon/libperfmon.a esp-idf/spiffs/libspiffs.a esp-idf/ulp/libulp.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/main/libmain.a esp-idf/linux_list/liblinux_list.a esp-idf/main_config/libmain_config.a esp-idf/hal_param_manage/libhal_param_manage.a esp-idf/port_event/libport_event.a esp-idf/port_timer/libport_timer.a esp-idf/wifi_app/libwifi_app.a esp-idf/app_trace/libapp_trace.a esp-idf/app_trace/libapp_trace.a esp-idf/cmock/libcmock.a esp-idf/unity/libunity.a esp-idf/esp_hid/libesp_hid.a esp-idf/esp_lcd/libesp_lcd.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/espcoredump/libespcoredump.a esp-idf/fatfs/libfatfs.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/sdmmc/libsdmmc.a esp-idf/mqtt/libmqtt.a esp-idf/perfmon/libperfmon.a esp-idf/spiffs/libspiffs.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/protocomm/libprotocomm.a esp-idf/console/libconsole.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/json/libjson.a esp-idf/hal_param_manage/libhal_param_manage.a esp-idf/linux_list/liblinux_list.a esp-idf/main_config/libmain_config.a esp-idf/port_event/libport_event.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/esp_mm/libesp_mm.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_coex/libesp_coex.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/shihongbo/esp-idf/components/esp_wifi/lib/esp32/libwapi.a /home/shihongbo/esp-idf/components/xtensa/esp32/libxt_hal.a -u esp_app_desc -u pthread_include_pthread_impl -u pthread_include_pthread_cond_impl -u pthread_include_pthread_local_storage_impl -u pthread_include_pthread_rwlock_impl -u pthread_include_pthread_semaphore_impl -u ld_include_highint_hdl -u start_app -u start_app_other_cores -u __ubsan_include -Wl,--wrap=longjmp -u __assert_func -u esp_dport_access_reg_read -Wl,--undefined=uxTopUsedPriority -Wl,--undefined=FreeRTOS_openocd_params -u app_main -lc -lm esp-idf/newlib/libnewlib.a -u newlib_include_heap_impl -u newlib_include_syscalls_impl -u newlib_include_pthread_impl -u newlib_include_assert_impl -Wl,--wrap=_Unwind_SetEnableExceptionFdeSorting -Wl,--wrap=__register_frame_info_bases -Wl,--wrap=__register_frame_info -Wl,--wrap=__register_frame -Wl,--wrap=__register_frame_info_table_bases -Wl,--wrap=__register_frame_info_table -Wl,--wrap=__register_frame_table -Wl,--wrap=__deregister_frame_info_bases -Wl,--wrap=__deregister_frame_info -Wl,--wrap=_Unwind_Find_FDE -Wl,--wrap=_Unwind_GetGR -Wl,--wrap=_Unwind_GetCFA -Wl,--wrap=_Unwind_GetIP -Wl,--wrap=_Unwind_GetIPInfo -Wl,--wrap=_Unwind_GetRegionStart -Wl,--wrap=_Unwind_GetDataRelBase -Wl,--wrap=_Unwind_GetTextRelBase -Wl,--wrap=_Unwind_SetIP -Wl,--wrap=_Unwind_SetGR -Wl,--wrap=_Unwind_GetLanguageSpecificData -Wl,--wrap=_Unwind_FindEnclosingFunction -Wl,--wrap=_Unwind_Resume -Wl,--wrap=_Unwind_RaiseException -Wl,--wrap=_Unwind_DeleteException -Wl,--wrap=_Unwind_ForcedUnwind -Wl,--wrap=_Unwind_Resume_or_Rethrow -Wl,--wrap=_Unwind_Backtrace -Wl,--wrap=__cxa_call_unexpected -Wl,--wrap=__gxx_personality_v0 -u __cxa_guard_dummy -lstdc++ esp-idf/pthread/libpthread.a -lgcc esp-idf/cxx/libcxx.a -u __cxx_fatal_exception -u include_esp_phy_override -lphy -lrtc esp-idf/esp_phy/libesp_phy.a -lphy -lrtc esp-idf/esp_phy/libesp_phy.a -lphy -lrtc -u vfs_include_syscalls_impl && :
/home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/wifi_app/libwifi_app.a(wifi_device.cpp.obj):(.literal._ZL13event_handlerPvPKclS_+0x30): undefined reference to `_Z17port_clear_status20EVENT_GROUP_SELECT_Tm'
/home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/wifi_app/libwifi_app.a(wifi_device.cpp.obj):(.literal._ZL13event_handlerPvPKclS_+0x34): undefined reference to `_Z15port_get_status20EVENT_GROUP_SELECT_Tmiim'
/home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/wifi_app/libwifi_app.a(wifi_device.cpp.obj):(.literal._ZL13event_handlerPvPKclS_+0x38): undefined reference to `_Z15port_set_status20EVENT_GROUP_SELECT_Tm'
/home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/wifi_app/libwifi_app.a(wifi_device.cpp.obj): in function `_ZL13event_handlerPvPKclS_':
/home/shihongbo/esp-idf/examples/new1/build/../components/wifi_app/wifi_device.cpp:34: undefined reference to `_Z17port_clear_status20EVENT_GROUP_SELECT_Tm'
/home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/shihongbo/esp-idf/examples/new1/build/../components/wifi_app/wifi_device.cpp:37: undefined reference to `_Z15port_get_status20EVENT_GROUP_SELECT_Tmiim'
/home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/shihongbo/esp-idf/examples/new1/build/../components/wifi_app/wifi_device.cpp:41: undefined reference to `_Z17port_clear_status20EVENT_GROUP_SELECT_Tm'
/home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/shihongbo/esp-idf/examples/new1/build/../components/wifi_app/wifi_device.cpp:46: undefined reference to `_Z15port_set_status20EVENT_GROUP_SELECT_Tm'
/home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/shihongbo/esp-idf/examples/new1/build/../components/wifi_app/wifi_device.cpp:46: undefined reference to `_Z17port_clear_status20EVENT_GROUP_SELECT_Tm'
/home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/shihongbo/esp-idf/examples/new1/build/../components/wifi_app/wifi_device.cpp:55: undefined reference to `_Z15port_set_status20EVENT_GROUP_SELECT_Tm'
/home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/shihongbo/esp-idf/examples/new1/build/../components/wifi_app/wifi_device.cpp:60: undefined reference to `_Z17port_clear_status20EVENT_GROUP_SELECT_Tm'
/home/shihongbo/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/shihongbo/esp-idf/examples/new1/build/../components/wifi_app/wifi_device.cpp:61: undefined reference to `_Z15port_set_status20EVENT_GROUP_SELECT_Tm'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Attachments
idf_py_stdout.txt
(76.82 KiB) Downloaded 90 times
new1.rar
project
(74.24 KiB) Downloaded 85 times

greenstone
Posts: 20
Joined: Mon Jul 10, 2023 9:14 am

Re: undefined reference to `port_clear_status(EVENT_GROUP_SELECT_T, unsigned long)'

Postby greenstone » Mon Sep 02, 2024 9:55 am

我把 event_handler中调用的port_event组件中定义的port_set/get/clean_status函数,直接用xEventGroupSet/get/cleanBits(即freertos组件的API函数替代),工程编译就成功了。虽然成功,但是还想请大神指点下,自定义的组件,难道不能被别的组件访问吗?而且还加入了依赖,百思不得解。

Who is online

Users browsing this forum: Baidu [Spider] and 303 guests