Aborting due to Kconfig warnings

I tried to open a program created by else one. The Output is shown below. I could not understand: Due to which warning abort ? There are many warnings. 

Creating solution firmware.emProject
C:/Users/AONE/ncs/v1.7.1/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf9160dk_nrf9160_ns -DBOARD_DIR=C:\Users\AONE\ncs\v1.7.1\zephyr\boards\arm\nrf9160dk_nrf9160 -BG:\segger_projects\new9160\firmware\firmware\build_nrf9160dk_nrf9160_ns -SG:\segger_projects\new9160\firmware\firmware -DNCS_TOOLCHAIN_VERSION=1.7.1 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\Users\AONE\ncs\v1.7.1\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py
-- Application: G:/segger_projects/new9160/firmware/firmware
-- Zephyr version: 2.6.99 (C:/Users/AONE/ncs/v1.7.1/zephyr), build: v2.6.99-ncs1-1
-- Found Python3: C:/Users/AONE/ncs/v1.7.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
-- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
-- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
-- Cache files will be written to: C:/Users/AONE/ncs/v1.7.1/zephyr/.cache
-- Found dtc: C:/Users/AONE/ncs/v1.7.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (C:/Users/AONE/ncs/v1.7.1/toolchain/opt)
-- Found BOARD.dts: C:/Users/AONE/ncs/v1.7.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
-- Found devicetree overlay: G:/segger_projects/new9160/firmware/firmware/boards/nrf9160dk_nrf9160_ns.overlay
-- Generated zephyr.dts: G:/segger_projects/new9160/firmware/firmware/build_nrf9160dk_nrf9160_ns/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: G:/segger_projects/new9160/firmware/firmware/build_nrf9160dk_nrf9160_ns/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: G:/segger_projects/new9160/firmware/firmware/build_nrf9160dk_nrf9160_ns/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: G:/segger_projects/new9160/firmware/firmware/build_nrf9160dk_nrf9160_ns/zephyr/dts.cmake
Parsing G:/segger_projects/new9160/firmware/firmware/Kconfig
Loaded configuration 'C:/Users/AONE/ncs/v1.7.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig'
Merged configuration 'G:/segger_projects/new9160/firmware/firmware/prj.conf'
Merged configuration 'G:/segger_projects/new9160/firmware/firmware/boards/nrf9160dk_nrf9160_ns.conf'
-- Configuring incomplete, errors occurred!
Including boilerplate (Zephyr base): C:/Users/AONE/ncs/v1.7.1/zephyr/cmake/app/boilerplate.cmake
-- Using NCS Toolchain 1.7.1 for building. (C:/Users/AONE/ncs/v1.7.1/toolchain/cmake)

warning: NRF_CLOUD_MQTT (defined at
C:/Users/AONE/ncs/v1.7.1/nrf\subsys\net\lib\nrf_cloud\Kconfig.nrf_cloud_mqtt:6) was assigned the
value 'y' but got the value 'n'. Check these unsatisfied dependencies: NRF_CLOUD (=n). See
docs.zephyrproject.org/.../CONFIG_NRF_CLOUD_MQTT.html and/or look up
NRF_CLOUD_MQTT in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


warning: AT_MONITOR_HEAP_SIZE (defined at C:/Users/AONE/ncs/v1.7.1/nrf\lib\at_monitor/Kconfig:17)
was assigned the value '1024' but got the value ''. Check these unsatisfied dependencies: AT_MONITOR
(=n). See docs.zephyrproject.org/.../CONFIG_AT_MONITOR_HEAP_SIZE.html
and/or look up AT_MONITOR_HEAP_SIZE in the menuconfig/guiconfig interface. The Application
Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
the manual might be helpful too.


warning: the int symbol GNSS_MODULE_ELEVATION_MASK (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.gnss_module:47) has a non-int default NRF_CLOUD_AGPS_ELEVATION_MASK (undefined)

warning: <choice NRF_CLOUD_SEND_SOCKET> (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.cloud_module:31) defined with type unknown

warning: <choice NRF_CLOUD_SEND_SOCKET> (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.cloud_module:31) defined without a prompt

warning: the default selection NRF_CLOUD_SEND_TIMEOUT (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\net\lib\nrf_cloud\Kconfig.nrf_cloud_mqtt:104) of <choice NRF_CLOUD_SEND_SOCKET> (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.cloud_module:31) is not contained in the choice

warning: EVENT_MANAGER (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\event_manager/Kconfig:7) has direct dependencies LINKER_ORPHAN_SECTION_PLACE with value n, but is currently being y-selected by the following symbols:
- CAF (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\caf/Kconfig:7), with value y, direct dependencies y (value: y)

warning: NRF_CLOUD_CELL_POS (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\net\lib\nrf_cloud\Kconfig.nrf_cloud_cell_pos:6) has direct dependencies MODEM_INFO && MODEM_INFO_ADD_NETWORK && NRF_CLOUD with value n, but is currently being y-selected by the following symbols:
- CLOUD_CODEC_NRF_CLOUD (defined at G:/segger_projects/new9160/firmware/firmware\src/cloud/cloud_codec/Kconfig:19), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y)

error: Aborting due to Kconfig warnings

CMake Error at C:/Users/AONE/ncs/v1.7.1/zephyr/cmake/kconfig.cmake:268 (message):
command failed with return code: 1
Call Stack (most recent call first):
C:/Users/AONE/ncs/v1.7.1/zephyr/cmake/app/boilerplate.cmake:554 (include)
C:/Users/AONE/ncs/v1.7.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
C:/Users/AONE/ncs/v1.7.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
CMakeLists.txt:9 (find_package)

error: cmake failed
create_nordic_project.py failed (1)

Parents
  • Hello Gulzar,

    I could not understand: Due to which warning abort ? There are many warnings. 

    The warnings you have to check are all the following:

    warning: NRF_CLOUD_MQTT (defined at
    C:/Users/AONE/ncs/v1.7.1/nrf\subsys\net\lib\nrf_cloud\Kconfig.nrf_cloud_mqtt:6) was assigned the
    value 'y' but got the value 'n'. Check these unsatisfied dependencies: NRF_CLOUD (=n). See
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_NRF_CLOUD_MQTT.html and/or look up
    NRF_CLOUD_MQTT in the menuconfig/guiconfig interface. The Application Development Primer, Setting
    Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
    too.
    
    
    warning: AT_MONITOR_HEAP_SIZE (defined at C:/Users/AONE/ncs/v1.7.1/nrf\lib\at_monitor/Kconfig:17)
    was assigned the value '1024' but got the value ''. Check these unsatisfied dependencies: AT_MONITOR
    (=n). See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_AT_MONITOR_HEAP_SIZE.html
    and/or look up AT_MONITOR_HEAP_SIZE in the menuconfig/guiconfig interface. The Application
    Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
    the manual might be helpful too.
    
    
    warning: the int symbol GNSS_MODULE_ELEVATION_MASK (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.gnss_module:47) has a non-int default NRF_CLOUD_AGPS_ELEVATION_MASK (undefined)
    
    warning: <choice NRF_CLOUD_SEND_SOCKET> (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.cloud_module:31) defined with type unknown
    
    warning: <choice NRF_CLOUD_SEND_SOCKET> (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.cloud_module:31) defined without a prompt
    
    warning: the default selection NRF_CLOUD_SEND_TIMEOUT (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\net\lib\nrf_cloud\Kconfig.nrf_cloud_mqtt:104) of <choice NRF_CLOUD_SEND_SOCKET> (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.cloud_module:31) is not contained in the choice
    
    warning: EVENT_MANAGER (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\event_manager/Kconfig:7) has direct dependencies LINKER_ORPHAN_SECTION_PLACE with value n, but is currently being y-selected by the following symbols:
    - CAF (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\caf/Kconfig:7), with value y, direct dependencies y (value: y)
    
    warning: NRF_CLOUD_CELL_POS (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\net\lib\nrf_cloud\Kconfig.nrf_cloud_cell_pos:6) has direct dependencies MODEM_INFO && MODEM_INFO_ADD_NETWORK && NRF_CLOUD with value n, but is currently being y-selected by the following symbols:
    - CLOUD_CODEC_NRF_CLOUD (defined at G:/segger_projects/new9160/firmware/firmware\src/cloud/cloud_codec/Kconfig:19), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y)
    
    error: Aborting due to Kconfig warnings

    They probably appear due to missing dependencies, which you can check by searching them in this list.

    I tried to open a program created by else one.

    The one creating the application, did he use the same SDK version? Did he get the same warnings during compilation?

    Regards,

    Markus

Reply
  • Hello Gulzar,

    I could not understand: Due to which warning abort ? There are many warnings. 

    The warnings you have to check are all the following:

    warning: NRF_CLOUD_MQTT (defined at
    C:/Users/AONE/ncs/v1.7.1/nrf\subsys\net\lib\nrf_cloud\Kconfig.nrf_cloud_mqtt:6) was assigned the
    value 'y' but got the value 'n'. Check these unsatisfied dependencies: NRF_CLOUD (=n). See
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_NRF_CLOUD_MQTT.html and/or look up
    NRF_CLOUD_MQTT in the menuconfig/guiconfig interface. The Application Development Primer, Setting
    Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
    too.
    
    
    warning: AT_MONITOR_HEAP_SIZE (defined at C:/Users/AONE/ncs/v1.7.1/nrf\lib\at_monitor/Kconfig:17)
    was assigned the value '1024' but got the value ''. Check these unsatisfied dependencies: AT_MONITOR
    (=n). See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_AT_MONITOR_HEAP_SIZE.html
    and/or look up AT_MONITOR_HEAP_SIZE in the menuconfig/guiconfig interface. The Application
    Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
    the manual might be helpful too.
    
    
    warning: the int symbol GNSS_MODULE_ELEVATION_MASK (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.gnss_module:47) has a non-int default NRF_CLOUD_AGPS_ELEVATION_MASK (undefined)
    
    warning: <choice NRF_CLOUD_SEND_SOCKET> (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.cloud_module:31) defined with type unknown
    
    warning: <choice NRF_CLOUD_SEND_SOCKET> (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.cloud_module:31) defined without a prompt
    
    warning: the default selection NRF_CLOUD_SEND_TIMEOUT (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\net\lib\nrf_cloud\Kconfig.nrf_cloud_mqtt:104) of <choice NRF_CLOUD_SEND_SOCKET> (defined at G:/segger_projects/new9160/firmware/firmware\src/modules/Kconfig.cloud_module:31) is not contained in the choice
    
    warning: EVENT_MANAGER (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\event_manager/Kconfig:7) has direct dependencies LINKER_ORPHAN_SECTION_PLACE with value n, but is currently being y-selected by the following symbols:
    - CAF (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\caf/Kconfig:7), with value y, direct dependencies y (value: y)
    
    warning: NRF_CLOUD_CELL_POS (defined at C:/Users/AONE/ncs/v1.7.1/nrf\subsys\net\lib\nrf_cloud\Kconfig.nrf_cloud_cell_pos:6) has direct dependencies MODEM_INFO && MODEM_INFO_ADD_NETWORK && NRF_CLOUD with value n, but is currently being y-selected by the following symbols:
    - CLOUD_CODEC_NRF_CLOUD (defined at G:/segger_projects/new9160/firmware/firmware\src/cloud/cloud_codec/Kconfig:19), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y)
    
    error: Aborting due to Kconfig warnings

    They probably appear due to missing dependencies, which you can check by searching them in this list.

    I tried to open a program created by else one.

    The one creating the application, did he use the same SDK version? Did he get the same warnings during compilation?

    Regards,

    Markus

Children
No Data
Related