-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate
- Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
- Tested with the latest version to ensure the issue hasn't been fixed
How often does this bug occurs?
always
Expected behavior
to compile and flash successfuly
Actual behavior (suspected bug)
gives the same exact error on macOS as it does on linux, resulting in a fail to build and flash
Error logs or terminal output
asshat@sonic:~/esp-thread-br/examples/basic_thread_border_router$ idf.py menuconfig
Executing action: menuconfig
Running ninja in directory /home/asshat/esp-thread-br/examples/basic_thread_border_router/build
Executing "ninja menuconfig"...
[0/1] cd /home/asshat/esp-thread-br/examples/basic_th...read-br/examples/basic_thread_border_router/sdkconfig
Loading defaults file /home/asshat/esp-thread-br/examples/basic_thread_border_router/sdkconfig.defaults...
TERM environment variable is set to "xterm-256color"
Loaded configuration '/home/asshat/esp-thread-br/examples/basic_thread_border_router/sdkconfig'
Configuration saved to '/home/asshat/esp-thread-br/examples/basic_thread_border_router/sdkconfig'
Loading defaults file /home/asshat/esp-thread-br/examples/basic_thread_border_router/sdkconfig.defaults...
asshat@sonic:~/esp-thread-br/examples/basic_thread_border_router$ idf.py -p /dev/ttyACM0 flash monitor
Executing action: flash
Running ninja in directory /home/asshat/esp-thread-br/examples/basic_thread_border_router/build
Executing "ninja flash"...
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32s3
Using component placed at /home/asshat/esp-thread-br/components/esp_br_http_ota for dependency "esp_br_http_ota", specified in /home/asshat/esp-thread-br/examples/basic_thread_border_router/main/idf_component.yml
Using component placed at /home/asshat/esp-thread-br/components/esp_ot_br_server for dependency "esp_ot_br_server", specified in /home/asshat/esp-thread-br/examples/basic_thread_border_router/main/idf_component.yml
Using component placed at /home/asshat/esp-thread-br/components/esp_ot_cli_extension for dependency "espressif/esp_ot_cli_extension", specified in /home/asshat/esp-thread-br/examples/basic_thread_border_router/main/idf_component.yml
Using component placed at /home/asshat/esp-thread-br/components/esp_rcp_update for dependency "espressif/esp_rcp_update", specified in /home/asshat/esp-thread-br/examples/basic_thread_border_router/main/idf_component.yml
Using component placed at /home/asshat/esp-idf/examples/common_components/protocol_examples_common for dependency "protocol_examples_common", specified in /home/asshat/esp-thread-br/examples/basic_thread_border_router/main/idf_component.yml
Using component placed at /home/asshat/esp-thread-br/examples/common/thread_border_router for dependency "thread_border_router", specified in /home/asshat/esp-thread-br/examples/basic_thread_border_router/main/idf_component.yml
Processing 10 dependencies:
[10/10] idf (5.3.1)
-- Project sdkconfig file /home/asshat/esp-thread-br/examples/basic_thread_border_router/sdkconfig
Loading defaults file /home/asshat/esp-thread-br/examples/basic_thread_border_router/sdkconfig.defaults...
-- Compiler supported targets: xtensa-esp-elf
-- App "esp_ot_br" version: v1.1-8-g17946c1
-- Adding linker script /home/asshat/esp-thread-br/examples/basic_thread_border_router/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/asshat/esp-thread-br/examples/basic_thread_border_router/build/esp-idf/esp_system/ld/sections.ld.in
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.wdt.ld
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /home/asshat/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_bootloader_format esp_br_http_ota esp_coex esp_common esp_driver_ana_cmpr esp_driver_cam esp_driver_dac esp_driver_gpio esp_driver_gptimer esp_driver_i2c esp_driver_i2s esp_driver_isp esp_driver_jpeg esp_driver_ledc esp_driver_mcpwm esp_driver_parlio esp_driver_pcnt esp_driver_ppa esp_driver_rmt esp_driver_sdio esp_driver_sdm esp_driver_sdmmc esp_driver_sdspi esp_driver_spi esp_driver_touch_sens esp_driver_tsens esp_driver_uart esp_driver_usb_serial_jtag esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_ot_br_server esp_ot_cli_extension esp_partition esp_phy esp_pm esp_psram esp_rcp_update esp_ringbuf esp_rom esp_system esp_timer esp_vfs_console esp_wifi espcoredump espressif__esp-serial-flasher espressif__iperf espressif__mdns esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash nvs_sec_provider openthread partition_table perfmon protobuf-c protocol_examples_common protocomm pthread sdmmc soc spi_flash spiffs tcp_transport thread_border_router touch_element ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/asshat/esp-idf/components/app_trace /home/asshat/esp-idf/components/app_update /home/asshat/esp-idf/components/bootloader /home/asshat/esp-idf/components/bootloader_support /home/asshat/esp-idf/components/bt /home/asshat/esp-idf/components/cmock /home/asshat/esp-idf/components/console /home/asshat/esp-idf/components/cxx /home/asshat/esp-idf/components/driver /home/asshat/esp-idf/components/efuse /home/asshat/esp-idf/components/esp-tls /home/asshat/esp-idf/components/esp_adc /home/asshat/esp-idf/components/esp_app_format /home/asshat/esp-idf/components/esp_bootloader_format /home/asshat/esp-thread-br/components/esp_br_http_ota /home/asshat/esp-idf/components/esp_coex /home/asshat/esp-idf/components/esp_common /home/asshat/esp-idf/components/esp_driver_ana_cmpr /home/asshat/esp-idf/components/esp_driver_cam /home/asshat/esp-idf/components/esp_driver_dac /home/asshat/esp-idf/components/esp_driver_gpio /home/asshat/esp-idf/components/esp_driver_gptimer /home/asshat/esp-idf/components/esp_driver_i2c /home/asshat/esp-idf/components/esp_driver_i2s /home/asshat/esp-idf/components/esp_driver_isp /home/asshat/esp-idf/components/esp_driver_jpeg /home/asshat/esp-idf/components/esp_driver_ledc /home/asshat/esp-idf/components/esp_driver_mcpwm /home/asshat/esp-idf/components/esp_driver_parlio /home/asshat/esp-idf/components/esp_driver_pcnt /home/asshat/esp-idf/components/esp_driver_ppa /home/asshat/esp-idf/components/esp_driver_rmt /home/asshat/esp-idf/components/esp_driver_sdio /home/asshat/esp-idf/components/esp_driver_sdm /home/asshat/esp-idf/components/esp_driver_sdmmc /home/asshat/esp-idf/components/esp_driver_sdspi /home/asshat/esp-idf/components/esp_driver_spi /home/asshat/esp-idf/components/esp_driver_touch_sens /home/asshat/esp-idf/components/esp_driver_tsens /home/asshat/esp-idf/components/esp_driver_uart /home/asshat/esp-idf/components/esp_driver_usb_serial_jtag /home/asshat/esp-idf/components/esp_eth /home/asshat/esp-idf/components/esp_event /home/asshat/esp-idf/components/esp_gdbstub /home/asshat/esp-idf/components/esp_hid /home/asshat/esp-idf/components/esp_http_client /home/asshat/esp-idf/components/esp_http_server /home/asshat/esp-idf/components/esp_https_ota /home/asshat/esp-idf/components/esp_https_server /home/asshat/esp-idf/components/esp_hw_support /home/asshat/esp-idf/components/esp_lcd /home/asshat/esp-idf/components/esp_local_ctrl /home/asshat/esp-idf/components/esp_mm /home/asshat/esp-idf/components/esp_netif /home/asshat/esp-idf/components/esp_netif_stack /home/asshat/esp-thread-br/components/esp_ot_br_server /home/asshat/esp-thread-br/components/esp_ot_cli_extension /home/asshat/esp-idf/components/esp_partition /home/asshat/esp-idf/components/esp_phy /home/asshat/esp-idf/components/esp_pm /home/asshat/esp-idf/components/esp_psram /home/asshat/esp-thread-br/components/esp_rcp_update /home/asshat/esp-idf/components/esp_ringbuf /home/asshat/esp-idf/components/esp_rom /home/asshat/esp-idf/components/esp_system /home/asshat/esp-idf/components/esp_timer /home/asshat/esp-idf/components/esp_vfs_console /home/asshat/esp-idf/components/esp_wifi /home/asshat/esp-idf/components/espcoredump /home/asshat/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp-serial-flasher /home/asshat/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__iperf /home/asshat/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__mdns /home/asshat/esp-idf/components/esptool_py /home/asshat/esp-idf/components/fatfs /home/asshat/esp-idf/components/freertos /home/asshat/esp-idf/components/hal /home/asshat/esp-idf/components/heap /home/asshat/esp-idf/components/http_parser /home/asshat/esp-idf/components/idf_test /home/asshat/esp-idf/components/ieee802154 /home/asshat/esp-idf/components/json /home/asshat/esp-idf/components/log /home/asshat/esp-idf/components/lwip /home/asshat/esp-thread-br/examples/basic_thread_border_router/main /home/asshat/esp-idf/components/mbedtls /home/asshat/esp-idf/components/mqtt /home/asshat/esp-idf/components/newlib /home/asshat/esp-idf/components/nvs_flash /home/asshat/esp-idf/components/nvs_sec_provider /home/asshat/esp-idf/components/openthread /home/asshat/esp-idf/components/partition_table /home/asshat/esp-idf/components/perfmon /home/asshat/esp-idf/components/protobuf-c /home/asshat/esp-idf/examples/common_components/protocol_examples_common /home/asshat/esp-idf/components/protocomm /home/asshat/esp-idf/components/pthread /home/asshat/esp-idf/components/sdmmc /home/asshat/esp-idf/components/soc /home/asshat/esp-idf/components/spi_flash /home/asshat/esp-idf/components/spiffs /home/asshat/esp-idf/components/tcp_transport /home/asshat/esp-thread-br/examples/common/thread_border_router /home/asshat/esp-idf/components/touch_element /home/asshat/esp-idf/components/ulp /home/asshat/esp-idf/components/unity /home/asshat/esp-idf/components/usb /home/asshat/esp-idf/components/vfs /home/asshat/esp-idf/components/wear_levelling /home/asshat/esp-idf/components/wifi_provisioning /home/asshat/esp-idf/components/wpa_supplicant /home/asshat/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/asshat/esp-thread-br/examples/basic_thread_border_router/build
[15/1350] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
otadata,data,ota,0xf000,8K,
phy_init,data,phy,0x11000,4K,
ota_0,app,ota_0,0x20000,1600K,
ota_1,app,ota_1,0x1b0000,1600K,
web_storage,data,spiffs,0x340000,100K,
rcp_fw,data,spiffs,0x359000,640K,
*******************************************************************************
[454/1350] Performing configure step for 'bootloader'
-- Found Git: /usr/bin/git (found version "2.39.5")
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/asshat/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/asshat/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/asshat/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file /home/asshat/esp-thread-br/examples/basic_thread_border_router/sdkconfig
-- Compiler supported targets: xtensa-esp-elf
-- Adding linker script /home/asshat/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Bootloader project name: "bootloader" version: 1
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.wdt.ld
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script /home/asshat/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /home/asshat/esp-idf/components/bootloader/subproject/main/ld/esp32s3/bootloader.ld
-- Adding linker script /home/asshat/esp-idf/components/bootloader/subproject/main/ld/esp32s3/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_bootloader_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: /home/asshat/esp-idf/components/bootloader /home/asshat/esp-idf/components/bootloader_support /home/asshat/esp-idf/components/efuse /home/asshat/esp-idf/components/esp_app_format /home/asshat/esp-idf/components/esp_bootloader_format /home/asshat/esp-idf/components/esp_common /home/asshat/esp-idf/components/esp_hw_support /home/asshat/esp-idf/components/esp_rom /home/asshat/esp-idf/components/esp_system /home/asshat/esp-idf/components/esptool_py /home/asshat/esp-idf/components/freertos /home/asshat/esp-idf/components/hal /home/asshat/esp-idf/components/log /home/asshat/esp-idf/components/bootloader/subproject/main /home/asshat/esp-idf/components/bootloader/subproject/components/micro-ecc /home/asshat/esp-idf/components/newlib /home/asshat/esp-idf/components/partition_table /home/asshat/esp-idf/components/soc /home/asshat/esp-idf/components/spi_flash /home/asshat/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/asshat/esp-thread-br/examples/basic_thread_border_router/build/bootloader
[112/113] Generating binary image from built executable
esptool.py v4.8.1
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Generated /home/asshat/esp-thread-br/examples/basic_thread_border_router/build/bootloader/bootloader.bin
[113/113] cd /home/asshat/esp-thread-br/examples/basi..._thread_border_router/build/bootloader/bootloader.bin
Bootloader binary size 0x51c0 bytes. 0x2e40 bytes (36%) free.
[1326/1350] Building C object esp-idf/thread_border_r...read_border_router.dir/src/border_router_launch.c.obj
FAILED: esp-idf/thread_border_router/CMakeFiles/__idf_thread_border_router.dir/src/border_router_launch.c.obj
/home/asshat/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc -DESP_PLATFORM -DIDF_VER=\"v5.3.1\" -DMD5_ENABLED=1 -DOPENTHREAD_CONFIG_FILE=\"openthread-core-esp32x-ftd-config.h\" -DOPENTHREAD_FTD=1 -DOPENTHREAD_PROJECT_LIB_CONFIG_FILE=\"openthread-core-esp32x-ftd-config.h\" -DSERIAL_FLASHER_BOOT_HOLD_TIME_MS=50 -DSERIAL_FLASHER_RESET_HOLD_TIME_MS=100 -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -I/home/asshat/esp-thread-br/examples/basic_thread_border_router/build/config -I/home/asshat/esp-thread-br/examples/common/thread_border_router/include -I/home/asshat/esp-idf/components/newlib/platform_include -I/home/asshat/esp-idf/components/freertos/config/include -I/home/asshat/esp-idf/components/freertos/config/include/freertos -I/home/asshat/esp-idf/components/freertos/config/xtensa/include -I/home/asshat/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/asshat/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/home/asshat/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -I/home/asshat/esp-idf/components/freertos/esp_additions/include -I/home/asshat/esp-idf/components/esp_hw_support/include -I/home/asshat/esp-idf/components/esp_hw_support/include/soc -I/home/asshat/esp-idf/components/esp_hw_support/include/soc/esp32s3 -I/home/asshat/esp-idf/components/esp_hw_support/dma/include -I/home/asshat/esp-idf/components/esp_hw_support/ldo/include -I/home/asshat/esp-idf/components/esp_hw_support/port/esp32s3/. -I/home/asshat/esp-idf/components/esp_hw_support/port/esp32s3/include -I/home/asshat/esp-idf/components/heap/include -I/home/asshat/esp-idf/components/log/include -I/home/asshat/esp-idf/components/soc/include -I/home/asshat/esp-idf/components/soc/esp32s3 -I/home/asshat/esp-idf/components/soc/esp32s3/include -I/home/asshat/esp-idf/components/hal/platform_port/include -I/home/asshat/esp-idf/components/hal/esp32s3/include -I/home/asshat/esp-idf/components/hal/include -I/home/asshat/esp-idf/components/esp_rom/include -I/home/asshat/esp-idf/components/esp_rom/include/esp32s3 -I/home/asshat/esp-idf/components/esp_rom/esp32s3 -I/home/asshat/esp-idf/components/esp_common/include -I/home/asshat/esp-idf/components/esp_system/include -I/home/asshat/esp-idf/components/esp_system/port/soc -I/home/asshat/esp-idf/components/esp_system/port/include/private -I/home/asshat/esp-idf/components/xtensa/esp32s3/include -I/home/asshat/esp-idf/components/xtensa/include -I/home/asshat/esp-idf/components/xtensa/deprecated_include -I/home/asshat/esp-idf/components/lwip/include -I/home/asshat/esp-idf/components/lwip/include/apps -I/home/asshat/esp-idf/components/lwip/include/apps/sntp -I/home/asshat/esp-idf/components/lwip/lwip/src/include -I/home/asshat/esp-idf/components/lwip/port/include -I/home/asshat/esp-idf/components/lwip/port/freertos/include -I/home/asshat/esp-idf/components/lwip/port/esp32xx/include -I/home/asshat/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/asshat/esp-idf/components/lwip/port/esp32xx/include/sys -I/home/asshat/esp-thread-br/components/esp_ot_cli_extension/include -I/home/asshat/esp-idf/components/openthread/include -I/home/asshat/esp-idf/components/openthread/openthread/include -I/home/asshat/esp-idf/components/esp_netif/include -I/home/asshat/esp-idf/components/esp_event/include -I/home/asshat/esp-idf/components/esp_driver_uart/include -I/home/asshat/esp-idf/components/vfs/include -I/home/asshat/esp-idf/components/driver/deprecated -I/home/asshat/esp-idf/components/driver/i2c/include -I/home/asshat/esp-idf/components/driver/touch_sensor/include -I/home/asshat/esp-idf/components/driver/twai/include -I/home/asshat/esp-idf/components/driver/touch_sensor/esp32s3/include -I/home/asshat/esp-idf/components/esp_pm/include -I/home/asshat/esp-idf/components/esp_ringbuf/include -I/home/asshat/esp-idf/components/esp_driver_gpio/include -I/home/asshat/esp-idf/components/esp_driver_pcnt/include -I/home/asshat/esp-idf/components/esp_driver_gptimer/include -I/home/asshat/esp-idf/components/esp_driver_spi/include -I/home/asshat/esp-idf/components/esp_driver_mcpwm/include -I/home/asshat/esp-idf/components/esp_driver_ana_cmpr/include -I/home/asshat/esp-idf/components/esp_driver_i2s/include -I/home/asshat/esp-idf/components/esp_driver_sdmmc/include -I/home/asshat/esp-idf/components/sdmmc/include -I/home/asshat/esp-idf/components/esp_driver_sdspi/include -I/home/asshat/esp-idf/components/esp_driver_sdio/include -I/home/asshat/esp-idf/components/esp_driver_dac/include -I/home/asshat/esp-idf/components/esp_driver_rmt/include -I/home/asshat/esp-idf/components/esp_driver_tsens/include -I/home/asshat/esp-idf/components/esp_driver_sdm/include -I/home/asshat/esp-idf/components/esp_driver_i2c/include -I/home/asshat/esp-idf/components/esp_driver_ledc/include -I/home/asshat/esp-idf/components/esp_driver_parlio/include -I/home/asshat/esp-idf/components/esp_driver_usb_serial_jtag/include -I/home/asshat/esp-idf/examples/common_components/protocol_examples_common/include -I/home/asshat/esp-idf/components/esp_eth/include -I/home/asshat/esp-idf/components/esp_wifi/include -I/home/asshat/esp-idf/components/esp_wifi/wifi_apps/include -I/home/asshat/esp-idf/components/esp_wifi/wifi_apps/nan_app/include -I/home/asshat/esp-idf/components/esp_wifi/include/local -I/home/asshat/esp-idf/components/esp_phy/include -I/home/asshat/esp-idf/components/esp_phy/esp32s3/include -I/home/asshat/esp-thread-br/components/esp_rcp_update/include -I/home/asshat/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp-serial-flasher/include -I/home/asshat/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp-serial-flasher/port -I/home/asshat/esp-idf/components/nvs_flash/include -I/home/asshat/esp-idf/components/spi_flash/include -I/home/asshat/esp-idf/components/esp_partition/include -mlongcalls -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -fdiagnostics-color=always -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 -Os -freorder-blocks -fmacro-prefix-map=/home/asshat/esp-thread-br/examples/basic_thread_border_router=. -fmacro-prefix-map=/home/asshat/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/thread_border_router/CMakeFiles/__idf_thread_border_router.dir/src/border_router_launch.c.obj -MF esp-idf/thread_border_router/CMakeFiles/__idf_thread_border_router.dir/src/border_router_launch.c.obj.d -o esp-idf/thread_border_router/CMakeFiles/__idf_thread_border_router.dir/src/border_router_launch.c.obj -c /home/asshat/esp-thread-br/examples/common/thread_border_router/src/border_router_launch.c
/home/asshat/esp-thread-br/examples/common/thread_border_router/src/border_router_launch.c: In function 'ot_task_worker':
/home/asshat/esp-thread-br/examples/common/thread_border_router/src/border_router_launch.c:164:5: error: implicit declaration of function 'esp_openthread_set_compatibility_error_callback' [-Werror=implicit-function-declaration]
164 | esp_openthread_set_compatibility_error_callback(rcp_failure_handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
[1330/1350] Building C object esp-idf/espressif__mdns/CMakeFiles/__idf_espressif__mdns.dir/mdns.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/asshat/esp-thread-br/examples/basic_thread_border_router/build/log/idf_py_stderr_output_737749 and /home/asshat/esp-thread-br/examples/basic_thread_border_router/build/log/idf_py_stdout_output_737749
asshat@sonic:~/esp-thread-br/examples/basic_thread_border_router$Steps to reproduce the behavior
So, I am new to doing this with esp boards. But I thought maybe I did something wrong when I set up the espthread board that combines the s3 and the h2 soc. but its the official board with the sub-ethernet gateway board attached to it correctly. In MacOS, the same thing happened. I am using version 5.3.1 of esp-idf and I followed the official guide for compiling. After thinking maybe starting from scratch and doing it on my linux server instead I will have fixed the issue if it was a problem with installation of esp-idf, but it ended up being the exact same result as when I did it on MacOS, so that proves its not an issue with the esp-idf installation. What I did was follow the guide exactly, multiple times only to end up with the same result which will be below. After doing idf.py -p ${PORT_TO_BR} flash monitor I get the below result. I used the following guide available at esspressif thread border router
Project release version
5.3.1
System architecture
other (details in Additional context)
Operating system
Linux
Operating system version
MacOS Developer Beta 15.2 beta 4, as well as same error on debian bookworm latest
Shell
ZSH
Additional context
tried running this on m2 mac mini with apple silicon as well as debian bookworm on x86, on macOS zsh was used and on debian bash.
As I am new to using esp-idf, I am a bit confused and the guide doesn't give tons of details for each and every scenario. But I would like to get this fixed. I followed the guide exactly. I correctly input all the additional settings it asks for, using the correct versions etc. But its the same failure each time and I don't fully understand where I am going wrong. Help would be appreciated.