error: Aborting due to Kconfig warnings

Hi Support,

i did some changes(add some folder ) in gps sample program for nRF9160DK(v1.1.0) and using  nRF SDK connect , toolchain 1.7.1, and getting error (error: Aborting due to Kconfig warnings) while building, that are below:-

  • Loaded configuration 'C:/Users/skanchan/ncs/v1.7.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig'
    Merged configuration 'C:/lab_ZIPPY/prj.conf'

    warning: NET_SOCKETS_POSIX_NAMES (defined at c:\lab_ZIPPY\build\subsys\net\lib\sockets\Kconfig:13) was assigned the
    value 'y' but got the value 'n'. Check these unsatisfied dependencies: (!POSIX_API) (=n). See
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_NET_SOCKETS_POSIX_NAMES.html and/or
    look up NET_SOCKETS_POSIX_NAMES 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 hex symbol NRF_MODEM_LIB_SHMEM_CTRL_SIZE (defined at C:\Users\skanchan\ncs\v1.7.1\nrf\lib\nrf_modem_lib\Kconfig:105) has a non-hex default NRF_MODEM_SHMEM_CTRL_SIZE (undefined)

    warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:\Users\skanchan\ncs\v1.7.1\nrf\modules\memfault\Kconfig:167) defined with type unknown

    warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:\Users\skanchan\ncs\v1.7.1\nrf\modules\memfault\Kconfig:167) defined without a prompt

    warning: the default selection MEMFAULT_HTTP_PERIODIC_UPLOAD_USE_DEDICATED_WORKQUEUE (undefined) of <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:\Users\skanchan\ncs\v1.7.1\nrf\modules\memfault\Kconfig:167) is not contained in the choice

    warning: HAS_NRFX (defined at c:\lab_ZIPPY\build\modules\hal_nordic\nrfx\Kconfig:4) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
    - SOC_SERIES_NRF91X (defined at c:\lab_ZIPPY\build\soc\arm\nordic_nrf\nrf91\Kconfig.series:6), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y)

    warning: NRFX_CLOCK (defined at c:\lab_ZIPPY\build\modules\hal_nordic\nrfx\Kconfig:14) has direct dependencies HAS_HW_NRF_CLOCK && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
    - CLOCK_CONTROL_NRF (defined at c:\lab_ZIPPY\build\drivers\clock_control\Kconfig.nrf:13), with value y, direct dependencies SOC_COMPATIBLE_NRF && CLOCK_CONTROL (value: y), and select condition !CLOCK_CONTROL_NRF_FORCE_ALT && SOC_COMPATIBLE_NRF && CLOCK_CONTROL (value: y)

    warning: NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED (defined at c:\lab_ZIPPY\build\modules\hal_nordic\nrfx\Kconfig:18) has direct dependencies NRFX_CLOCK && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
    - CLOCK_CONTROL_NRF_K32SRC_XTAL (defined at c:\lab_ZIPPY\build\drivers\clock_control\Kconfig.nrf:36), with value y, direct dependencies <choice CLOCK_CONTROL_NRF_SOURCE> (value: y), and select condition !SOC_SERIES_BSIM_NRFXX && !CLOCK_CONTROL_NRF_FORCE_ALT && <choice CLOCK_CONTROL_NRF_SOURCE> (value: y)

    warning: NRFX_DPPI (defined at c:\lab_ZIPPY\build\modules\hal_nordic\nrfx\Kconfig:26, c:\lab_ZIPPY\build\drivers\serial\Kconfig.nrfx:375) has direct dependencies (HAS_HW_NRF_DPPIC && HAS_NRFX && 0) || (HAS_HW_NRF_DPPIC && (UART_0_NRF_HW_ASYNC || UART_1_NRF_HW_ASYNC || UART_2_NRF_HW_ASYNC || UART_3_NRF_HW_ASYNC) && UART_NRFX && SERIAL) with value n, but is currently being y-selected by the following symbols:
    - UART_ENHANCED_POLL_OUT (defined at c:\lab_ZIPPY\build\drivers\serial\Kconfig.nrfx:388), with value y, direct dependencies (UART_0_ENHANCED_POLL_OUT || UART_1_ENHANCED_POLL_OUT || UART_2_ENHANCED_POLL_OUT || UART_3_ENHANCED_POLL_OUT) && UART_NRFX && SERIAL (value: y), and select condition HAS_HW_NRF_DPPIC && (UART_0_ENHANCED_POLL_OUT || UART_1_ENHANCED_POLL_OUT || UART_2_ENHANCED_POLL_OUT || UART_3_ENHANCED_POLL_OUT) && UART_NRFX && SERIAL (value: y)

    warning: NRFX_GPIOTE (defined at c:\lab_ZIPPY\build\modules\hal_nordic\nrfx\Kconfig:65) has direct dependencies HAS_HW_NRF_GPIOTE && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
    - GPIO_NRFX (defined at c:\lab_ZIPPY\build\drivers\gpio\Kconfig.nrfx:4), with value y, direct dependencies SOC_FAMILY_NRF && GPIO (value: y), and select condition SOC_FAMILY_NRF && GPIO (value: y)

    error: Aborting due to Kconfig warnings

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

    -- Configuring incomplete, errors occurred!
    FATAL ERROR: command exited with status 1: 'c:\Users\skanchan\ncs\v1.7.1\toolchain\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\Users\skanchan\ncs\v1.7.1\toolchain\opt\bin\python.exe' '-Bc:\lab_ZIPPY\build' '-Sc:\lab_ZIPPY' -GNinja -DBOARD=nrf9160dk_nrf9160_ns -DNCS_TOOLCHAIN_VERSION:STRING=NONECompose

Related