Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory

ginodecock
Posts: 30
Joined: Thu Jun 29, 2017 7:10 pm

Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory

Postby ginodecock » Sun Dec 12, 2021 7:03 pm

Hi,

I've setup idf v4.4beta1. The setup looks ok. However I am not able to build any projects.

Any idea what is the cause of the error:xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory

Thanks

Code: Select all

Using Python in C:\python\
Python 3.10.1
Using Git in C:\Program Files\Git\cmd\
git version 2.21.0.windows.1
Setting IDF_PATH: Y:\VM\Share\GitHub\esp-idf-v4.4-beta1

Adding ESP-IDF tools to PATH...
    Y:\VM\Share\.esptools\tools\xtensa-esp32-elf\esp-2021r2-8.4.0\xtensa-esp32-elf\bin
    Y:\VM\Share\.esptools\tools\xtensa-esp32s2-elf\esp-2021r2-8.4.0\xtensa-esp32s2-elf\bin
    Y:\VM\Share\.esptools\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\bin
    Y:\VM\Share\.esptools\tools\riscv32-esp-elf\esp-2021r2-8.4.0\riscv32-esp-elf\bin
    Y:\VM\Share\.esptools\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
    Y:\VM\Share\.esptools\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
    Y:\VM\Share\.esptools\tools\cmake\3.20.3\bin
    Y:\VM\Share\.esptools\tools\openocd-esp32\v0.10.0-esp32-20210902\openocd-esp32\bin
    Y:\VM\Share\.esptools\tools\ninja\1.10.2\
    Y:\VM\Share\.esptools\tools\idf-exe\1.0.2\
    Y:\VM\Share\.esptools\tools\ccache\4.3\ccache-4.3-windows-64
    Y:\VM\Share\.esptools\tools\dfu-util\0.9\dfu-util-0.9-win64
    Y:\VM\Share\.esptools\python_env\idf4.4_py3.10_env\Scripts
    Y:\VM\Share\GitHub\esp-idf-v4.4-beta1\tools

Checking if Python packages are up to date...
Python requirements from Y:\VM\Share\GitHub\esp-idf-v4.4-beta1\requirements.txt are satisfied.

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build
Y:\VM\Share\GitHub\esp-idf-v4.4-beta1\examples>cd get-started

Y:\VM\Share\GitHub\esp-idf-v4.4-beta1\examples\get-started>cd hello_world

Y:\VM\Share\GitHub\esp-idf-v4.4-beta1\examples\get-started\hello_world>idf.py build
Executing action: all (aliases: build)
Running cmake in directory y:\vm\share\github\esp-idf-v4.4-beta1\examples\get-started\hello_world\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 y:\vm\share\github\esp-idf-v4.4-beta1\examples\get-started\hello_world"...
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - 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: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/examples/get-started/hello_world/sdkconfig
-- Found PythonInterp: Y:/VM/Share/.esptools/python_env/idf4.4_py3.10_env/Scripts/python.exe (found version "3.10.1")
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- App "hello_world" version: v4.4-beta1
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/examples/get-started/hello_world/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/soc/esp32/ld/esp32.peripherals.ld
-- Components: app_trace app_update asio bootloader bootloader_support bt cbor cmock coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_lcd esp_local_ctrl esp_netif esp_phy esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal heap idf_test ieee802154 jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/app_trace Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/app_update Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/asio Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/bootloader Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/bootloader_support Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/bt Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/cbor Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/cmock Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/coap Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/console Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/cxx Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/driver Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/efuse Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp-tls Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp32 Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_adc_cal Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_common Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_eth Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_event Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_gdbstub Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_hid Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_http_client Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_http_server Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_https_ota Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_https_server Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_hw_support Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_ipc Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_lcd Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_local_ctrl Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_netif Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_phy Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_pm Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_ringbuf Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_serial_slave_link Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_system Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_timer Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_websocket_client Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_wifi Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/espcoredump Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esptool_py Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/expat Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/fatfs Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/freemodbus Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/freertos Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/hal Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/heap Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/idf_test Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/ieee802154 Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/jsmn Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/json Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/libsodium Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/log Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/lwip Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/examples/get-started/hello_world/main Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/mbedtls Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/mdns Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/mqtt Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/newlib Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/nghttp Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/nvs_flash Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/openssl Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/openthread Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/partition_table Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/perfmon Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/protobuf-c Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/protocomm Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/pthread Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/sdmmc Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/soc Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/spi_flash Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/spiffs Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/tcp_transport Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/tcpip_adapter Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/tinyusb Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/ulp Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/unity Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/usb Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/vfs Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/wear_levelling Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/wifi_provisioning Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/wpa_supplicant Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/examples/get-started/hello_world/build
Running ninja in directory y:\vm\share\github\esp-idf-v4.4-beta1\examples\get-started\hello_world\build
Executing "ninja all"...
[3/1006] 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,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[599/1006] Performing configure step for 'bootloader'
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - 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: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/examples/get-started/hello_world/sdkconfig
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/soc/esp32/ld/esp32.peripherals.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 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: Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/bootloader Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/bootloader_support Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/efuse Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp32 Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_common Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_hw_support Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_system Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esptool_py Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/freertos Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/hal Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/log Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/bootloader/subproject/main Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/bootloader/subproject/components/micro-ecc Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/newlib Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/partition_table Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/soc Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/spi_flash Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/examples/get-started/hello_world/build/bootloader
[630/1006] Performing build step for 'bootloader'
[1/97] Generating project_elf_src_esp32.c
[2/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/soc_include_legacy_warn.c.obj
[3/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj
[4/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj
[5/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj
[6/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj
[7/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj
[8/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj
[9/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj
[10/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj
[11/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj
[12/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj
[13/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj
[14/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/cpu_hal.c.obj
[15/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj
[16/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj
[17/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj
[18/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj
[19/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj
[20/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj
[21/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sigmadelta_periph.c.obj
[22/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj
[23/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj
[24/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj
[25/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj
[26/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
[27/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[28/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj
[29/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj
[30/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[31/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj
[32/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[33/97] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[34/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[35/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj
[36/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[37/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj
[38/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[39/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[40/97] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[41/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[42/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj
[43/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_soc.c.obj
[44/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj
[45/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[46/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[47/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj
[48/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj
[49/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj
[50/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[51/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[52/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj
[53/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[54/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[55/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api_key_esp32.c.obj
[56/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj
[57/97] Building C object esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj
[58/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/compare_set.c.obj
[59/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[60/97] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj
[61/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu_util.c.obj
[62/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj
[63/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[64/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj
[65/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj
[66/97] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj
[67/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj
[68/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_wdt.c.obj
[69/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_tjpgd.c.obj
[70/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj
[71/97] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
[72/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj
[73/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj
[74/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj
[75/97] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj
[76/97] Building C object esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj
[77/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj
[78/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[79/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[80/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[81/97] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[82/97] Linking C static library esp-idf\log\liblog.a
[83/97] Linking C static library esp-idf\esp_rom\libesp_rom.a
[84/97] Linking C static library esp-idf\esp_common\libesp_common.a
[85/97] Linking C static library esp-idf\xtensa\libxtensa.a
[86/97] Linking C static library esp-idf\esp_hw_support\libesp_hw_support.a
[87/97] Linking C static library esp-idf\esp_system\libesp_system.a
[88/97] Linking C static library esp-idf\efuse\libefuse.a
[89/97] Linking C static library esp-idf\bootloader_support\libbootloader_support.a
[90/97] Linking C static library esp-idf\spi_flash\libspi_flash.a
[91/97] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a
[92/97] Linking C static library esp-idf\soc\libsoc.a
[93/97] Linking C static library esp-idf\hal\libhal.a
[94/97] Linking C static library esp-idf\main\libmain.a
[95/97] Linking C executable bootloader.elf
[96/97] Generating binary image from built executable
esptool.py v3.2-dev
Merged 1 ELF section
Generated Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/examples/get-started/hello_world/build/bootloader/bootloader.bin
[97/97] cmd.exe /C "cd /D Y:\VM\Share\GitHub\esp-idf-v4.4-beta1\examples\get-started\hello_world\build\bootloader\esp-idf\esptool_py && Y:\VM\Share\.esptools\python_env\idf4.4_py3.10_env\Scripts\python.exe Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 Y:/VM/Share/GitHub/esp-idf-v4.4-beta1/examples/get-started/hello_world/build/bootloader/bootloader.bin"
Bootloader binary size 0x6340 bytes. 0xcc0 bytes (11%) free.
[1003/1006] Building C object CMakeFiles/hello_world.elf.dir/project_elf_src_esp32.c.obj
FAILED: CMakeFiles/hello_world.elf.dir/project_elf_src_esp32.c.obj
ccache Y:\VM\Share\.esptools\tools\xtensa-esp32-elf\esp-2021r2-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_ringbuf/include -Iconfig -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/newlib/platform_include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/freertos/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/freertos/include/esp_additions/freertos -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/freertos/port/xtensa/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/freertos/include/esp_additions -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_hw_support/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_hw_support/include/soc -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_hw_support/include/soc/esp32 -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_hw_support/port/esp32/. -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/heap/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/log/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/lwip/include/apps -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/lwip/include/apps/sntp -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/lwip/lwip/src/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/lwip/port/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/lwip/port/esp32/include/arch -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/soc/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/soc/esp32/. -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/soc/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/hal/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/hal/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/hal/platform_port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/include/esp32 -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_rom/esp32 -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_common/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_system/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_system/port/soc -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_system/port/public_compat -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/xtensa/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/xtensa/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/driver/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/driver/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_pm/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/efuse/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/efuse/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/vfs/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_wifi/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_event/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_netif/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_eth/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/tcpip_adapter/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_phy/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_phy/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_ipc/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/app_trace/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_timer/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/mbedtls/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/mbedtls/mbedtls/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/mbedtls/esp_crt_bundle/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/app_update/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/spi_flash/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/bootloader_support/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/nvs_flash/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/pthread/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_gdbstub/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_gdbstub/xtensa -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_gdbstub/esp32 -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/espcoredump/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/espcoredump/include/port/xtensa -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/wpa_supplicant/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/wpa_supplicant/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/wpa_supplicant/esp_supplicant/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/ieee802154/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/console -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/asio/asio/asio/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/asio/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/cbor/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/unity/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/unity/unity/src -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/cmock/CMock/src -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/coap/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/coap/libcoap/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/nghttp/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/nghttp/nghttp2/lib/includes -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp-tls -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp-tls/esp-tls-crypto -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_adc_cal/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_hid/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/tcp_transport/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_http_client/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_http_server/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_https_ota/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_lcd/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_lcd/interface -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/protobuf-c/protobuf-c -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/protocomm/include/common -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/protocomm/include/security -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/protocomm/include/transports -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/mdns/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_local_ctrl/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/sdmmc/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_serial_slave_link/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/esp_websocket_client/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/expat/expat/expat/lib -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/expat/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/wear_levelling/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/fatfs/diskio -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/fatfs/vfs -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/fatfs/src -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/freemodbus/common/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/idf_test/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/idf_test/include/esp32 -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/jsmn/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/json/cJSON -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/libsodium/libsodium/src/libsodium/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/libsodium/port_include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/mqtt/esp-mqtt/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/openssl/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/perfmon/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/spiffs/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/ulp/include -IY:/VM/Share/GitHub/esp-idf-v4.4-beta1/components/wifi_provisioning/include -mlongcalls -Wno-frame-address -MD -MT CMakeFiles/hello_world.elf.dir/project_elf_src_esp32.c.obj -MF CMakeFiles\hello_world.elf.dir\project_elf_src_esp32.c.obj.d -o CMakeFiles/hello_world.elf.dir/project_elf_src_esp32.c.obj -c project_elf_src_esp32.c
Y:\VM\Share\.esptools\tools\xtensa-esp32-elf\esp-2021r2-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Y:\VM\Share\GitHub\esp-idf-v4.4-beta1\examples\get-started\hello_world>

ginodecock
Posts: 30
Joined: Thu Jun 29, 2017 7:10 pm

Re: Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory

Postby ginodecock » Sun Dec 26, 2021 4:58 pm

Hi,

Using the latest master I am able to build my projects.
However I manually needed to add the clk.h files for the esp32 hardware

ginodecock
Posts: 30
Joined: Thu Jun 29, 2017 7:10 pm

Re: Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory

Postby ginodecock » Sun Jan 23, 2022 2:05 pm

Hi,

With the new release of idf version 4.4rc1 the problem is the same:

Code: Select all

Y:\VM\Share\GitHub\esp-idf-v4.4-rc1\examples\get-started\hello_world>idf.py build
Executing action: all (aliases: build)
Running cmake in directory y:\vm\share\github\esp-idf-v4.4-rc1\examples\get-started\hello_world\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 y:\vm\share\github\esp-idf-v4.4-rc1\examples\get-started\hello_world"...
-- IDF_TARGET not set, using default target: esp32
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.34.1.windows.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - 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: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/examples/get-started/hello_world/sdkconfig
-- Found PythonInterp: Y:/VM/Share/.esptools/python_env/idf4.4_py3.10_env/Scripts/python.exe (found version "3.10.1")
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- App "hello_world" version: v4.4-rc1
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/examples/get-started/hello_world/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/soc/esp32/ld/esp32.peripherals.ld
-- Components: app_trace app_update asio bootloader bootloader_support bt cbor cmock coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_lcd esp_local_ctrl esp_netif esp_phy esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal heap idf_test ieee802154 jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/app_trace Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/app_update Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/asio Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/bootloader Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/bootloader_support Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/bt Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/cbor Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/cmock Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/coap Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/console Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/cxx Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/driver Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/efuse Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp-tls Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp32 Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_adc_cal Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_common Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_eth Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_event Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_gdbstub Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_hid Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_http_client Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_http_server Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_https_ota Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_https_server Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_hw_support Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_ipc Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_lcd Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_local_ctrl Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_netif Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_phy Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_pm Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_ringbuf Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_serial_slave_link Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_system Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_timer Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_websocket_client Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_wifi Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/espcoredump Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esptool_py Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/expat Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/fatfs Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/freemodbus Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/freertos Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/hal Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/heap Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/idf_test Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/ieee802154 Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/jsmn Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/json Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/libsodium Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/log Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/lwip Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/examples/get-started/hello_world/main Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/mbedtls Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/mdns Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/mqtt Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/newlib Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/nghttp Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/nvs_flash Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/openssl Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/openthread Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/partition_table Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/perfmon Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/protobuf-c Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/protocomm Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/pthread Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/sdmmc Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/soc Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/spi_flash Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/spiffs Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/tcp_transport Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/tcpip_adapter Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/tinyusb Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/ulp Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/unity Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/usb Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/vfs Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/wear_levelling Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/wifi_provisioning Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/wpa_supplicant Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/examples/get-started/hello_world/build
Running ninja in directory y:\vm\share\github\esp-idf-v4.4-rc1\examples\get-started\hello_world\build
Executing "ninja all"...
[3/1011] 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,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[499/1011] Performing configure step for 'bootloader'
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.34.1.windows.1")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - 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: Y:/VM/Share/.esptools/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/examples/get-started/hello_world/sdkconfig
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/soc/esp32/ld/esp32.peripherals.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 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: Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/bootloader Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/bootloader_support Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/efuse Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp32 Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_common Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_hw_support Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_system Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esptool_py Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/freertos Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/hal Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/log Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/bootloader/subproject/main Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/bootloader/subproject/components/micro-ecc Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/newlib Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/partition_table Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/soc Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/spi_flash Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/examples/get-started/hello_world/build/bootloader
[585/1011] Performing build step for 'bootloader'
[1/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/soc_include_legacy_warn.c.obj
[2/97] Generating project_elf_src_esp32.c
[3/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj
[4/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj
[5/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj
[6/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/cpu_hal.c.obj
[7/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj
[8/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj
[9/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj
[10/97] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj
[11/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj
[12/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj
[13/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj
[14/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj
[15/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj
[16/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj
[17/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj
[18/97] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj
[19/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj
[20/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj
[21/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sigmadelta_periph.c.obj
[22/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj
[23/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj
[24/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj
[25/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj
[26/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj
[27/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
[28/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj
[29/97] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[30/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[31/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[32/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj
[33/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[34/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[35/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj
[36/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj
[37/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[38/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj
[39/97] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[40/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj
[41/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[42/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj
[43/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[44/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[45/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_soc.c.obj
[46/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[47/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[48/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj
[49/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[50/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[51/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj
[52/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[53/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj
[54/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj
[55/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api_key_esp32.c.obj
[56/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/compare_set.c.obj
[57/97] Building C object esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj
[58/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[59/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[60/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[61/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj
[62/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj
[63/97] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj
[64/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj
[65/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj
[66/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj
[67/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj
[68/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj
[69/97] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj
[70/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj
[71/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj
[72/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu_util.c.obj
[73/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_wdt.c.obj
[74/97] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj
[75/97] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
[76/97] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_tjpgd.c.obj
[77/97] Building C object esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj
[78/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[79/97] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[80/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[81/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[82/97] Linking C static library esp-idf\log\liblog.a
[83/97] Linking C static library esp-idf\esp_rom\libesp_rom.a
[84/97] Linking C static library esp-idf\esp_common\libesp_common.a
[85/97] Linking C static library esp-idf\xtensa\libxtensa.a
[86/97] Linking C static library esp-idf\esp_hw_support\libesp_hw_support.a
[87/97] Linking C static library esp-idf\esp_system\libesp_system.a
[88/97] Linking C static library esp-idf\efuse\libefuse.a
[89/97] Linking C static library esp-idf\bootloader_support\libbootloader_support.a
[90/97] Linking C static library esp-idf\spi_flash\libspi_flash.a
[91/97] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a
[92/97] Linking C static library esp-idf\soc\libsoc.a
[93/97] Linking C static library esp-idf\hal\libhal.a
[94/97] Linking C static library esp-idf\main\libmain.a
[95/97] Linking C executable bootloader.elf
[96/97] Generating binary image from built executable
esptool.py v3.2-dev
Merged 1 ELF section
Generated Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/examples/get-started/hello_world/build/bootloader/bootloader.bin
[97/97] cmd.exe /C "cd /D Y:\VM\Share\GitHub\esp-idf-v4.4-rc1\examples\get-started\hello_world\build\bootloader\esp-idf\esptool_py && Y:\VM\Share\.esptools\python_env\idf4.4_py3.10_env\Scripts\python.exe Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 Y:/VM/Share/GitHub/esp-idf-v4.4-rc1/examples/get-started/hello_world/build/bootloader/bootloader.bin"
Bootloader binary size 0x62c0 bytes. 0xd40 bytes (12%) free.
[1008/1011] Building C object CMakeFiles/hello_world.elf.dir/project_elf_src_esp32.c.obj
FAILED: CMakeFiles/hello_world.elf.dir/project_elf_src_esp32.c.obj
ccache Y:\VM\Share\.esptools\tools\xtensa-esp32-elf\esp-2021r2-patch2-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_ringbuf/include -Iconfig -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/newlib/platform_include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/freertos/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/freertos/include/esp_additions/freertos -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/freertos/port/xtensa/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/freertos/include/esp_additions -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_hw_support/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_hw_support/include/soc -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_hw_support/include/soc/esp32 -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_hw_support/port/esp32/. -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/heap/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/log/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/lwip/include/apps -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/lwip/include/apps/sntp -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/lwip/lwip/src/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/lwip/port/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/lwip/port/esp32/include/arch -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/soc/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/soc/esp32/. -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/soc/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/hal/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/hal/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/hal/platform_port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/include/esp32 -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_rom/esp32 -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_common/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_system/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_system/port/soc -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_system/port/public_compat -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/xtensa/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/xtensa/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/driver/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/driver/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_pm/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/efuse/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/efuse/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/vfs/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_wifi/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_event/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_netif/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_eth/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/tcpip_adapter/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_phy/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_phy/esp32/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_ipc/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/app_trace/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_timer/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/mbedtls/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/mbedtls/mbedtls/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/mbedtls/esp_crt_bundle/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/app_update/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/spi_flash/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/bootloader_support/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/nvs_flash/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/pthread/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_gdbstub/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_gdbstub/xtensa -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_gdbstub/esp32 -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/espcoredump/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/espcoredump/include/port/xtensa -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/wpa_supplicant/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/wpa_supplicant/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/wpa_supplicant/esp_supplicant/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/ieee802154/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/console -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/asio/asio/asio/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/asio/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/cbor/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/unity/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/unity/unity/src -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/cmock/CMock/src -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/coap/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/coap/libcoap/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/nghttp/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/nghttp/nghttp2/lib/includes -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp-tls -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp-tls/esp-tls-crypto -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_adc_cal/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_hid/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/tcp_transport/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_http_client/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_http_server/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_https_ota/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_lcd/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_lcd/interface -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/protobuf-c/protobuf-c -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/protocomm/include/common -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/protocomm/include/security -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/protocomm/include/transports -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/mdns/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_local_ctrl/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/sdmmc/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_serial_slave_link/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/esp_websocket_client/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/expat/expat/expat/lib -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/expat/port/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/wear_levelling/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/fatfs/diskio -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/fatfs/vfs -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/fatfs/src -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/freemodbus/common/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/idf_test/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/idf_test/include/esp32 -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/jsmn/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/json/cJSON -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/libsodium/libsodium/src/libsodium/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/libsodium/port_include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/mqtt/esp-mqtt/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/openssl/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/perfmon/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/spiffs/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/ulp/include -IY:/VM/Share/GitHub/esp-idf-v4.4-rc1/components/wifi_provisioning/include -mlongcalls -Wno-frame-address -MD -MT CMakeFiles/hello_world.elf.dir/project_elf_src_esp32.c.obj -MF CMakeFiles\hello_world.elf.dir\project_elf_src_esp32.c.obj.d -o CMakeFiles/hello_world.elf.dir/project_elf_src_esp32.c.obj -c project_elf_src_esp32.c
Y:\VM\Share\.esptools\tools\xtensa-esp32-elf\esp-2021r2-patch2-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Y:\VM\Share\GitHub\esp-idf-v4.4-rc1\examples\get-started\hello_world>
:oops: It should be addressed before release

ginodecock
Posts: 30
Joined: Thu Jun 29, 2017 7:10 pm

Re: Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory

Postby ginodecock » Sun Jan 30, 2022 11:03 am

The same issue exist on the release of idf v4.4.

My path where the idf directory was located was 12char long. Reducing this to 1char made the building of projects work again.

ESP_Bob
Posts: 80
Joined: Fri Nov 27, 2020 12:52 pm

Re: Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory

Postby ESP_Bob » Mon Aug 12, 2024 3:32 am

It's an known issue for some Windows Users with old version ccache in IDF v4.x

For quick workaround:
Please call `idf.py --no-ccache build` instead

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 107 guests