Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when flash/build #1

Open
felipecvb opened this issue Feb 15, 2020 · 1 comment
Open

Issue when flash/build #1

felipecvb opened this issue Feb 15, 2020 · 1 comment

Comments

@felipecvb
Copy link

felipecvb commented Feb 15, 2020

Hi!
So I'm trying to use the esp32 instead of the esp8266. I followed the getstared from esd-idf and finally I got in the flash of the open62541-esp32, then this issue comes up(I think it is in the step 915 and 916, not sure):
(Sorry about the log, I will learn how to do in Travis CI)

felipe@ubuntu:~/open62541-esp32$ idf.py -p /dev/ttyUSB0 flash
Adding "flash"'s dependency "all" to list of commands with default set of options.
Executing action: all (aliases: build)
Running ninja in directory /home/felipe/open62541-esp32/build
Executing "ninja all"...
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32
Loading defaults file /home/felipe/open62541-esp32/sdkconfig.defaults...
-- Adding linker script /home/felipe/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs-time.ld
-- Adding linker script /home/felipe/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/felipe/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/felipe/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /home/felipe/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /home/felipe/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- App "open62541-esp32" version: ca014bb
-- Adding linker script /home/felipe/open62541-esp32/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script /home/felipe/esp/esp-idf/components/esp32/ld/esp32.project.ld.in
-- Adding linker script /home/felipe/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Components: app_trace app_update asio bootloader bootloader_support bt cbor coap console cxx driver efuse esp-tls esp32 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_netif esp_ringbuf esp_rom esp_serial_slave_link esp_timer esp_websocket_client esp_wifi espcoredump esptool_py ethernet_helper expat fatfs freemodbus freertos heap idf_test jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash open62541 openssl partition_table perfmon 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: /home/felipe/esp/esp-idf/components/app_trace /home/felipe/esp/esp-idf/components/app_update /home/felipe/esp/esp-idf/components/asio /home/felipe/esp/esp-idf/components/bootloader /home/felipe/esp/esp-idf/components/bootloader_support /home/felipe/esp/esp-idf/components/bt /home/felipe/esp/esp-idf/components/cbor /home/felipe/esp/esp-idf/components/coap /home/felipe/esp/esp-idf/components/console /home/felipe/esp/esp-idf/components/cxx /home/felipe/esp/esp-idf/components/driver /home/felipe/esp/esp-idf/components/efuse /home/felipe/esp/esp-idf/components/esp-tls /home/felipe/esp/esp-idf/components/esp32 /home/felipe/esp/esp-idf/components/esp_adc_cal /home/felipe/esp/esp-idf/components/esp_common /home/felipe/esp/esp-idf/components/esp_eth /home/felipe/esp/esp-idf/components/esp_event /home/felipe/esp/esp-idf/components/esp_gdbstub /home/felipe/esp/esp-idf/components/esp_http_client /home/felipe/esp/esp-idf/components/esp_http_server /home/felipe/esp/esp-idf/components/esp_https_ota /home/felipe/esp/esp-idf/components/esp_https_server /home/felipe/esp/esp-idf/components/esp_local_ctrl /home/felipe/esp/esp-idf/components/esp_netif /home/felipe/esp/esp-idf/components/esp_ringbuf /home/felipe/esp/esp-idf/components/esp_rom /home/felipe/esp/esp-idf/components/esp_serial_slave_link /home/felipe/esp/esp-idf/components/esp_timer /home/felipe/esp/esp-idf/components/esp_websocket_client /home/felipe/esp/esp-idf/components/esp_wifi /home/felipe/esp/esp-idf/components/espcoredump /home/felipe/esp/esp-idf/components/esptool_py /home/felipe/open62541-esp32/components/ethernet_helper /home/felipe/esp/esp-idf/components/expat /home/felipe/esp/esp-idf/components/fatfs /home/felipe/esp/esp-idf/components/freemodbus /home/felipe/esp/esp-idf/components/freertos /home/felipe/esp/esp-idf/components/heap /home/felipe/esp/esp-idf/components/idf_test /home/felipe/esp/esp-idf/components/jsmn /home/felipe/esp/esp-idf/components/json /home/felipe/esp/esp-idf/components/libsodium /home/felipe/esp/esp-idf/components/log /home/felipe/esp/esp-idf/components/lwip /home/felipe/open62541-esp32/main /home/felipe/esp/esp-idf/components/mbedtls /home/felipe/esp/esp-idf/components/mdns /home/felipe/esp/esp-idf/components/mqtt /home/felipe/esp/esp-idf/components/newlib /home/felipe/esp/esp-idf/components/nghttp /home/felipe/esp/esp-idf/components/nvs_flash /home/felipe/open62541-esp32/components/open62541 /home/felipe/esp/esp-idf/components/openssl /home/felipe/esp/esp-idf/components/partition_table /home/felipe/esp/esp-idf/components/perfmon /home/felipe/esp/esp-idf/components/protobuf-c /home/felipe/esp/esp-idf/components/protocomm /home/felipe/esp/esp-idf/components/pthread /home/felipe/esp/esp-idf/components/sdmmc /home/felipe/esp/esp-idf/components/soc /home/felipe/esp/esp-idf/components/spi_flash /home/felipe/esp/esp-idf/components/spiffs /home/felipe/esp/esp-idf/components/tcp_transport /home/felipe/esp/esp-idf/components/tcpip_adapter /home/felipe/esp/esp-idf/components/ulp /home/felipe/esp/esp-idf/components/unity /home/felipe/esp/esp-idf/components/vfs /home/felipe/esp/esp-idf/components/wear_levelling /home/felipe/esp/esp-idf/components/wifi_provisioning /home/felipe/esp/esp-idf/components/wpa_supplicant /home/felipe/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/felipe/open62541-esp32/build
[324/922] Performing configure step for 'bootloader'
-- Found Git: /usr/bin/git (found version "2.20.1") 
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/felipe/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/felipe/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/felipe/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.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/felipe/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/felipe/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.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
-- Adding linker script /home/felipe/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script /home/felipe/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/felipe/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /home/felipe/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/felipe/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script /home/felipe/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 esp_common esp_rom esptool_py log main micro-ecc partition_table soc spi_flash xtensa
-- Component paths: /home/felipe/esp/esp-idf/components/bootloader /home/felipe/esp/esp-idf/components/bootloader_support /home/felipe/esp/esp-idf/components/efuse /home/felipe/esp/esp-idf/components/esp32 /home/felipe/esp/esp-idf/components/esp_common /home/felipe/esp/esp-idf/components/esp_rom /home/felipe/esp/esp-idf/components/esptool_py /home/felipe/esp/esp-idf/components/log /home/felipe/esp/esp-idf/components/bootloader/subproject/main /home/felipe/esp/esp-idf/components/bootloader/subproject/components/micro-ecc /home/felipe/esp/esp-idf/components/partition_table /home/felipe/esp/esp-idf/components/soc /home/felipe/esp/esp-idf/components/spi_flash /home/felipe/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/felipe/open62541-esp32/build/bootloader
[362/922] Performing build step for 'bootloader'
[1/97] Generating project_elf_src.c
[2/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/lldesc.c.obj
[3/97] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src.c.obj
[4/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/memory_layout_utils.c.obj
[5/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/rmt_hal.c.obj
[6/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/dac_hal.c.obj
[7/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/rtc_io_hal.c.obj
[8/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/adc_hal.c.obj
[9/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_hal.c.obj
[10/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_hal_iram.c.obj
[11/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_slave_hal.c.obj
[12/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_slave_hal_iram.c.obj
[13/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/soc_include_legacy_warn.c.obj
[14/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/touch_sensor_hal.c.obj
[15/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/pcnt_hal.c.obj
[16/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/sigmadelta_hal.c.obj
[17/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/timer_hal.c.obj
[18/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/ledc_hal.c.obj
[19/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/ledc_hal_iram.c.obj
[20/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2s_hal.c.obj
[21/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2c_hal_iram.c.obj
[22/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2c_hal.c.obj
[23/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/gpio_hal.c.obj
[24/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/uart_hal.c.obj
[25/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/uart_hal_iram.c.obj
[26/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_flash_hal.c.obj
[27/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_flash_hal_iram.c.obj
[28/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/compare_set.c.obj
[29/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/can_hal.c.obj
[30/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/brownout_hal.c.obj
[31/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/mcpwm_hal.c.obj
[32/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/cpu_util.c.obj
[33/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/sdio_slave_hal.c.obj
[34/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_clk_init.c.obj
[35/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_pm.c.obj
[36/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_init.c.obj
[37/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_clk.c.obj
[38/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_time.c.obj
[39/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_sleep.c.obj
[40/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_wdt.c.obj
[41/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/touch_sensor_hal.c.obj
[42/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/soc_memory_layout.c.obj
[43/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/dac_periph.c.obj
[44/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/adc_periph.c.obj
[45/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/gpio_periph.c.obj
[46/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/rtc_io_periph.c.obj
[47/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/rtc_periph.c.obj
[48/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/sdio_slave_periph.c.obj
[49/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/sdmmc_periph.c.obj
[50/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/interrupts.c.obj
[51/97] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/sdio_slave_hal.c.obj
[52/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/i2s_periph.c.obj
[53/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/ledc_periph.c.obj
[54/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/spi_periph.c.obj
[55/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/i2c_periph.c.obj
[56/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/uart_periph.c.obj
[57/97] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/touch_sensor_periph.c.obj
[58/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[59/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[60/97] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[61/97] Linking C static library esp-idf/log/liblog.a
[62/97] Linking C static library esp-idf/soc/soc/esp32/libsoc_esp32.a
[63/97] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[64/97] Linking C static library esp-idf/soc/libsoc.a
[65/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[66/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_api.c.obj
[67/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_fields.c.obj
[68/97] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/micro-ecc/uECC.c.obj
[69/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_utility.c.obj
[70/97] Linking C static library esp-idf/micro-ecc/libmicro-ecc.a
[71/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[72/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[73/97] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[74/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock.c.obj
[75/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[76/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[77/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[78/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[79/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[80/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[81/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[82/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[83/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj
[84/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[85/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[86/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[87/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/flash_encrypt.c.obj
[88/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/secure_boot_signatures.c.obj
[89/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/secure_boot.c.obj
[90/97] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[91/97] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[92/97] Linking C static library esp-idf/bootloader_support/libbootloader_support.a
[93/97] Linking C static library esp-idf/efuse/libefuse.a
[94/97] Linking C static library esp-idf/spi_flash/libspi_flash.a
[95/97] Linking C static library esp-idf/main/libmain.a
[96/97] Linking C executable bootloader.elf
[97/97] Generating binary image from built executable
esptool.py v3.0-dev
Generated /home/felipe/open62541-esp32/build/bootloader/bootloader.bin
[868/922] Building C object esp-idf/et..._idf_ethernet_helper.dir/connect.c.obj
In file included from ../components/ethernet_helper/include/ethernet_helper.h:17,
                 from ../components/ethernet_helper/connect.c:11:
/home/felipe/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:15:2: warning: #warning "This header is deprecated, please use new network related API in esp_netif.h" [-Wcpp]
 #warning "This header is deprecated, please use new network related API in esp_netif.h"
  ^~~~~~~
In file included from ../components/ethernet_helper/connect.c:20:
/home/felipe/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:15:2: warning: #warning "This header is deprecated, please use new network related API in esp_netif.h" [-Wcpp]
 #warning "This header is deprecated, please use new network related API in esp_netif.h"
  ^~~~~~~
[911/922] Performing configure step for 'open62541_build'
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /home/felipe/.espressif/python_env/idf4.1_py2.7_env/bin/python (found version "2.7.17") 
-- Found Git: /usr/bin/git (found version "2.20.1") 
-- open62541 Version: 1.1.0-dev-248-gce2894cf
-- CMAKE_BUILD_TYPE not given; setting to 'Debug'
-- Architectures included in amalgamation: freertosLWIP
-- The selected architecture is: freertosLWIP
-- Test CC flag -std=c99
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -pipe
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wall
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wextra
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wpedantic
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Werror
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wno-static-in-inline
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wno-overlength-strings
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wno-unused-parameter
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wc++-compat
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wformat
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wformat-security
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wformat-nonliteral
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wmissing-prototypes
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wstrict-prototypes
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wredundant-decls
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wuninitialized
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Winit-self
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wcast-qual
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wstrict-overflow
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wnested-externs
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wmultichar
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -Wundef
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -fno-strict-aliasing
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -fexceptions
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -fstack-protector-strong
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -fstack-clash-protection
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Test CC flag -mcet
-- Performing Test flag_supported
-- Performing Test flag_supported - Failed
-- Test CC flag -fcf-protection
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) 
-- Found LATEX: /usr/bin/latex   
-- Configuring done
-- Generating done
-- Build files have been written to: /home/felipe/open62541-esp32/build/open62541
[912/922] Performing build step for 'open62541_build'
[1/7] Generating src_generated/open62541/statuscodes.h, src_generated/open62541/statuscodes.c
[2/7] Generating src_generated/open62541/transport_generated.c, src_generated/open62541/transport_generated.h, src_generated/open62541/transport_generated_handling.h, src_generated/open62541/transport_generated_encoding_binary.h
[3/7] Generating src_generated/open62541/nodeids.h
[4/7] Generating src_generated/open62541/types_generated.c, src_generated/open62541/types_generated.h, src_generated/open62541/types_generated_handling.h, src_generated/open62541/types_generated_encoding_binary.h
[5/7] Generating src_generated/open62541/namespace0_generated.c, src_generated/open62541/namespace0_generated.h
INFO:__main__:Preprocessing /home/felipe/open62541-esp32/components/open62541/repo/deps/ua-nodeset/Schema/Opc.Ua.NodeSet2.xml
INFO:__main__:Generating Code for Backend: open62541
INFO:__main__:NodeSet generation code successfully printed
[6/7] Generating open62541.h
Starting amalgamating file /home/felipe/open62541-esp32/build/open62541/open62541.h
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/config.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/architecture_base.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/arch/freertosLWIP/../common/ua_freeRTOS.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/arch/freertosLWIP/../common/ua_lwip.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/arch/freertosLWIP/ua_architecture.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/ms_stdint.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/architecture_definitions.h'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/statuscodes.h'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/nodeids.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/constants.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/types.h'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/types_generated.h'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/types_generated_handling.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/util.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/server.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/plugin/log.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/plugin/network.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/plugin/accesscontrol.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/plugin/pki.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/plugin/securitypolicy.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/server_pubsub.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/plugin/pubsub.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/ziptree.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/plugin/nodestore.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/server_config.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/client_config.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/client.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/client_highlevel.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/client_subscriptions.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/client_highlevel_async.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/include/open62541/plugin/accesscontrol_default.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/include/open62541/plugin/pki_default.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/include/open62541/plugin/log_stdout.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/include/open62541/plugin/nodestore_default.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/include/open62541/server_config_default.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/include/open62541/client_config_default.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/include/open62541/plugin/securitypolicy_default.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/include/open62541/plugin/securitypolicy_mbedtls_common.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/network_tcp.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/include/open62541/architecture_functions.h'...done.
The size of /home/felipe/open62541-esp32/build/open62541/open62541.h is 1837364 Bytes.
[7/7] Generating open62541.c
Starting amalgamating file /home/felipe/open62541-esp32/build/open62541/open62541.c
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/mdnsd_config.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/mdnsd/libmdnsd/1035.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/mdnsd/libmdnsd/xht.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/mdnsd/libmdnsd/sdtxt.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/mdnsd/libmdnsd/mdnsd.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/open62541_queue.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/pcg_basic.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/libc_time.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/base64.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_util_internal.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_types_encoding_binary.h'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/types_generated_encoding_binary.h'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/transport_generated.h'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/transport_generated_handling.h'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/transport_generated_encoding_binary.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_connection_internal.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_securechannel.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_workqueue.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_discovery_manager.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_timer.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_session.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_subscription.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_session_manager.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_securechannel_manager.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/pubsub/ua_pubsub_networkmessage.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/pubsub/ua_pubsub.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/pubsub/ua_pubsub_manager.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/pubsub/ua_pubsub_ns0.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_server_internal.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_services.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/client/ua_client_internal.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_server_async.h'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/namespace0_generated.h'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_server_discovery_mdns.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/mdnsd/libmdnsd/1035.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/mdnsd/libmdnsd/xht.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/mdnsd/libmdnsd/sdtxt.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/mdnsd/libmdnsd/mdnsd.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_types.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_types_encoding_binary.c'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/types_generated.c'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/transport_generated.c'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/statuscodes.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_util.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_workqueue.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_timer.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_connection.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/ua_securechannel.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_session.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_nodes.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_server.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_server_ns0.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_server_config.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_server_binary.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_server_utils.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_server_discovery.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_server_async.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_securechannel_manager.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_session_manager.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/pubsub/ua_pubsub_networkmessage.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/pubsub/ua_pubsub_writer.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/pubsub/ua_pubsub_reader.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/pubsub/ua_pubsub_manager.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/pubsub/ua_pubsub_ns0.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_services_view.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_services_method.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_services_session.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_services_attribute.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_services_discovery.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_services_subscription.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_services_monitoreditem.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_services_securechannel.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_services_nodemanagement.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_services_discovery_multicast.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/client/ua_client.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/client/ua_client_connect.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/client/ua_client_connect_async.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/client/ua_client_discovery.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/client/ua_client_highlevel.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/client/ua_client_subscriptions.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/client/ua_client_worker.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/libc_time.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/pcg_basic.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/deps/base64.c'...done.
Integrating file '/home/felipe/open62541-esp32/build/open62541/src_generated/open62541/namespace0_generated.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_discovery_manager.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_subscription.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_subscription_monitoreditem.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_subscription_datachange.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/src/server/ua_subscription_events.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/ua_log_stdout.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/ua_accesscontrol_default.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/ua_pki_default.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/ua_nodestore_ziptree.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/ua_nodestore_hashmap.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/ua_config_default.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/securityPolicies/ua_securitypolicy_none.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/securityPolicies/securitypolicy_mbedtls_common.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/securityPolicies/ua_securitypolicy_basic128rsa15.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/securityPolicies/ua_securitypolicy_basic256.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/plugins/securityPolicies/ua_securitypolicy_basic256sha256.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/arch/freertosLWIP/ua_clock.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/arch/freertosLWIP/ua_architecture_functions.c'...done.
Integrating file '/home/felipe/open62541-esp32/components/open62541/repo/arch/network_tcp.c'...done.
The size of /home/felipe/open62541-esp32/build/open62541/open62541.c is 2919355 Bytes.
[915/922] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj 
/home/felipe/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -Iconfig -I/home/felipe/esp/esp-idf/components/freertos/include/freertos -I/home/felipe/esp/esp-idf/components/newlib/platform_include -I/home/felipe/esp/esp-idf/components/freertos/include -I/home/felipe/esp/esp-idf/components/freertos/xtensa/include -I/home/felipe/esp/esp-idf/components/heap/include -I/home/felipe/esp/esp-idf/components/log/include -I/home/felipe/esp/esp-idf/components/lwip/include/apps -I/home/felipe/esp/esp-idf/components/lwip/include/apps/sntp -I/home/felipe/esp/esp-idf/components/lwip/lwip/src/include -I/home/felipe/esp/esp-idf/components/lwip/port/esp32/include -I/home/felipe/esp/esp-idf/components/lwip/port/esp32/include/arch -I/home/felipe/esp/esp-idf/components/soc/src/esp32/. -I/home/felipe/esp/esp-idf/components/soc/src/esp32/include -I/home/felipe/esp/esp-idf/components/soc/include -I/home/felipe/esp/esp-idf/components/esp_rom/include -I/home/felipe/esp/esp-idf/components/esp_common/include -I/home/felipe/esp/esp-idf/components/xtensa/include -I/home/felipe/esp/esp-idf/components/xtensa/esp32/include -I/home/felipe/esp/esp-idf/components/esp32/include -I/home/felipe/esp/esp-idf/components/driver/include -I/home/felipe/esp/esp-idf/components/driver/esp32/include -I/home/felipe/esp/esp-idf/components/esp_ringbuf/include -I/home/felipe/esp/esp-idf/components/efuse/include -I/home/felipe/esp/esp-idf/components/efuse/esp32/include -I/home/felipe/esp/esp-idf/components/esp_timer/include -I/home/felipe/esp/esp-idf/components/soc/soc/esp32/. -I/home/felipe/esp/esp-idf/components/soc/soc/esp32/include -I/home/felipe/esp/esp-idf/components/soc/soc/esp32/../include -I/home/felipe/esp/esp-idf/components/vfs/include -I/home/felipe/esp/esp-idf/components/esp_wifi/include -I/home/felipe/esp/esp-idf/components/esp_wifi/esp32/include -I/home/felipe/esp/esp-idf/components/esp_event/include -I/home/felipe/esp/esp-idf/components/esp_netif/include -I/home/felipe/esp/esp-idf/components/esp_eth/include -I/home/felipe/esp/esp-idf/components/tcpip_adapter/include -I/home/felipe/esp/esp-idf/components/app_trace/include -Iopen62541 -I../components/ethernet_helper/include -I/home/felipe/esp/esp-idf/components/nvs_flash/include -I/home/felipe/esp/esp-idf/components/spi_flash/include -I/home/felipe/esp/esp-idf/components/mbedtls/port/include -I/home/felipe/esp/esp-idf/components/mbedtls/mbedtls/include -I/home/felipe/esp/esp-idf/components/esp_adc_cal/include -mlongcalls -Wno-frame-address   -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -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 -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.1-dev-2263-g605da33c3\" -DESP_PLATFORM -DUA_ENABLE_AMALGAMATION -DUA_ARCHITECTURE_FREERTOSLWIP -DUA_ARCHITECTURE_FREERTOSLWIP_POSIX_CLOCK -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj -MF esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj   -c ../main/main.c
In file included from ../main/main.c:21:
/home/felipe/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:15:2: warning: #warning "This header is deprecated, please use new network related API in esp_netif.h" [-Wcpp]
 #warning "This header is deprecated, please use new network related API in esp_netif.h"
  ^~~~~~~
In file included from ../components/ethernet_helper/include/ethernet_helper.h:17,
                 from ../main/main.c:22:
/home/felipe/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:15:2: warning: #warning "This header is deprecated, please use new network related API in esp_netif.h" [-Wcpp]
 #warning "This header is deprecated, please use new network related API in esp_netif.h"
  ^~~~~~~
../main/main.c: In function 'opcua_task':
../main/main.c:121:14: error: #error You need to set a static IP or a custom hostname with menuconfig
             #error You need to set a static IP or a custom hostname with menuconfig
              ^~~~~
../main/main.c:128:47: error: 'str' undeclared (first use in this function); did you mean 'stat'?
     UA_ServerConfig_setCustomHostname(config, str);
                                               ^~~
                                               stat
../main/main.c:128:47: note: each undeclared identifier is reported only once for each function it appears in
../main/main.c: In function 'app_main':
../main/main.c:258:5: warning: 'tcpip_adapter_init' is deprecated [-Wdeprecated-declarations]
     tcpip_adapter_init();
     ^~~~~~~~~~~~~~~~~~
In file included from /home/felipe/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
                 from /home/felipe/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
                 from /home/felipe/esp/esp-idf/components/esp_event/include/esp_event.h:26,
                 from ../main/main.c:10:
/home/felipe/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:34:6: note: declared here
 void tcpip_adapter_init(void)  __attribute__ ((deprecated));
      ^~~~~~~~~~~~~~~~~~
[916/922] Building C object esp-idf/op...41.dir/__/__/open62541/open62541.c.obj
open62541/open62541.c:15211:9: note: #pragma message: No native IEEE 754 format detected. Use slow generic encoding.
 #pragma message "No native IEEE 754 format detected. Use slow generic encoding."
         ^~~~~~~
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

It was almost in the end. Can someone have the same issue or can help whit this?
Thanks!

@Pro
Copy link
Owner

Pro commented Feb 18, 2020

Thanks for checking out my repo.

Did you read the compiler output? It already tells you what is wrong:

../main/main.c: In function 'opcua_task': ../main/main.c:121:14: error: #error You need to set a static IP or a custom hostname with menuconfig #error You need to set a static IP or a custom hostname with menuconfig ^~~~~ ../main/main.c:128:47: error: 'str' undeclared (first use in this function); did you mean 'stat'?

See also:
https://github.com/Pro/open62541-esp32#building

(I just updated the readme with that menuconfig point)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants