[1/17] Performing build step for 'bootloader' [1/1] cd /home/jeroen/prog/ledstrip_shader/example/build/bootloader/esp-idf/esptool_py && /home/jeroen/.espressif/python_env/idf5.4_py3.11_env/bin/python /home/jeroen/esp8266/esp32/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/jeroen/prog/ledstrip_shader/example/build/bootloader/bootloader.bin Bootloader binary size 0x58d0 bytes. 0x2730 bytes (31%) free. [2/17] No install step for 'bootloader' [3/17] Completed 'bootloader' [4/17] Generating ../../lssl.js, ../../lssl.wasm, ../../lssl.wasm.map [5/17] Generating ../../lssl.wasm.map.S [6/17] Generating ../../lssl.js.S [7/17] Generating ../../lssl.wasm.S [8/17] Building ASM object esp-idf/ledstrip_shader/CMakeFiles/__idf_ledstrip_shader.dir/example/build/lssl.wasm.map.S.obj [9/17] Building ASM object esp-idf/ledstrip_shader/CMakeFiles/__idf_ledstrip_shader.dir/example/build/lssl.js.S.obj [10/17] Building ASM object esp-idf/ledstrip_shader/CMakeFiles/__idf_ledstrip_shader.dir/example/build/lssl.wasm.S.obj [11/17] Building C object esp-idf/ledstrip_shader/CMakeFiles/__idf_ledstrip_shader.dir/src/vm.c.obj FAILED: esp-idf/ledstrip_shader/CMakeFiles/__idf_ledstrip_shader.dir/src/vm.c.obj /home/jeroen/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240305/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DESP_PLATFORM -DIDF_VER=\"v5.4-dev-287-gab39ff6ca38-dirty\" -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/jeroen/prog/ledstrip_shader/example/build/config -I/home/jeroen/prog/ledstrip_shader/src -I/home/jeroen/prog/ledstrip_shader/idf_bindings -I/home/jeroen/prog/ledstrip_shader/example/build -I/home/jeroen/esp8266/esp32/esp-idf/components/newlib/platform_include -I/home/jeroen/esp8266/esp32/esp-idf/components/freertos/config/include -I/home/jeroen/esp8266/esp32/esp-idf/components/freertos/config/include/freertos -I/home/jeroen/esp8266/esp32/esp-idf/components/freertos/config/riscv/include -I/home/jeroen/esp8266/esp32/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/jeroen/esp8266/esp32/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/jeroen/esp8266/esp32/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/jeroen/esp8266/esp32/esp-idf/components/freertos/esp_additions/include -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_hw_support/include -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_hw_support/include/soc -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_hw_support/include/soc/esp32c6 -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_hw_support/dma/include -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_hw_support/ldo/include -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_hw_support/port/esp32c6/. -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_hw_support/port/esp32c6/include -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_hw_support/port/esp32c6/private_include -I/home/jeroen/esp8266/esp32/esp-idf/components/heap/include -I/home/jeroen/esp8266/esp32/esp-idf/components/log/include -I/home/jeroen/esp8266/esp32/esp-idf/components/soc/include -I/home/jeroen/esp8266/esp32/esp-idf/components/soc/esp32c6 -I/home/jeroen/esp8266/esp32/esp-idf/components/soc/esp32c6/include -I/home/jeroen/esp8266/esp32/esp-idf/components/hal/platform_port/include -I/home/jeroen/esp8266/esp32/esp-idf/components/hal/esp32c6/include -I/home/jeroen/esp8266/esp32/esp-idf/components/hal/include -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_rom/include -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_rom/include/esp32c6 -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_rom/esp32c6 -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_common/include -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_system/include -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_system/port/soc -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_system/port/include/riscv -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_system/port/include/private -I/home/jeroen/esp8266/esp32/esp-idf/components/riscv/include -I/home/jeroen/esp8266/esp32/esp-idf/components/lwip/include -I/home/jeroen/esp8266/esp32/esp-idf/components/lwip/include/apps -I/home/jeroen/esp8266/esp32/esp-idf/components/lwip/include/apps/sntp -I/home/jeroen/esp8266/esp32/esp-idf/components/lwip/lwip/src/include -I/home/jeroen/esp8266/esp32/esp-idf/components/lwip/port/include -I/home/jeroen/esp8266/esp32/esp-idf/components/lwip/port/freertos/include -I/home/jeroen/esp8266/esp32/esp-idf/components/lwip/port/esp32xx/include -I/home/jeroen/esp8266/esp32/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/jeroen/esp8266/esp32/esp-idf/components/lwip/port/esp32xx/include/sys -I/home/jeroen/esp8266/esp32/esp-idf/components/json/cJSON -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_http_server/include -I/home/jeroen/esp8266/esp32/esp-idf/components/http_parser -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_event/include -I/home/jeroen/esp8266/esp32/esp-idf/components/nvs_flash/include -I/home/jeroen/esp8266/esp32/esp-idf/components/spi_flash/include -I/home/jeroen/esp8266/esp32/esp-idf/components/esp_partition/include -march=rv32imac_zicsr_zifencei -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 -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=/home/jeroen/prog/ledstrip_shader/example=. -fmacro-prefix-map=/home/jeroen/esp8266/esp32/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/ledstrip_shader/CMakeFiles/__idf_ledstrip_shader.dir/src/vm.c.obj -MF esp-idf/ledstrip_shader/CMakeFiles/__idf_ledstrip_shader.dir/src/vm.c.obj.d -o esp-idf/ledstrip_shader/CMakeFiles/__idf_ledstrip_shader.dir/src/vm.c.obj -c /home/jeroen/prog/ledstrip_shader/src/vm.c /home/jeroen/prog/ledstrip_shader/src/vm.c: In function 'lssl_vm_init': /home/jeroen/prog/ledstrip_shader/src/vm.c:39:57: error: format '%d' expects argument of type 'int', but argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 39 | printf("Version error! Expected %d got %d\n", LSSL_VM_VER, ver); | ~^ ~~~ | | | | int uint32_t {aka long unsigned int} | %ld cc1: some warnings being treated as errors ninja: build stopped: subcommand failed.