You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[12/21] Performing build step for 'bootloader'
ninja: no work to do.
[13/19] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_mdns.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/app_mdns.c.obj
ccache C:\Espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -Iconfig -I../main/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/newlib/platform_include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/freertos/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/heap/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/log/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/soc/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/soc/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_rom/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_common/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/xtensa/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/xtensa/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/driver/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_ringbuf/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_event/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/tcpip_adapter/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/lwip/include/apps -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/lwip/include/apps/sntp -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/lwip/lwip/src/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/lwip/port/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/lwip/port/esp32/include/arch -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/vfs/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_wifi/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_wifi/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_eth/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/efuse/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/efuse/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/app_trace/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp32-camera/driver/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp32-camera/conversions/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-face/face_detection/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-face/face_recognition/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-face/object_detection/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-face/image_util/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-face/lib/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/spi_flash/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/nvs_flash/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/mbedtls/port/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/mbedtls/mbedtls/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_http_server/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/nghttp/port/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/nghttp/nghttp2/lib/includes -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/fb_gfx/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/mdns/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/console -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/fatfs/diskio -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/fatfs/vfs -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/fatfs/src -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/wear_levelling/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/sdmmc/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/wpa_supplicant/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/wpa_supplicant/port/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/wpa_supplicant/include/esp_supplicant -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -nostdlib -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -mfix-esp32-psram-cache-issue -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.0-276-g57a5a486ff" -DGCC_NOT_5_2_0 -DESP_PLATFORM -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/app_mdns.c.obj -MF esp-idf\main\CMakeFiles__idf_main.dir\app_mdns.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/app_mdns.c.obj -c ../main/app_mdns.c
../main/app_mdns.c: In function 'app_mdns_main':
../main/app_mdns.c:247:69: error: 'mac[0]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
../main/app_mdns.c:247:77: error: 'mac[1]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
../main/app_mdns.c:247:85: error: 'mac[2]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
../main/app_mdns.c:247:92: error: 'mac[3]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
../main/app_mdns.c:247:100: error: 'mac[4]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
../main/app_mdns.c:247:108: error: 'mac[5]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
cc1.exe: some warnings being treated as errors
[14/19] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_smart_wifi.c.obj
../main/app_smart_wifi.c:87:13: warning: 'initialize_sntp' defined but not used [-Wunused-function]
static void initialize_sntp(void)
^~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
The text was updated successfully, but these errors were encountered:
D:\es32\Ai-Thinker-Open_ESP32-CAMERA_LAN\examples\single_chip\camera_web_server>idf.py build
Checking Python dependencies...
Python requirements from D:\es32\Ai-Thinker-Open_ESP32-CAMERA_LAN\esp-idf\requirements.txt are satisfied.
Executing action: all (aliases: build)
Running ninja in directory d:\es32\ai-thinker-open_esp32-camera_lan\examples\single_chip\camera_web_server\build
Executing "ninja all"...
[0/1] Re-running CMake...
-- mconf-idf version mconf-v4.6.0.0-idf-20190628-win32
-- ccache will be used for faster recompilation
-- Project version: 97a29e1-dirty
-- Building ESP-IDF components for target esp32
Loading defaults file D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/examples/single_chip/camera_web_server/sdkconfig.defaults...
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- Adding linker script D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/examples/single_chip/camera_web_server/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp32/ld/esp32.project.ld.in
-- Adding linker script D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
CMake Warning (dev) at main/CMakeLists.txt:1:
Syntax Warning in cmake code at column 111
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Components: app_trace app_update asio bootloader bootloader_support bt coap console cxx driver efuse esp-face esp-sr esp-tls esp32 esp32-camera esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_http_client esp_http_server esp_https_ota esp_https_server esp_local_ctrl esp_ringbuf esp_rom esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs fb_gfx freemodbus freertos heap idf_test jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl partition_table protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/app_trace D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/app_update D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/asio D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/bootloader D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/bootloader_support D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/bt D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/coap D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/console D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/cxx D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/driver D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/efuse D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-face D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-sr D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp-tls D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp32 D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp32-camera D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_adc_cal D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_common D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_eth D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_event D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_gdbstub D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_http_client D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_http_server D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_https_ota D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_https_server D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_local_ctrl D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_ringbuf D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_rom D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_websocket_client D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_wifi D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/espcoredump D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esptool_py D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/expat D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/fatfs D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/fb_gfx D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/freemodbus D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/freertos D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/heap D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/idf_test D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/jsmn D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/json D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/libsodium D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/log D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/lwip D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/examples/single_chip/camera_web_server/main D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/mbedtls D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/mdns D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/mqtt D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/newlib D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/nghttp D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/nvs_flash D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/openssl D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/partition_table D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/protobuf-c D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/protocomm D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/pthread D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/sdmmc D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/soc D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/spi_flash D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/spiffs D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/tcp_transport D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/tcpip_adapter D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/ulp D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/unity D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/vfs D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/wear_levelling D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/wifi_provisioning D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/wpa_supplicant D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: D:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/examples/single_chip/camera_web_server/build
[7/21] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_sd.c.obj
../main/app_sd.c:102:13: warning: 'Sdcard_task' defined but not used [-Wunused-function]
static void Sdcard_task(void *pvParameters)
^~~~~~~~~~~
[9/21] cmd.exe /C "cd /D D:\es32\Ai-Thinker-Open_ESP32-CAMERA_LAN\examples\single_chip\camera_web_server\build\esp-id...s\cmake\3.13.4\bin\cmake.exe -E echo *******************************************************************************"
Partition table binary generated. Contents:
Espressif ESP32 Partition Table
Name, Type, SubType, Offset, Size, Flags
factory,app,factory,0x10000,3840K,
nvs,data,nvs,0x3d0000,16K,
face_id,32,32,0x3e0000,128K,
[12/21] Performing build step for 'bootloader'
ninja: no work to do.
[13/19] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_mdns.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/app_mdns.c.obj
ccache C:\Espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -Iconfig -I../main/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/newlib/platform_include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/freertos/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/heap/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/log/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/soc/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/soc/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_rom/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_common/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/xtensa/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/xtensa/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/driver/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_ringbuf/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_event/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/tcpip_adapter/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/lwip/include/apps -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/lwip/include/apps/sntp -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/lwip/lwip/src/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/lwip/port/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/lwip/port/esp32/include/arch -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/vfs/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_wifi/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_wifi/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_eth/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/efuse/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/efuse/esp32/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/app_trace/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp32-camera/driver/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp32-camera/conversions/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-face/face_detection/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-face/face_recognition/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-face/object_detection/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-face/image_util/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/esp-face/lib/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/spi_flash/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/nvs_flash/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/mbedtls/port/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/mbedtls/mbedtls/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/esp_http_server/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/nghttp/port/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/nghttp/nghttp2/lib/includes -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/components/fb_gfx/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/mdns/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/console -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/fatfs/diskio -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/fatfs/vfs -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/fatfs/src -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/wear_levelling/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/sdmmc/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/wpa_supplicant/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/wpa_supplicant/port/include -ID:/es32/Ai-Thinker-Open_ESP32-CAMERA_LAN/esp-idf/components/wpa_supplicant/include/esp_supplicant -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -nostdlib -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -mfix-esp32-psram-cache-issue -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.0-276-g57a5a486ff" -DGCC_NOT_5_2_0 -DESP_PLATFORM -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/app_mdns.c.obj -MF esp-idf\main\CMakeFiles__idf_main.dir\app_mdns.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/app_mdns.c.obj -c ../main/app_mdns.c
../main/app_mdns.c: In function 'app_mdns_main':
../main/app_mdns.c:247:69: error: 'mac[0]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
../main/app_mdns.c:247:77: error: 'mac[1]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
../main/app_mdns.c:247:85: error: 'mac[2]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
../main/app_mdns.c:247:92: error: 'mac[3]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
../main/app_mdns.c:247:100: error: 'mac[4]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
../main/app_mdns.c:247:108: error: 'mac[5]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
ESP_LOGI("base MAC address", "%02X:%02X:%02X:%02X:%02X:%02X",mac[0], mac[1], mac[2],mac[3], mac[4], mac[5]);
^
cc1.exe: some warnings being treated as errors
[14/19] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_smart_wifi.c.obj
../main/app_smart_wifi.c:87:13: warning: 'initialize_sntp' defined but not used [-Wunused-function]
static void initialize_sntp(void)
^~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
The text was updated successfully, but these errors were encountered: