Open igorLjubinGorenjeCom opened 4 months ago
What is the error?
As seen in the full.log file (attached), containing clean, set-target, and build commands error is:
[1544/1801] Performing build step for 'chip_gn'
FAILED: esp-idf/chip/chip_gn-prefix/src/chip_gn-stamp/chip_gn-build esp-idf/chip/lib/libCHIP.a /home/igor/workspace/esp/matter/ui-esp32/build/esp-idf/chip/chip_gn-prefix/src/chip_gn-stamp/chip_gn-build /home/igor/workspace/esp/matter/ui-esp32/build/esp-idf/chip/lib/libCHIP.a
cd /home/igor/workspace/esp/matter/ui-esp32/build/esp-idf/chip && ninja esp32
[204/474] c++ obj/third_party/connectedhomeip/src/platform/ESP32/bluedroid/ESP32.BLEManagerImpl.cpp.o
FAILED: obj/third_party/connectedhomeip/src/platform/ESP32/bluedroid/ESP32.BLEManagerImpl.cpp.o
/home/igor/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++ -MMD -MF obj/third_party/connectedhomeip/src/platform/ESP32/bluedroid/ESP32.BLEManagerImpl.cpp.o.d -Wconversion -Os -g2 -fno-common -ffunction-sections -fdata-sections -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Werror -Wstack-usage=8192 -Wextra -Wshadow -Wunreachable-code -Wvla -Wformat -Wformat-nonliteral -Wformat-security -Wno-deprecated-declarations -Wno-missing-field-initializers -Wno-unknown-warning-option -Wno-unused-parameter -Wno-unused -Wno-cast-function-type -Wno-psabi -Wno-maybe-uninitialized -fdiagnostics-color -fno-strict-aliasing -fmacro-prefix-map=../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/= -std=gnu++17 -fno-rtti -Wnon-virtual-dtor -DESP_PLATFORM -DLV_CONF_INCLUDE_SIMPLE -DLV_KCONFIG_IGNORE -DLV_USE_CHART=0 -DLV_USE_GIF=1 -DLV_USE_KEYBOARD=0 -DLV_USE_PERF_MONITOR=0 -DLV_USE_SNAPSHOT=1 -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -I/home/igor/workspace/esp/matter/ui-esp32/build/config -isystem/home/igor/esp/esp-idf/components/freertos/include/freertos -isystem/home/igor/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include/freertos -isystem/home/igor/esp/esp-idf/components/newlib/platform_include -isystem/home/igor/esp/esp-idf/components/freertos/config/include -isystem/home/igor/esp/esp-idf/components/freertos/config/include/freertos -isystem/home/igor/esp/esp-idf/components/freertos/config/xtensa/include -isystem/home/igor/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include -isystem/home/igor/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -isystem/home/igor/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos -isystem/home/igor/esp/esp-idf/components/freertos/esp_additions/include -isystem/home/igor/esp/esp-idf/components/esp_hw_support/include -isystem/home/igor/esp/esp-idf/components/esp_hw_support/include/soc -isystem/home/igor/esp/esp-idf/components/esp_hw_support/include/soc/esp32s3 -isystem/home/igor/esp/esp-idf/components/esp_hw_support/port/esp32s3/. -isystem/home/igor/esp/esp-idf/components/heap/include -isystem/home/igor/esp/esp-idf/components/log/include -isystem/home/igor/esp/esp-idf/components/soc/include -isystem/home/igor/esp/esp-idf/components/soc/esp32s3 -isystem/home/igor/esp/esp-idf/components/soc/esp32s3/include -isystem/home/igor/esp/esp-idf/components/hal/platform_port/include -isystem/home/igor/esp/esp-idf/components/hal/esp32s3/include -isystem/home/igor/esp/esp-idf/components/hal/include -isystem/home/igor/esp/esp-idf/components/esp_rom/include -isystem/home/igor/esp/esp-idf/components/esp_rom/include/esp32s3 -isystem/home/igor/esp/esp-idf/components/esp_rom/esp32s3 -isystem/home/igor/esp/esp-idf/components/esp_common/include -isystem/home/igor/esp/esp-idf/components/esp_system/include -isystem/home/igor/esp/esp-idf/components/esp_system/port/soc -isystem/home/igor/esp/esp-idf/components/esp_system/port/include/private -isystem/home/igor/esp/esp-idf/components/xtensa/esp32s3/include -isystem/home/igor/esp/esp-idf/components/xtensa/include -isystem/home/igor/esp/esp-idf/components/xtensa/deprecated_include -isystem/home/igor/esp/esp-idf/components/esp_timer/include -isystem/home/igor/esp/esp-idf/components/lwip/include -isystem/home/igor/esp/esp-idf/components/lwip/include/apps -isystem/home/igor/esp/esp-idf/components/lwip/include/apps/sntp -isystem/home/igor/esp/esp-idf/components/lwip/lwip/src/include -isystem/home/igor/esp/esp-idf/components/lwip/port/include -isystem/home/igor/esp/esp-idf/components/lwip/port/freertos/include -isystem/home/igor/esp/esp-idf/components/lwip/port/esp32xx/include -isystem/home/igor/esp/esp-idf/components/lwip/port/esp32xx/include/arch -isystem/home/igor/esp/esp-idf/components/lwip/port/esp32xx/include/sys -I/home/igor/workspace/esp/matter/ui-esp32/managed_components/espressif__esp_encrypted_img/include -I/home/igor/workspace/esp/matter/ui-esp32/managed_components/espressif__esp_insights/include -I/home/igor/workspace/esp/matter/ui-esp32/managed_components/espressif__esp_diagnostics/include -isystem/home/igor/esp/esp-idf/components/esp_event/include -isystem/home/igor/esp/esp-idf/components/bt/include/esp32c3/include -isystem/home/igor/esp/esp-idf/components/bt/common/osi/include -isystem/home/igor/esp/esp-idf/components/bt/common/api/include/api -isystem/home/igor/esp/esp-idf/components/bt/common/btc/profile/esp/blufi/include -isystem/home/igor/esp/esp-idf/components/bt/common/btc/profile/esp/include -isystem/home/igor/esp/esp-idf/components/bt/host/bluedroid/api/include/api -isystem/home/igor/esp/esp-idf/components/bt/porting/ext/tinycrypt/include -isystem/home/igor/esp/esp-idf/components/esp_wifi/include -isystem/home/igor/esp/esp-idf/components/esp_wifi/wifi_apps/include -isystem/home/igor/esp/esp-idf/components/esp_phy/include -isystem/home/igor/esp/esp-idf/components/esp_phy/esp32s3/include -isystem/home/igor/esp/esp-idf/components/esp_netif/include -isystem/home/igor/esp/esp-idf/components/mbedtls/port/include -isystem/home/igor/esp/esp-idf/components/mbedtls/mbedtls/include -isystem/home/igor/esp/esp-idf/components/mbedtls/mbedtls/library -isystem/home/igor/esp/esp-idf/components/mbedtls/esp_crt_bundle/include -isystem/home/igor/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -isystem/home/igor/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m -isystem/home/igor/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -isystem/home/igor/esp/esp-idf/components/fatfs/diskio -isystem/home/igor/esp/esp-idf/components/fatfs/src -isystem/home/igor/esp/esp-idf/components/fatfs/vfs -isystem/home/igor/esp/esp-idf/components/wear_levelling/include -isystem/home/igor/esp/esp-idf/components/esp_partition/include -isystem/home/igor/esp/esp-idf/components/sdmmc/include -isystem/home/igor/esp/esp-idf/components/driver/include -isystem/home/igor/esp/esp-idf/components/driver/deprecated -isystem/home/igor/esp/esp-idf/components/driver/analog_comparator/include -isystem/home/igor/esp/esp-idf/components/driver/dac/include -isystem/home/igor/esp/esp-idf/components/driver/gpio/include -isystem/home/igor/esp/esp-idf/components/driver/gptimer/include -isystem/home/igor/esp/esp-idf/components/driver/i2c/include -isystem/home/igor/esp/esp-idf/components/driver/i2s/include -isystem/home/igor/esp/esp-idf/components/driver/ledc/include -isystem/home/igor/esp/esp-idf/components/driver/mcpwm/include -isystem/home/igor/esp/esp-idf/components/driver/parlio/include -isystem/home/igor/esp/esp-idf/components/driver/pcnt/include -isystem/home/igor/esp/esp-idf/components/driver/rmt/include -isystem/home/igor/esp/esp-idf/components/driver/sdio_slave/include -isystem/home/igor/esp/esp-idf/components/driver/sdmmc/include -isystem/home/igor/esp/esp-idf/components/driver/sigma_delta/include -isystem/home/igor/esp/esp-idf/components/driver/spi/include -isystem/home/igor/esp/esp-idf/components/driver/temperature_sensor/include -isystem/home/igor/esp/esp-idf/components/driver/touch_sensor/include -isystem/home/igor/esp/esp-idf/components/driver/twai/include -isystem/home/igor/esp/esp-idf/components/driver/uart/include -isystem/home/igor/esp/esp-idf/components/driver/usb_serial_jtag/include -isystem/home/igor/esp/esp-idf/components/driver/touch_sensor/esp32s3/include -isystem/home/igor/esp/esp-idf/components/esp_pm/include -isystem/home/igor/esp/esp-idf/components/esp_ringbuf/include -isystem/home/igor/esp/esp-idf/components/app_update/include -isystem/home/igor/esp/esp-idf/components/bootloader_support/include -isystem/home/igor/esp/esp-idf/components/bootloader_support/bootloader_flash/include -isystem/home/igor/esp/esp-idf/components/esp_app_format/include -isystem/home/igor/esp/esp-idf/components/esp_bootloader_format/include -isystem/home/igor/esp/esp-idf/components/console -isystem/home/igor/esp/esp-idf/components/vfs/include -isystem/home/igor/esp/esp-idf/components/nvs_flash/include -isystem/home/igor/esp/esp-idf/components/spi_flash/include -I/home/igor/workspace/esp/matter/ui-esp32/managed_components/espressif__mdns/include -I/home/igor/workspace/esp/matter/ui-esp32/managed_components/espressif__esp_secure_cert_mgr/include -isystem/home/igor/esp/esp-idf/components/efuse/include -isystem/home/igor/esp/esp-idf/components/efuse/esp32s3/include -mlongcalls -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fno-shrink-wrap -fmacro-prefix-map=/home/igor/workspace/esp/matter/ui-esp32=. -fmacro-prefix-map=/home/igor/esp/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -Wno-error=uninitialized -Wno-error=maybe-uninitialized -Wno-missing-field-initializers -Wno-error=array-bounds -Wno-write-strings -Wno-format-nonliteral -Wno-format-security -std=gnu++2b -fno-exceptions -fno-rtti -std=gnu++17 -Os -DCHIP_HAVE_CONFIG_H -I/home/igor/workspace/esp/matter/ui-esp32/build/config -DCHIP_CONFIG_SOFTWARE_VERSION_NUMBER=1 -DNDEBUG -DCHIP_HAVE_CONFIG_H=1 -I../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include -I../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src -Igen/include -I../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/zzz_generated/app-common -I../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/third_party/nlassert/repo/include -I../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/third_party/nlio/repo/include -c ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp -o obj/third_party/connectedhomeip/src/platform/ESP32/bluedroid/ESP32.BLEManagerImpl.cpp.o
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:155:34: error: 'constexpr const chip::System::Clock::Timeout chip::DeviceLayer::Internal::BLEManagerImpl::kFastAdvertiseTimeout' is not a static data member of 'class chip::DeviceLayer::Internal::BLEManagerImpl'
155 | constexpr System::Clock::Timeout BLEManagerImpl::kFastAdvertiseTimeout;
| ^~~~~~~~~~~~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:155:34: error: uninitialized 'const chip::DeviceLayer::Internal::BLEManagerImpl::kFastAdvertiseTimeout' [-fpermissive]
In file included from /home/igor/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/include/c++/13.2.0/chrono:41,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/system/SystemClock.h:43,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/system/SystemLayer.h:36,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/lib/core/CHIPCore.h:30,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/CHIPDeviceLayer.h:25,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/internal/CHIPDeviceLayerInternal.h:22,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:26:
/home/igor/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/include/c++/13.2.0/bits/chrono.h:523:13: note: 'const chip::System::Clock::Timeout' {aka 'const class std::chrono::duration<long unsigned int, std::ratio<1, 1000> >'} has no user-provided default constructor
523 | class duration
| ^~~~~~~~
/home/igor/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/include/c++/13.2.0/bits/chrono.h:575:19: note: constructor is not user-provided because it is explicitly defaulted in the class body
575 | constexpr duration() = default;
| ^~~~~~~~
/home/igor/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/include/c++/13.2.0/bits/chrono.h:696:13: note: and the implicitly-defined constructor does not initialize 'std::chrono::duration<long unsigned int, std::ratio<1, 1000> >::rep std::chrono::duration<long unsigned int, std::ratio<1, 1000> >::__r'
696 | rep __r;
| ^~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp: In member function 'CHIP_ERROR chip::DeviceLayer::Internal::BLEManagerImpl::_SetAdvertisingEnabled(bool)':
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:246:9: error: 'mAdvertiseStartTime' was not declared in this scope
246 | mAdvertiseStartTime = System::SystemClock().GetMonotonicTimestamp();
| ^~~~~~~~~~~~~~~~~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:246:9: note: maximum limit of 1000 namespaces searched for 'mAdvertiseStartTime'
In file included from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/system/SystemLayer.h:33:
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:247:68: error: 'kFastAdvertiseTimeout' was not declared in this scope
247 | ReturnErrorOnFailure(DeviceLayer::SystemLayer().StartTimer(kFastAdvertiseTimeout, HandleFastAdvertisementTimer, this));
| ^~~~~~~~~~~~~~~~~~~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/lib/support/CodeUtils.h:175:23: note: in definition of macro 'ReturnErrorOnFailure'
175 | auto __err = (expr); \
| ^~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:247:68: note: maximum limit of 1000 namespaces searched for 'kFastAdvertiseTimeout'
247 | ReturnErrorOnFailure(DeviceLayer::SystemLayer().StartTimer(kFastAdvertiseTimeout, HandleFastAdvertisementTimer, this));
| ^~~~~~~~~~~~~~~~~~~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/lib/support/CodeUtils.h:175:23: note: in definition of macro 'ReturnErrorOnFailure'
175 | auto __err = (expr); \
| ^~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:247:91: error: 'HandleFastAdvertisementTimer' was not declared in this scope
247 | ReturnErrorOnFailure(DeviceLayer::SystemLayer().StartTimer(kFastAdvertiseTimeout, HandleFastAdvertisementTimer, this));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/lib/support/CodeUtils.h:175:23: note: in definition of macro 'ReturnErrorOnFailure'
175 | auto __err = (expr); \
| ^~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:247:91: note: maximum limit of 1000 namespaces searched for 'HandleFastAdvertisementTimer'
247 | ReturnErrorOnFailure(DeviceLayer::SystemLayer().StartTimer(kFastAdvertiseTimeout, HandleFastAdvertisementTimer, this));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/lib/support/CodeUtils.h:175:23: note: in definition of macro 'ReturnErrorOnFailure'
175 | auto __err = (expr); \
| ^~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp: At global scope:
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:257:6: error: no declaration matches 'void chip::DeviceLayer::Internal::BLEManagerImpl::HandleFastAdvertisementTimer(chip::System::Layer*, void*)'
257 | void BLEManagerImpl::HandleFastAdvertisementTimer(System::Layer * systemLayer, void * context)
| ^~~~~~~~~~~~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:257:6: note: no functions named 'void chip::DeviceLayer::Internal::BLEManagerImpl::HandleFastAdvertisementTimer(chip::System::Layer*, void*)'
In file included from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/internal/BLEManager.h:106,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/internal/GenericConnectivityManagerImpl_BLE.h:27,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/ConnectivityManagerImpl.h:45,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/ConnectivityManager.h:308,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/ConfigurationManagerImpl.h:28,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/ConfigurationManager.h:231,
from ../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/CHIPDeviceLayer.h:27:
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/BLEManagerImpl.h:125:7: note: 'class chip::DeviceLayer::Internal::BLEManagerImpl' defined here
125 | class BLEManagerImpl final : public BLEManager,
| ^~~~~~~~~~~~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:262:6: error: no declaration matches 'void chip::DeviceLayer::Internal::BLEManagerImpl::HandleFastAdvertisementTimer()'
262 | void BLEManagerImpl::HandleFastAdvertisementTimer()
| ^~~~~~~~~~~~~~
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/bluedroid/BLEManagerImpl.cpp:262:6: note: no functions named 'void chip::DeviceLayer::Internal::BLEManagerImpl::HandleFastAdvertisementTimer()'
../../../../../../../esp/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/BLEManagerImpl.h:125:7: note: 'class chip::DeviceLayer::Internal::BLEManagerImpl' defined here
125 | class BLEManagerImpl final : public BLEManager,
| ^~~~~~~~~~~~~~
cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics
[217/474] c++ obj/third_party/connectedhomeip/zzz_generated/app-common/app-common/zap-generated/libClusterObjects.cluster-objects.cpp.o
ninja: build stopped: subcommand failed.
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/igor/workspace/esp/matter/ui-esp32/build/log/idf_py_stderr_output_31119 and /home/igor/workspace/esp/matter/ui-esp32/build/log/idf_py_stdout_output_31119
Hi @igorLjubinGorenjeCom,I was able to reproduce this issue, and we are currently working on it.
Would it be possible to provide us with any time frame on this?
@igorLjubinGorenjeCom , we have been able to resolve the build issue ,but we are encountering few bluedroid specific issues after flashing the application. We will get back to you once the issue is resolved.
@igorLjubinGorenjeCom , can you please apply the patch below to resolve your issue.
Please apply this patch at esp-matter/connectedhomeip/connectedhomeip path.
Along with the patch please set the two options usingidf.py menuconfig
:
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
@igorLjubinGorenjeCom Can you please confirm if the patch works fine?
Dear @dhrishi the code is building and operational. Thank you!
Could I be building this code in an docker environment (I would like to have hardware in the loop testing)?
@igorLjubinGorenjeCom , you can apply this patch in a docker environment as well.
You can run the application in a docker environment. While running the docker image, please provide--device=<port>
option to provide port access to the docker image.
Describe the bug Light example not building on Ubuntu 22.04, ESP-Matter 1.2 and ESP-IDF 5.2.1
Environment
Any additional details ...