Skip to content

Build error on NCS v2.8.0 #2

@narangmayank

Description

@narangmayank

Getting the following error while building,

Loading Zephyr default modules (Zephyr base).
-- Application: C:/Users/CDL/Projects/mqtt_over_wifi_nrf7002DK
-- CMake version: 3.21.0
-- Using NCS Toolchain 2.8.20241106.194216054162 for building. (C:/ncs/toolchains/2d382dcd92/cmake)
-- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf7002dk, qualifiers: nrf5340/cpuapp
-- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")

-- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp.dts
-- Generated zephyr.dts: C:/Users/CDL/Projects/mqtt_over_wifi_nrf7002DK/build/mqtt_over_wifi_nrf7002DK/zephyr/zephyr.dts

-- Generated devicetree_generated.h: C:/Users/CDL/Projects/mqtt_over_wifi_nrf7002DK/build/mqtt_over_wifi_nrf7002DK/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/Users/CDL/Projects/mqtt_over_wifi_nrf7002DK/build/mqtt_over_wifi_nrf7002DK/zephyr/dts.cmake

warning: Deprecated symbol BOARD_ENABLE_CPUNET is enabled.


warning: Deprecated symbol POSIX_CLOCK is enabled.


warning: Deprecated symbol NET_SOCKETS_POSIX_NAMES is enabled.


warning: Experimental symbol WIFI_CREDENTIALS is enabled.


warning: Experimental symbol NET_SOCKETS_SERVICE is enabled.


Parsing C:/Users/CDL/Projects/mqtt_over_wifi_nrf7002DK/Kconfig
C:/Users/CDL/Projects/mqtt_over_wifi_nrf7002DK/prj.conf:7: warning: attempt to assign the value 'y' to the undefined symbol WIFI_NRF700XLoaded configuration 'C:/ncs/v2.8.0/zephyr/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_defconfig'
Merged configuration 'C:/Users/CDL/Projects/mqtt_over_wifi_nrf7002DK/prj.conf'
Merged configuration 'C:/Users/CDL/Projects/mqtt_over_wifi_nrf7002DK/build/mqtt_over_wifi_nrf7002DK/zephyr/.config.sysbuild'


C:/Users/CDL/Projects/mqtt_over_wifi_nrf7002DK/prj.conf:10: warning: attempt to assign the value 'y' to the undefined symbol WPA_SUPP

error: Aborting due to Kconfig warnings

CMake Error at C:/ncs/v2.8.0/zephyr/cmake/modules/kconfig.cmake:396 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/v2.8.0/nrf/cmake/modules/kconfig.cmake:29 (include)
  C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:9 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: mqtt_over_wifi_nrf7002DK

  Location: C:/Users/CDL/Projects/mqtt_over_wifi_nrf7002DK
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:20 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  C:/ncs/v2.8.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/Users/CDL/Projects/mqtt_over_wifi_nrf7002DK/build/CMakeFiles/CMakeOutput.log".
←[91mFATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe '-BC:\users\cdl\Projects\mqtt_over_wifi_nrf7002DK\build' -GNinja -DBOARD=nrf7002dk/nrf5340/cpuapp '-SC:\ncs\v2.8.0\zephyr\share\sysbuild' '-DAPP_DIR:PATH=C:\users\cdl\Projects\mqtt_over_wifi_nrf7002DK'

Platform: Windows 11
NCS Version: v2.8.0
Command: west build -b nrf7002dk/nrf5340/cpuapp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions