while building I get following outpu:
[ 91%] Building C object esp-idf/cmock/CMakeFiles/__idf_cmock.dir/CMock/src/cmock.c.obj /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/model/DHT22.c:27:10: fatal error: driver/gpio.h: No such file or directory 27 | #include "driver/gpio.h" | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [esp-idf/model/CMakeFiles/__idf_model.dir/build.make:63: esp-idf/model/CMakeFiles/__idf_model.dir/DHT22.c.obj] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 92%] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_check.c.obj [ 92%] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_gc.c.obj [ 92%] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_hydrogen.c.obj [ 92%] Linking C static library libcmock.a /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/model/model.c:4:10: fatal error: driver/gpio.h: No such file or directory 4 | #include "driver/gpio.h" | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [esp-idf/model/CMakeFiles/__idf_model.dir/build.make:76: esp-idf/model/CMakeFiles/__idf_model.dir/model.c.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:4808: esp-idf/model/CMakeFiles/__idf_model.dir/all] Error 2 [ 92%] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_nucleus.c.obj [ 92%] Built target __idf_cmock [ 92%] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/esp_spiffs.c.obj [ 92%] Linking C static library libspiffs.a [ 92%] Built target __idf_spiffs cc1: some warnings being treated as errors make[2]: *** [esp-idf/open62541lib/CMakeFiles/__idf_open62541lib.dir/build.make:63: esp-idf/open62541lib/CMakeFiles/__idf_open62541lib.dir/open62541.c.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:4835: esp-idf/open62541lib/CMakeFiles/__idf_open62541lib.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 make failed with exit code 2, output of the command is in the /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/build/log/idf_py_stderr_output_312865 and /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/build/log/idf_py_stdout_output_312865
The logs look like:
Compiler supported targets: xtensa-esp32-elf
`Compiler supported targets: xtensa-esp32-elf
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:12895:9: note: '#pragma message: No native IEEE 754 format detected. Use slow generic encoding.'
12895
#pragma message "No native IEEE 754 format detected. Use slow generic encoding."
^~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'UA_NodeId_print':
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:14704:39: error: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'UA_UInt32' {aka 'long unsigned int'} [-Werror=format=]
14704
^~
In file included from /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:28:
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/include/open62541.h:22623:35: note: format string is defined here
22623
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'sendResponse':
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5327:18: error: format '%hi' expects argument of type 'int', but argument 7 has type 'UA_UInt32' {aka 'long unsigned int'} [-Werror=format=]
5327
"Connection %i
SecureChannel %" PRIu32 "
" MSG "%.0s", \
^~~~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:1364:28: note: in definition of macro 'UA_MACRO_EXPAND'
1364
#define UA_MACRO_EXPAND(x) x
^
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5332:21: note: in expansion of macro 'UA_LOG_DEBUG_CHANNEL_INTERNAL'
5332
^~~~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:29008:9: note: in expansion of macro 'UA_LOG_DEBUG_CHANNEL'
29008
^~~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'processMSGDecoded':
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5345:18: error: format '%hi' expects argument of type 'int', but argument 6 has type 'UA_UInt32' {aka 'long unsigned int'} [-Werror=format=]
5345
"Connection %i
SecureChannel %" PRIu32 "
" MSG "%.0s", \
^~~~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:1364:28: note: in definition of macro 'UA_MACRO_EXPAND'
1364
#define UA_MACRO_EXPAND(x) x
^
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5350:21: note: in expansion of macro 'UA_LOG_WARNING_CHANNEL_INTERNAL'
5350
^~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:29130:13: note: in expansion of macro 'UA_LOG_WARNING_CHANNEL'
29130
^~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'Service_CreateSession':
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5336:18: error: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'UA_UInt32' {aka 'long unsigned int'} [-Werror=format=]
5336
"Connection %i
SecureChannel %" PRIu32 "
" MSG "%.0s", \
^~~~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:1364:28: note: in definition of macro 'UA_MACRO_EXPAND'
1364
#define UA_MACRO_EXPAND(x) x
^
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5341:21: note: in expansion of macro 'UA_LOG_INFO_CHANNEL_INTERNAL'
5341
^~~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:39806:5: note: in expansion of macro 'UA_LOG_INFO_CHANNEL'
39806
^~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'copyAttributeIntoNode':
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:41804:56: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
41804
UA_StatusCode_name(retval));
^
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'typeCheckVariableNode':
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:44801:85: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
44801
nodeIdStr.data, UA_StatusCode_name(retval)));
^
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'sendSymmetricServiceRequest':
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5327:18: error: format '%hi' expects argument of type 'int', but argument 7 has type 'UA_UInt32' {aka 'long unsigned int'} [-Werror=format=]
5327
"Connection %i
SecureChannel %" PRIu32 "
" MSG "%.0s", \
^~~~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:1364:28: note: in definition of macro 'UA_MACRO_EXPAND'
1364
#define UA_MACRO_EXPAND(x) x
^
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5332:21: note: in expansion of macro 'UA_LOG_DEBUG_CHANNEL_INTERNAL'
5332
^~~~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:47864:5: note: in expansion of macro 'UA_LOG_DEBUG_CHANNEL'
47864
^~~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'processAsyncResponse':
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:47931:61: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'UA_UInt32' {aka 'long unsigned int'} [-Werror=format=]
47931
"Could not decode the response with id %u due to %s",
~^
unsigned int
%lu
47932
requestId, UA_StatusCode_name(retval));
~~~~~
UA_UInt32 {aka long unsigned int}
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'UA_Session_reachedPublishReqLimit':
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5798:24: error: format '%i' expects argument of type 'int', but argument 4 has type 'UA_UInt32' {aka 'long unsigned int'} [-Werror=format=]
5798
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:1364:28: note: in definition of macro 'UA_MACRO_EXPAND'
1364
#define UA_MACRO_EXPAND(x) x
^
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5840:21: note: in expansion of macro 'UA_LOG_SESSION_INTERNAL'
5840
^~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:61323:9: note: in expansion of macro 'UA_LOG_FATAL_SESSION'
61323
UA_LOG_FATAL_SESSION(&server->config.logger, session, "No publish requests available");
^~~~~~~~
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5798:40: note: format string is defined here
5798
"SecureChannel %i
Session %.*s
" MSG "%.0s", \
~^
int
%li
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/ethernet/ethernet_connect.c:10:10: fatal error: esp_event.h: No such file or directory
10 | #include "esp_event.h"
| ^~~~~
compilation terminated.
make[2]: [esp-idf/ethernet/CMakeFiles/__idf_ethernet.dir/build.make:63: esp-idf/ethernet/CMakeFiles/__idf_ethernet.dir/ethernet_connect.c.obj] Error 1
make[1]: [CMakeFiles/Makefile2:4781: esp-idf/ethernet/CMakeFiles/idf_ethernet.dir/all] Error 2
make[1]: Waiting for unfinished jobs....
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/model/DHT22.c:27:10: fatal error: driver/gpio.h: No such file or directory
27 | #include "driver/gpio.h"
| ^~~~~~~
compilation terminated.
make[2]: [esp-idf/model/CMakeFiles/idf_model.dir/build.make:63: esp-idf/model/CMakeFiles/idf_model.dir/DHT22.c.obj] Error 1
make[2]: Waiting for unfinished jobs....
/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/model/model.c:4:10: fatal error: driver/gpio.h: No such file or directory
4 | #include "driver/gpio.h"
| ^~~~~~~
compilation terminated.
make[2]: [esp-idf/model/CMakeFiles/idf_model.dir/build.make:76: esp-idf/model/CMakeFiles/idf_model.dir/model.c.obj] Error 1
make[1]: [CMakeFiles/Makefile2:4808: esp-idf/model/CMakeFiles/__idf_model.dir/all] Error 2
cc1: some warnings being treated as errors
make[2]: [esp-idf/open62541lib/CMakeFiles/idf_open62541lib.dir/build.make:63: esp-idf/open62541lib/CMakeFiles/__idf_open62541lib.dir/open62541.c.obj] Error 1
make[1]: [CMakeFiles/Makefile2:4835: esp-idf/open62541lib/CMakeFiles/__idf_open62541lib.dir/all] Error 2
make: [Makefile:130: all] Error 2`
-- Found Git: /usr/bin/git (found version "2.25.1") -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- The ASM compiler identification is GNU -- Found assembler: /home/cone_ph/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- Check for working C compiler: /home/cone_ph/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- Check for working C compiler: /home/cone_ph/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /home/cone_ph/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- Check for working CXX compiler: /home/cone_ph/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building ESP-IDF components for target esp32 -- Project sdkconfig file /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:311 CONFIG_ESP32_DEFAULT_CPU_FREQ_80 was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_80 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:312 CONFIG_ESP32_DEFAULT_CPU_FREQ_160 was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_160 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:313 CONFIG_ESP32_DEFAULT_CPU_FREQ_240 was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:314 CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:315 CONFIG_ESP32_SPIRAM_SUPPORT was replaced with CONFIG_SPIRAM /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:321 CONFIG_ESP32_ULP_COPROC_ENABLED was replaced with CONFIG_ULP_COPROC_ENABLED /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:322 CONFIG_ESP32_ULP_COPROC_RESERVE_MEM was replaced with CONFIG_ULP_COPROC_RESERVE_MEM /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:323 CONFIG_ESP32_DEBUG_OCDAWARE was replaced with CONFIG_ESP_DEBUG_OCDAWARE /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:324 CONFIG_ESP32_BROWNOUT_DET was replaced with CONFIG_ESP_BROWNOUT_DET /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:325 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_0 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_0 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:326 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_1 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_1 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:327 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_2 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_2 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:328 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_3 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_3 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:329 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_4 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_4 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:330 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_5 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_5 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:331 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_6 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_6 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:332 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_7 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_7 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:333 CONFIG_ESP32_BROWNOUT_DET_LVL was replaced with CONFIG_ESP_BROWNOUT_DET_LVL /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:334 CONFIG_ESP32_REDUCE_PHY_TX_POWER was replaced with CONFIG_ESP_PHY_REDUCE_TX_POWER /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:335 CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1 was replaced with CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC_HRT /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:336 CONFIG_ESP32_TIME_SYSCALL_USE_RTC was replaced with CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:337 CONFIG_ESP32_TIME_SYSCALL_USE_FRC1 was replaced with CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:338 CONFIG_ESP32_TIME_SYSCALL_USE_NONE was replaced with CONFIG_NEWLIB_TIME_SYSCALL_USE_NONE /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:339 CONFIG_ESP32_RTC_CLK_SRC_INT_RC was replaced with CONFIG_RTC_CLK_SRC_INT_RC /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:340 CONFIG_ESP32_RTC_CLK_SRC_EXT_CRYS was replaced with CONFIG_RTC_CLK_SRC_EXT_CRYS /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:341 CONFIG_ESP32_RTC_CLK_SRC_EXT_OSC was replaced with CONFIG_RTC_CLK_SRC_EXT_OSC /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:342 CONFIG_ESP32_RTC_CLK_SRC_INT_8MD256 was replaced with CONFIG_RTC_CLK_SRC_INT_8MD256 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:343 CONFIG_ESP32_RTC_CLK_CAL_CYCLES was replaced with CONFIG_RTC_CLK_CAL_CYCLES /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:344 CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY was replaced with CONFIG_ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:345 CONFIG_ESP32_XTAL_FREQ_40 was replaced with CONFIG_XTAL_FREQ_40 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:346 CONFIG_ESP32_XTAL_FREQ_26 was replaced with CONFIG_XTAL_FREQ_26 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:347 CONFIG_ESP32_XTAL_FREQ_AUTO was replaced with CONFIG_XTAL_FREQ_AUTO /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:348 CONFIG_ESP32_XTAL_FREQ was replaced with CONFIG_XTAL_FREQ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:350 CONFIG_ESP32_NO_BLOBS was replaced with CONFIG_APP_NO_BLOBS /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:351 CONFIG_ESP32_COMPATIBLE_PRE_V2_1_BOOTLOADERS was replaced with CONFIG_APP_COMPATIBLE_PRE_V2_1_BOOTLOADERS /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:427 CONFIG_OTA_ALLOW_HTTP was replaced with CONFIG_ESP_HTTPS_OTA_ALLOW_HTTP /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:472 CONFIG_ESP_SYSTEM_PD_FLASH was replaced with CONFIG_ESP_SLEEP_POWER_DOWN_FLASH /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:497 CONFIG_ESP_TASK_WDT was replaced with CONFIG_ESP_TASK_WDT_INIT /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:549 CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE was replaced with CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:550 CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION was replaced with CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:551 CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER was replaced with CONFIG_ESP_PHY_MAX_WIFI_TX_POWER /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:552 CONFIG_ESP32_PHY_MAX_TX_POWER was replaced with CONFIG_ESP_PHY_MAX_TX_POWER -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of time_t -- Check size of time_t - done -- Found Python3: /home/cone_ph/.espressif/python_env/idf5.1_py3.8_env/bin/python (found version "3.8.10") found components: Interpreter -- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS -- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success -- App "opcua_esp32" version: 35c519e -- Adding linker script /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/build/esp-idf/esp_system/ld/memory.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_system/ld/esp32/sections.ld.in -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld -- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format 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_lcd esp_local_ctrl esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump esptool_py ethernet fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls model mqtt newlib nvs_flash open62541lib openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa -- Component paths: /home/cone_ph/Desktop/esp-idf/components/app_trace /home/cone_ph/Desktop/esp-idf/components/app_update /home/cone_ph/Desktop/esp-idf/components/bootloader /home/cone_ph/Desktop/esp-idf/components/bootloader_support /home/cone_ph/Desktop/esp-idf/components/bt /home/cone_ph/Desktop/esp-idf/components/cmock /home/cone_ph/Desktop/esp-idf/components/console /home/cone_ph/Desktop/esp-idf/components/cxx /home/cone_ph/Desktop/esp-idf/components/driver /home/cone_ph/Desktop/esp-idf/components/efuse /home/cone_ph/Desktop/esp-idf/components/esp-tls /home/cone_ph/Desktop/esp-idf/components/esp_adc /home/cone_ph/Desktop/esp-idf/components/esp_app_format /home/cone_ph/Desktop/esp-idf/components/esp_common /home/cone_ph/Desktop/esp-idf/components/esp_eth /home/cone_ph/Desktop/esp-idf/components/esp_event /home/cone_ph/Desktop/esp-idf/components/esp_gdbstub /home/cone_ph/Desktop/esp-idf/components/esp_hid /home/cone_ph/Desktop/esp-idf/components/esp_http_client /home/cone_ph/Desktop/esp-idf/components/esp_http_server /home/cone_ph/Desktop/esp-idf/components/esp_https_ota /home/cone_ph/Desktop/esp-idf/components/esp_https_server /home/cone_ph/Desktop/esp-idf/components/esp_hw_support /home/cone_ph/Desktop/esp-idf/components/esp_lcd /home/cone_ph/Desktop/esp-idf/components/esp_local_ctrl /home/cone_ph/Desktop/esp-idf/components/esp_netif /home/cone_ph/Desktop/esp-idf/components/esp_netif_stack /home/cone_ph/Desktop/esp-idf/components/esp_partition /home/cone_ph/Desktop/esp-idf/components/esp_phy /home/cone_ph/Desktop/esp-idf/components/esp_pm /home/cone_ph/Desktop/esp-idf/components/esp_psram /home/cone_ph/Desktop/esp-idf/components/esp_ringbuf /home/cone_ph/Desktop/esp-idf/components/esp_rom /home/cone_ph/Desktop/esp-idf/components/esp_system /home/cone_ph/Desktop/esp-idf/components/esp_timer /home/cone_ph/Desktop/esp-idf/components/esp_wifi /home/cone_ph/Desktop/esp-idf/components/espcoredump /home/cone_ph/Desktop/esp-idf/components/esptool_py /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/ethernet /home/cone_ph/Desktop/esp-idf/components/fatfs /home/cone_ph/Desktop/esp-idf/components/freertos /home/cone_ph/Desktop/esp-idf/components/hal /home/cone_ph/Desktop/esp-idf/components/heap /home/cone_ph/Desktop/esp-idf/components/http_parser /home/cone_ph/Desktop/esp-idf/components/idf_test /home/cone_ph/Desktop/esp-idf/components/ieee802154 /home/cone_ph/Desktop/esp-idf/components/json /home/cone_ph/Desktop/esp-idf/components/log /home/cone_ph/Desktop/esp-idf/components/lwip /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/main /home/cone_ph/Desktop/esp-idf/components/mbedtls /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/model /home/cone_ph/Desktop/esp-idf/components/mqtt /home/cone_ph/Desktop/esp-idf/components/newlib /home/cone_ph/Desktop/esp-idf/components/nvs_flash /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib /home/cone_ph/Desktop/esp-idf/components/openthread /home/cone_ph/Desktop/esp-idf/components/partition_table /home/cone_ph/Desktop/esp-idf/components/perfmon /home/cone_ph/Desktop/esp-idf/components/protobuf-c /home/cone_ph/Desktop/esp-idf/components/protocomm /home/cone_ph/Desktop/esp-idf/components/pthread /home/cone_ph/Desktop/esp-idf/components/sdmmc /home/cone_ph/Desktop/esp-idf/components/soc /home/cone_ph/Desktop/esp-idf/components/spi_flash /home/cone_ph/Desktop/esp-idf/components/spiffs /home/cone_ph/Desktop/esp-idf/components/tcp_transport /home/cone_ph/Desktop/esp-idf/components/ulp /home/cone_ph/Desktop/esp-idf/components/unity /home/cone_ph/Desktop/esp-idf/components/usb /home/cone_ph/Desktop/esp-idf/components/vfs /home/cone_ph/Desktop/esp-idf/components/wear_levelling /home/cone_ph/Desktop/esp-idf/components/wifi_provisioning /home/cone_ph/Desktop/esp-idf/components/wpa_supplicant /home/cone_ph/Desktop/esp-idf/components/xtensa -- Configuring done -- Generating done -- Build files have been written to: /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/build
Hey,
while building I get following outpu:
[ 91%] Building C object esp-idf/cmock/CMakeFiles/__idf_cmock.dir/CMock/src/cmock.c.obj /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/model/DHT22.c:27:10: fatal error: driver/gpio.h: No such file or directory 27 | #include "driver/gpio.h" | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [esp-idf/model/CMakeFiles/__idf_model.dir/build.make:63: esp-idf/model/CMakeFiles/__idf_model.dir/DHT22.c.obj] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 92%] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_check.c.obj [ 92%] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_gc.c.obj [ 92%] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_hydrogen.c.obj [ 92%] Linking C static library libcmock.a /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/model/model.c:4:10: fatal error: driver/gpio.h: No such file or directory 4 | #include "driver/gpio.h" | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [esp-idf/model/CMakeFiles/__idf_model.dir/build.make:76: esp-idf/model/CMakeFiles/__idf_model.dir/model.c.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:4808: esp-idf/model/CMakeFiles/__idf_model.dir/all] Error 2 [ 92%] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_nucleus.c.obj [ 92%] Built target __idf_cmock [ 92%] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/esp_spiffs.c.obj [ 92%] Linking C static library libspiffs.a [ 92%] Built target __idf_spiffs cc1: some warnings being treated as errors make[2]: *** [esp-idf/open62541lib/CMakeFiles/__idf_open62541lib.dir/build.make:63: esp-idf/open62541lib/CMakeFiles/__idf_open62541lib.dir/open62541.c.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:4835: esp-idf/open62541lib/CMakeFiles/__idf_open62541lib.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 make failed with exit code 2, output of the command is in the /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/build/log/idf_py_stderr_output_312865 and /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/build/log/idf_py_stdout_output_312865
The logs look like:Compiler supported targets: xtensa-esp32-elf
`Compiler supported targets: xtensa-esp32-elf
~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'UA_NodeId_print': /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:14704:39: error: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'UA_UInt32' {aka 'long unsigned int'} [-Werror=format=] 14704~In file included from /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:28: /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/include/open62541.h:22623:35: note: format string is defined here 22623~~~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:1364:28: note: in definition of macro 'UA_MACRO_EXPAND' 1364~~~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:29008:9: note: in expansion of macro 'UA_LOG_DEBUG_CHANNEL' 29008~~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'processMSGDecoded': /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5345:18: error: format '%hi' expects argument of type 'int', but argument 6 has type 'UA_UInt32' {aka 'long unsigned int'} [-Werror=format=] 5345~~~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:1364:28: note: in definition of macro 'UA_MACRO_EXPAND' 1364~~~~~~/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:29130:13: note: in expansion of macro 'UA_LOG_WARNING_CHANNEL' 29130~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'Service_CreateSession': /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5336:18: error: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'UA_UInt32' {aka 'long unsigned int'} [-Werror=format=] 5336~~~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:1364:28: note: in definition of macro 'UA_MACRO_EXPAND' 1364~~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:39806:5: note: in expansion of macro 'UA_LOG_INFO_CHANNEL' 39806~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'copyAttributeIntoNode': /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:41804:56: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 41804~~~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:1364:28: note: in definition of macro 'UA_MACRO_EXPAND' 1364~~~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:47864:5: note: in expansion of macro 'UA_LOG_DEBUG_CHANNEL' 47864~~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c: In function 'processAsyncResponse': /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:47931:61: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'UA_UInt32' {aka 'long unsigned int'} [-Werror=format=] 47931~~~~~~~~~~~~5799~~~~~~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:61323:9: note: in expansion of macro 'UA_LOG_FATAL_SESSION' 61323~~~~~~~ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib/open62541.c:5798:40: note: format string is defined here 5798/home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/ethernet/ethernet_connect.c:10:10: fatal error: esp_event.h: No such file or directory 10 | #include "esp_event.h" | ^
~~~~ compilation terminated. make[2]: [esp-idf/ethernet/CMakeFiles/__idf_ethernet.dir/build.make:63: esp-idf/ethernet/CMakeFiles/__idf_ethernet.dir/ethernet_connect.c.obj] Error 1 make[1]: [CMakeFiles/Makefile2:4781: esp-idf/ethernet/CMakeFiles/idf_ethernet.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/model/DHT22.c:27:10: fatal error: driver/gpio.h: No such file or directory 27 | #include "driver/gpio.h" | ^~~~~~~ compilation terminated. make[2]: [esp-idf/model/CMakeFiles/idf_model.dir/build.make:63: esp-idf/model/CMakeFiles/idf_model.dir/DHT22.c.obj] Error 1 make[2]: Waiting for unfinished jobs.... /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/model/model.c:4:10: fatal error: driver/gpio.h: No such file or directory 4 | #include "driver/gpio.h" | ^~~~~~~ compilation terminated. make[2]: [esp-idf/model/CMakeFiles/idf_model.dir/build.make:76: esp-idf/model/CMakeFiles/idf_model.dir/model.c.obj] Error 1 make[1]: [CMakeFiles/Makefile2:4808: esp-idf/model/CMakeFiles/__idf_model.dir/all] Error 2 cc1: some warnings being treated as errors make[2]: [esp-idf/open62541lib/CMakeFiles/idf_open62541lib.dir/build.make:63: esp-idf/open62541lib/CMakeFiles/__idf_open62541lib.dir/open62541.c.obj] Error 1 make[1]: [CMakeFiles/Makefile2:4835: esp-idf/open62541lib/CMakeFiles/__idf_open62541lib.dir/all] Error 2 make: [Makefile:130: all] Error 2`-- Found Git: /usr/bin/git (found version "2.25.1") -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- The ASM compiler identification is GNU -- Found assembler: /home/cone_ph/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- Check for working C compiler: /home/cone_ph/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- Check for working C compiler: /home/cone_ph/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /home/cone_ph/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- Check for working CXX compiler: /home/cone_ph/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building ESP-IDF components for target esp32 -- Project sdkconfig file /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:311 CONFIG_ESP32_DEFAULT_CPU_FREQ_80 was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_80 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:312 CONFIG_ESP32_DEFAULT_CPU_FREQ_160 was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_160 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:313 CONFIG_ESP32_DEFAULT_CPU_FREQ_240 was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:314 CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ was replaced with CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:315 CONFIG_ESP32_SPIRAM_SUPPORT was replaced with CONFIG_SPIRAM /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:321 CONFIG_ESP32_ULP_COPROC_ENABLED was replaced with CONFIG_ULP_COPROC_ENABLED /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:322 CONFIG_ESP32_ULP_COPROC_RESERVE_MEM was replaced with CONFIG_ULP_COPROC_RESERVE_MEM /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:323 CONFIG_ESP32_DEBUG_OCDAWARE was replaced with CONFIG_ESP_DEBUG_OCDAWARE /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:324 CONFIG_ESP32_BROWNOUT_DET was replaced with CONFIG_ESP_BROWNOUT_DET /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:325 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_0 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_0 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:326 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_1 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_1 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:327 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_2 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_2 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:328 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_3 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_3 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:329 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_4 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_4 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:330 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_5 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_5 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:331 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_6 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_6 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:332 CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_7 was replaced with CONFIG_ESP_BROWNOUT_DET_LVL_SEL_7 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:333 CONFIG_ESP32_BROWNOUT_DET_LVL was replaced with CONFIG_ESP_BROWNOUT_DET_LVL /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:334 CONFIG_ESP32_REDUCE_PHY_TX_POWER was replaced with CONFIG_ESP_PHY_REDUCE_TX_POWER /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:335 CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1 was replaced with CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC_HRT /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:336 CONFIG_ESP32_TIME_SYSCALL_USE_RTC was replaced with CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:337 CONFIG_ESP32_TIME_SYSCALL_USE_FRC1 was replaced with CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:338 CONFIG_ESP32_TIME_SYSCALL_USE_NONE was replaced with CONFIG_NEWLIB_TIME_SYSCALL_USE_NONE /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:339 CONFIG_ESP32_RTC_CLK_SRC_INT_RC was replaced with CONFIG_RTC_CLK_SRC_INT_RC /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:340 CONFIG_ESP32_RTC_CLK_SRC_EXT_CRYS was replaced with CONFIG_RTC_CLK_SRC_EXT_CRYS /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:341 CONFIG_ESP32_RTC_CLK_SRC_EXT_OSC was replaced with CONFIG_RTC_CLK_SRC_EXT_OSC /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:342 CONFIG_ESP32_RTC_CLK_SRC_INT_8MD256 was replaced with CONFIG_RTC_CLK_SRC_INT_8MD256 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:343 CONFIG_ESP32_RTC_CLK_CAL_CYCLES was replaced with CONFIG_RTC_CLK_CAL_CYCLES /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:344 CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY was replaced with CONFIG_ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:345 CONFIG_ESP32_XTAL_FREQ_40 was replaced with CONFIG_XTAL_FREQ_40 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:346 CONFIG_ESP32_XTAL_FREQ_26 was replaced with CONFIG_XTAL_FREQ_26 /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:347 CONFIG_ESP32_XTAL_FREQ_AUTO was replaced with CONFIG_XTAL_FREQ_AUTO /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:348 CONFIG_ESP32_XTAL_FREQ was replaced with CONFIG_XTAL_FREQ /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:350 CONFIG_ESP32_NO_BLOBS was replaced with CONFIG_APP_NO_BLOBS /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:351 CONFIG_ESP32_COMPATIBLE_PRE_V2_1_BOOTLOADERS was replaced with CONFIG_APP_COMPATIBLE_PRE_V2_1_BOOTLOADERS /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:427 CONFIG_OTA_ALLOW_HTTP was replaced with CONFIG_ESP_HTTPS_OTA_ALLOW_HTTP /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:472 CONFIG_ESP_SYSTEM_PD_FLASH was replaced with CONFIG_ESP_SLEEP_POWER_DOWN_FLASH /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:497 CONFIG_ESP_TASK_WDT was replaced with CONFIG_ESP_TASK_WDT_INIT /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:549 CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE was replaced with CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:550 CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION was replaced with CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:551 CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER was replaced with CONFIG_ESP_PHY_MAX_WIFI_TX_POWER /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/sdkconfig:552 CONFIG_ESP32_PHY_MAX_TX_POWER was replaced with CONFIG_ESP_PHY_MAX_TX_POWER -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of time_t -- Check size of time_t - done -- Found Python3: /home/cone_ph/.espressif/python_env/idf5.1_py3.8_env/bin/python (found version "3.8.10") found components: Interpreter -- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS -- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success -- App "opcua_esp32" version: 35c519e -- Adding linker script /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/build/esp-idf/esp_system/ld/memory.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_system/ld/esp32/sections.ld.in -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld -- Adding linker script /home/cone_ph/Desktop/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld -- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format 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_lcd esp_local_ctrl esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump esptool_py ethernet fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls model mqtt newlib nvs_flash open62541lib openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa -- Component paths: /home/cone_ph/Desktop/esp-idf/components/app_trace /home/cone_ph/Desktop/esp-idf/components/app_update /home/cone_ph/Desktop/esp-idf/components/bootloader /home/cone_ph/Desktop/esp-idf/components/bootloader_support /home/cone_ph/Desktop/esp-idf/components/bt /home/cone_ph/Desktop/esp-idf/components/cmock /home/cone_ph/Desktop/esp-idf/components/console /home/cone_ph/Desktop/esp-idf/components/cxx /home/cone_ph/Desktop/esp-idf/components/driver /home/cone_ph/Desktop/esp-idf/components/efuse /home/cone_ph/Desktop/esp-idf/components/esp-tls /home/cone_ph/Desktop/esp-idf/components/esp_adc /home/cone_ph/Desktop/esp-idf/components/esp_app_format /home/cone_ph/Desktop/esp-idf/components/esp_common /home/cone_ph/Desktop/esp-idf/components/esp_eth /home/cone_ph/Desktop/esp-idf/components/esp_event /home/cone_ph/Desktop/esp-idf/components/esp_gdbstub /home/cone_ph/Desktop/esp-idf/components/esp_hid /home/cone_ph/Desktop/esp-idf/components/esp_http_client /home/cone_ph/Desktop/esp-idf/components/esp_http_server /home/cone_ph/Desktop/esp-idf/components/esp_https_ota /home/cone_ph/Desktop/esp-idf/components/esp_https_server /home/cone_ph/Desktop/esp-idf/components/esp_hw_support /home/cone_ph/Desktop/esp-idf/components/esp_lcd /home/cone_ph/Desktop/esp-idf/components/esp_local_ctrl /home/cone_ph/Desktop/esp-idf/components/esp_netif /home/cone_ph/Desktop/esp-idf/components/esp_netif_stack /home/cone_ph/Desktop/esp-idf/components/esp_partition /home/cone_ph/Desktop/esp-idf/components/esp_phy /home/cone_ph/Desktop/esp-idf/components/esp_pm /home/cone_ph/Desktop/esp-idf/components/esp_psram /home/cone_ph/Desktop/esp-idf/components/esp_ringbuf /home/cone_ph/Desktop/esp-idf/components/esp_rom /home/cone_ph/Desktop/esp-idf/components/esp_system /home/cone_ph/Desktop/esp-idf/components/esp_timer /home/cone_ph/Desktop/esp-idf/components/esp_wifi /home/cone_ph/Desktop/esp-idf/components/espcoredump /home/cone_ph/Desktop/esp-idf/components/esptool_py /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/ethernet /home/cone_ph/Desktop/esp-idf/components/fatfs /home/cone_ph/Desktop/esp-idf/components/freertos /home/cone_ph/Desktop/esp-idf/components/hal /home/cone_ph/Desktop/esp-idf/components/heap /home/cone_ph/Desktop/esp-idf/components/http_parser /home/cone_ph/Desktop/esp-idf/components/idf_test /home/cone_ph/Desktop/esp-idf/components/ieee802154 /home/cone_ph/Desktop/esp-idf/components/json /home/cone_ph/Desktop/esp-idf/components/log /home/cone_ph/Desktop/esp-idf/components/lwip /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/main /home/cone_ph/Desktop/esp-idf/components/mbedtls /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/model /home/cone_ph/Desktop/esp-idf/components/mqtt /home/cone_ph/Desktop/esp-idf/components/newlib /home/cone_ph/Desktop/esp-idf/components/nvs_flash /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/components/open62541lib /home/cone_ph/Desktop/esp-idf/components/openthread /home/cone_ph/Desktop/esp-idf/components/partition_table /home/cone_ph/Desktop/esp-idf/components/perfmon /home/cone_ph/Desktop/esp-idf/components/protobuf-c /home/cone_ph/Desktop/esp-idf/components/protocomm /home/cone_ph/Desktop/esp-idf/components/pthread /home/cone_ph/Desktop/esp-idf/components/sdmmc /home/cone_ph/Desktop/esp-idf/components/soc /home/cone_ph/Desktop/esp-idf/components/spi_flash /home/cone_ph/Desktop/esp-idf/components/spiffs /home/cone_ph/Desktop/esp-idf/components/tcp_transport /home/cone_ph/Desktop/esp-idf/components/ulp /home/cone_ph/Desktop/esp-idf/components/unity /home/cone_ph/Desktop/esp-idf/components/usb /home/cone_ph/Desktop/esp-idf/components/vfs /home/cone_ph/Desktop/esp-idf/components/wear_levelling /home/cone_ph/Desktop/esp-idf/components/wifi_provisioning /home/cone_ph/Desktop/esp-idf/components/wpa_supplicant /home/cone_ph/Desktop/esp-idf/components/xtensa -- Configuring done -- Generating done -- Build files have been written to: /home/cone_ph/Desktop/esp-idf/examples/opcua-esp32/build