<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Error when building configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85152/error-when-building-configuration</link><description>Hi, 
 When building a project with nrfonnect , sdk-nrf v1.7.1 that worked for colleagues I got strange warnings: 
 
 and the building aborts. 
 What is very strange is that some of the files where error are reported do not exist on my file system: 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Feb 2022 14:18:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85152/error-when-building-configuration" /><item><title>RE: Error when building configuration</title><link>https://devzone.nordicsemi.com/thread/355315?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 14:18:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:913975c3-4dad-42c8-8428-26e7640238ad</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest you delete the NCS and download/install it again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error when building configuration</title><link>https://devzone.nordicsemi.com/thread/355076?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 14:48:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c398eb11-c7f8-4481-b892-5d06b977e35a</guid><dc:creator>Manuel YGUEL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It does not change anything. The warnings causing the error are still there and still cause the error.&lt;/p&gt;
&lt;p&gt;Furthermore, the missing folders are still missing.&lt;/p&gt;
&lt;p&gt;- Regards,&lt;/p&gt;
&lt;p&gt;Manuel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error when building configuration</title><link>https://devzone.nordicsemi.com/thread/355065?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 14:26:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:382df6dc-7130-43a2-9163-4f97a0bdc05b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Try this command &amp;quot;west build -p -b nrf9160dk_nrf9160_ns&amp;quot;. If it still has the issue, try to run &amp;quot;west update&amp;quot; and do it again.&lt;/p&gt;
&lt;p&gt;-Amanda&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error when building configuration</title><link>https://devzone.nordicsemi.com/thread/355050?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 13:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5c06778-db82-4a6c-9e6f-c4fb240e5d51</guid><dc:creator>Manuel YGUEL</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I tried a Hello_world sample project and get the exact same error:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: NRFX_UARTE2 (defined at /media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/build/modules/hal_nordic/nrfx/Kconfig:366) was assigned the value &amp;#39;y&amp;#39; but
got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: 0 (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_NRFX_UARTE2.html and/or look up
NRFX_UARTE2 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.


/media/manu/manuLinux/system/nordic/nRF_connect/nrf_connect_sdk/nrf/samples/spm/prj.conf:6: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol NCS_SAMPLES_DEFAULTS

/media/manu/manuLinux/system/nordic/nRF_connect/nrf_connect_sdk/nrf/samples/spm/prj.conf:8: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol IS_SPM

/media/manu/manuLinux/system/nordic/nRF_connect/nrf_connect_sdk/nrf/samples/spm/prj.conf:9: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol FW_INFO

/media/manu/manuLinux/system/nordic/nRF_connect/nrf_connect_sdk/nrf/subsys/partition_manager/partition_manager_enabled.conf:7: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol PARTITION_MANAGER_ENABLED

/media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/build/spm/zephyr/misc/generated/extra_kconfig_options.conf:2: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol SPM_SECURE_SERVICES

/media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/build/spm/zephyr/misc/generated/extra_kconfig_options.conf:3: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol SPM_SERVICE_FIND_FIRMWARE_INFO

/media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/build/spm/zephyr/misc/generated/extra_kconfig_options.conf:4: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol SPM_SERVICE_READ

/media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/build/spm/zephyr/misc/generated/extra_kconfig_options.conf:5: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol SPM_SERVICE_RNG

warning: HAS_NRFX (defined at /media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/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 /media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/build/soc/arm/nordic_nrf/nrf91/Kconfig.series:6), with value y, direct dependencies &amp;lt;choice&amp;gt; (value: y), and select condition &amp;lt;choice&amp;gt; (value: y)

warning: NRFX_CLOCK (defined at /media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/build/modules/hal_nordic/nrfx/Kconfig:14) has direct dependencies HAS_HW_NRF_CLOCK &amp;amp;&amp;amp; HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - CLOCK_CONTROL_NRF (defined at /media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/build/drivers/clock_control/Kconfig.nrf:13), with value y, direct dependencies SOC_COMPATIBLE_NRF &amp;amp;&amp;amp; CLOCK_CONTROL (value: y), and select condition !CLOCK_CONTROL_NRF_FORCE_ALT &amp;amp;&amp;amp; SOC_COMPATIBLE_NRF &amp;amp;&amp;amp; CLOCK_CONTROL (value: y)

warning: NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED (defined at /media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/build/modules/hal_nordic/nrfx/Kconfig:18) has direct dependencies NRFX_CLOCK &amp;amp;&amp;amp; HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - CLOCK_CONTROL_NRF_K32SRC_XTAL (defined at /media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/build/drivers/clock_control/Kconfig.nrf:36), with value y, direct dependencies &amp;lt;choice CLOCK_CONTROL_NRF_SOURCE&amp;gt; (value: y), and select condition !SOC_SERIES_BSIM_NRFXX &amp;amp;&amp;amp; !CLOCK_CONTROL_NRF_FORCE_ALT &amp;amp;&amp;amp; &amp;lt;choice CLOCK_CONTROL_NRF_SOURCE&amp;gt; (value: y)

error: Aborting due to Kconfig warnings

CMake Error at /home/manu/manuLinux/system/nordic/nRF_connect/nrf_connect_sdk/zephyr/cmake/kconfig.cmake:268 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /home/manu/manuLinux/system/nordic/nRF_connect/nrf_connect_sdk/zephyr/cmake/app/boilerplate.cmake:554 (include)
  /home/manu/manuLinux/system/nordic/nRF_connect/nrf_connect_sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  /home/manu/manuLinux/system/nordic/nRF_connect/nrf_connect_sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  /media/manu/manuLinux/code/sources.yguel/straTagGem/stratg/nordic_nrf/nrf9160/hello_world_9160/hello_world/build/CMakeLists.txt:8 (find_package)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I also check and the building system is also looking for non existent folders:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;in build/modules directory there is only a nrf repository (no hal_nordic directory)&lt;/li&gt;
&lt;li&gt;soc/arm/nordic_nrf/nrf91/Kconfig.series does not exist (directory build/soc does not exist)&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error when building configuration</title><link>https://devzone.nordicsemi.com/thread/355043?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 13:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0030e9b-6789-4e50-b839-26251a303ddc</guid><dc:creator>Manuel YGUEL</dc:creator><description>&lt;p&gt;I try to delete the build folder and build again (it does not solve the problem).&lt;br /&gt;I was trying to build our own application.&lt;/p&gt;
&lt;p&gt;We are using the nRF9160DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error when building configuration</title><link>https://devzone.nordicsemi.com/thread/355011?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 12:03:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b25c10ea-7c36-4440-8b31-c3cae328cac2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]What is very strange is that some of the files where error are reported do not exist on my file system:[/quote]
&lt;p&gt;Try to delete the build folder and build again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you building the sample (which one) or your application?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using nRF9160DK or a custom board?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>