<?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>Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83428/cannot-configure-the-build-system-to-include-x509-functions</link><description>Hi, 
 
 I&amp;#39;m working on a simple app that is supposed to generate a CSR and have it signed by a web server. The problem is, I can&amp;#39;t even get zephyr to build the components I need, as there seems to be some sort of circular dependency in Kconfig. 
 When</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jan 2022 11:28:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83428/cannot-configure-the-build-system-to-include-x509-functions" /><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347999?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 11:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e851adfe-158c-42ae-bb62-5a8940f396b2</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Great to hear that it builds without errors now!&lt;/p&gt;
&lt;p&gt;For the Build and Configuration System as a whole, you can look at this guide: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/build/index.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/build/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For West specifically, this guide should be useful: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/west/index.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/west/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For Ninja, you should probably look at the Ninja manual: &lt;a href="https://ninja-build.org/manual.html"&gt;https://ninja-build.org/manual.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347827?ContentTypeID=1</link><pubDate>Fri, 14 Jan 2022 16:33:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68bf61b1-ca25-4860-9da7-9046a03cc6c2</guid><dc:creator>randomdude</dc:creator><description>&lt;p&gt;I now managed to build my project without errors, but only after I manually configured all the X509/MBEDTLS stuff in my prj.conf.&lt;/p&gt;
&lt;p&gt;You see, the way I initially went at this was to remove the build-folder, then run &amp;#39;west build&amp;nbsp; --board nrf9160dk_nrf9160_ns -t menuconfig&amp;#39;, set all the crypto foo there, and then re-build the project, which failed in all the colorful ways listed above. Up until then I hadn&amp;#39;t even touched the prj.conf.&lt;/p&gt;
&lt;p&gt;In the process of trying to satisfy your latest request for a full build log, I stumbled over a lot of discrepancies I hadn&amp;#39;t noticed or just stupidly ignored before. So thanks for forcing me to clean up my own mess. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to read up a bit on the build process, especially how all the new (to me) tools like west, and ninja translate to &amp;quot;old people&amp;#39;s tools&amp;quot; like make, gcc, and so on. Can you point me in the right direction?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347734?ContentTypeID=1</link><pubDate>Fri, 14 Jan 2022 10:52:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6db9efb0-9352-43f2-b5f6-aeabc4b94e62</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry for not being clear, but could I get the full build log after the build folder has been deleted? Otherwise a lot is left out.&lt;/p&gt;
&lt;p&gt;It might be an issue with the SDK installation. I&amp;#39;ll ask a colleague who is very familiar with how the SDK works on linux to take a look when you post the full log.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347649?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 16:34:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5b696d2-5a98-439b-a609-139959fa393f</guid><dc:creator>randomdude</dc:creator><description>&lt;p&gt;Of course. This is the complete &lt;code&gt;west build&lt;/code&gt; output after deleting the build directory and running &lt;code&gt;west build&amp;nbsp; --board nrf9160dk_nrf9160_ns -t menuconfig&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;[0/1] Re-running CMake...&lt;br /&gt;Including boilerplate (Zephyr base (cached)): /path_to/src/project/ncs/zephyr/cmake/app/boilerplate.cmake&lt;br /&gt;-- Application: /path_to/src/project/ncs/csr-signing-demo&lt;br /&gt;-- Zephyr version: 2.7.0 (/path_to/src/project/ncs/zephyr), build: v2.7.0-ncs1-rc2&lt;br /&gt;-- Found west (found suitable version &amp;quot;0.12.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt;-- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0&lt;br /&gt;-- Cache files will be written to: /path_to/.cache/zephyr&lt;br /&gt;-- Using toolchain: zephyr 0.13.1 (/opt/zephyr-sdk-0.13.1)&lt;br /&gt;-- Found dtc: /opt/zephyr-sdk-0.13.1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.6.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)&lt;br /&gt;-- Found BOARD.dts: /path_to/src/project/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts&lt;br /&gt;-- Found devicetree overlay: /path_to/src/project/ncs/csr-signing-demo/boards/nrf9160dk_nrf9160_ns.overlay&lt;br /&gt;nrf9160dk_nrf9160_ns.dts.pre.tmp:367.32-371.5: Warning (simple_bus_reg): /soc/cryptocell-sw: missing or empty reg/ranges property&lt;br /&gt;-- Generated zephyr.dts: /path_to/src/project/ncs/csr-signing-demo/build/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_unfixed.h: /path_to/src/project/ncs/csr-signing-demo/build/zephyr/include/generated/devicetree_unfixed.h&lt;br /&gt;-- Generated device_extern.h: /path_to/src/project/ncs/csr-signing-demo/build/zephyr/include/generated/device_extern.h&lt;br /&gt;-- Including generated dts.cmake file: /path_to/src/project/ncs/csr-signing-demo/build/zephyr/dts.cmake&lt;br /&gt;Parsing /path_to/src/project/ncs/csr-signing-demo/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;/path_to/src/project/ncs/csr-signing-demo/build/zephyr/.config&amp;#39;&lt;br /&gt;No change to configuration in &amp;#39;/path_to/src/project/ncs/csr-signing-demo/build/zephyr/.config&amp;#39;&lt;br /&gt;Kconfig header saved to &amp;#39;/path_to/src/project/ncs/csr-signing-demo/build/zephyr/include/generated/autoconf.h&amp;#39;&lt;br /&gt;&lt;br /&gt;warning: Experimental symbol NET_SOCKETS_OFFLOAD is enabled.&lt;br /&gt;&lt;br /&gt;Dropping partition &amp;#39;nrf_modem_lib_trace&amp;#39; since its size is 0.&lt;br /&gt;-- Configuring done&lt;br /&gt;-- Generating done&lt;br /&gt;-- Build files have been written to: /path_to/src/project/ncs/csr-signing-demo/build&lt;br /&gt;ninja: error: &amp;#39;spm/libspmsecureentries.a&amp;#39;, needed by &amp;#39;zephyr/zephyr_prebuilt.elf&amp;#39;, missing and no known rule to make it&lt;br /&gt;FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /path_to/src/project/ncs/csr-signing-demo/build&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What puzzles me is that the error seems to change, and I can&amp;#39;t tell when or why. Sometimes it&amp;#39;s a linker error, and sometimes it&amp;#39;s this. I&amp;#39;m new to the zephyr ecosystem, but it&amp;#39;s not like this is my first ever embedded project, so I&amp;#39;m supposed to generally know what I&amp;#39;m doing. Still, I have no idea what&amp;#39;s going on here.&lt;/p&gt;
&lt;p&gt;BTW, I started out with following the getting started guide and then copying the nrf9160-button example, if that&amp;#39;s of any help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347623?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 14:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecf8dd34-af14-4cb4-a09a-25faff422c64</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hm, could I get the full log again?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347457?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 17:12:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df82afc6-54e8-42b8-ad6c-fdadaf371a43</guid><dc:creator>randomdude</dc:creator><description>&lt;p&gt;I did what you suggested, but it didn&amp;#39;t help. here&amp;#39;s the linker error again:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[270/279] Linking C executable zephyr/zephyr_prebuilt.elf&lt;br /&gt;FAILED: zephyr/zephyr_prebuilt.elf zephyr/zephyr_prebuilt.map /path_to/src/project/ncs/csr-signing-demo/build/zephyr/zephyr_prebuilt.map &lt;br /&gt;: &amp;amp;&amp;amp; ccache /opt/zephyr-sdk-0.13.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc&amp;nbsp;&amp;nbsp; zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj -o zephyr/zephyr_prebuilt.elf&amp;nbsp; zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj&amp;nbsp; tfm/secure_fw/s_veneers.o&amp;nbsp; -fuse-ld=bfd&amp;nbsp; -Wl,-T&amp;nbsp; zephyr/linker_zephyr_prebuilt.cmd&amp;nbsp; -Wl,-Map=/path_to/src/project/ncs/csr-signing-demo/build/zephyr/zephyr_prebuilt.map&amp;nbsp; -Wl,--whole-archive&amp;nbsp; app/libapp.a&amp;nbsp; zephyr/libzephyr.a&amp;nbsp; zephyr/arch/common/libarch__common.a&amp;nbsp; zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a&amp;nbsp; zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a&amp;nbsp; zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a&amp;nbsp; zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a&amp;nbsp; zephyr/lib/libc/newlib/liblib__libc__newlib.a&amp;nbsp; zephyr/lib/posix/liblib__posix.a&amp;nbsp; zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a&amp;nbsp; zephyr/boards/boards/arm/nrf9160dk_nrf9160_ns/libboards__arm__nrf9160dk_nrf9160.a&amp;nbsp; zephyr/subsys/net/libsubsys__net.a&amp;nbsp; zephyr/subsys/net/ip/libsubsys__net__ip.a&amp;nbsp; zephyr/subsys/random/libsubsys__random.a&amp;nbsp; zephyr/drivers/clock_control/libdrivers__clock_control.a&amp;nbsp; zephyr/drivers/console/libdrivers__console.a&amp;nbsp; zephyr/drivers/gpio/libdrivers__gpio.a&amp;nbsp; zephyr/drivers/serial/libdrivers__serial.a&amp;nbsp; zephyr/drivers/entropy/libdrivers__entropy.a&amp;nbsp; zephyr/drivers/timer/libdrivers__timer.a&amp;nbsp; modules/nrf/lib/nrf_modem_lib/lib..__nrf__lib__nrf_modem_lib.a&amp;nbsp; modules/nrf/lib/at_monitor/lib..__nrf__lib__at_monitor.a&amp;nbsp; modules/nrf/lib/at_cmd_parser/lib..__nrf__lib__at_cmd_parser.a&amp;nbsp; modules/nrf/lib/lte_link_control/lib..__nrf__lib__lte_link_control.a&amp;nbsp; modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a&amp;nbsp; modules/nrf/lib/modem_key_mgmt/lib..__nrf__lib__modem_key_mgmt.a&amp;nbsp; modules/nrf/subsys/fw_info/lib..__nrf__subsys__fw_info.a&amp;nbsp; modules/trusted-firmware-m/libtfm_api.a&amp;nbsp; modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a&amp;nbsp; /path_to/src/project/ncs/nrfxlib/nrf_modem/lib/cortex-m33/soft-float/libmodem.a&amp;nbsp; modules/nrfxlib/nrfxlib/nrf_security/src/zephyr/libmbedtls_zephyr.a&amp;nbsp; -Wl,--no-whole-archive&amp;nbsp; zephyr/kernel/libkernel.a&amp;nbsp; -L&amp;quot;/opt/zephyr-sdk-0.13.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/thumb/v8-m.main/nofp&amp;quot;&amp;nbsp; -L/path_to/src/project/ncs/csr-signing-demo/build/zephyr&amp;nbsp; -lgcc&amp;nbsp; zephyr/arch/common/libisr_tables.a&amp;nbsp; tfm/platform/libplatform_ns.a&amp;nbsp; tfm/app/libtfm_api_ns.a&amp;nbsp; -Wl,--gc-sections&amp;nbsp; -Wl,--build-id=none&amp;nbsp; -Wl,--sort-common=descending&amp;nbsp; -Wl,--sort-section=alignment&amp;nbsp; -Wl,-u,_OffsetAbsSyms&amp;nbsp; -Wl,-u,_ConfigAbsSyms&amp;nbsp; -nostdlib&amp;nbsp; -static&amp;nbsp; -no-pie&amp;nbsp; -Wl,-X&amp;nbsp; -Wl,-N&amp;nbsp; -Wl,--orphan-handling=warn&amp;nbsp; spm/libspmsecureentries.a&amp;nbsp; -lm&amp;nbsp; -Wl,-lc&amp;nbsp; -L&amp;quot;/opt/zephyr-sdk-0.13.1/arm-zephyr-eabi/arm-zephyr-eabi&amp;quot;/lib/thumb/v8-m.main/nofp&amp;nbsp; -Wl,-lgcc&amp;nbsp; -lc&amp;nbsp; -lgcc&amp;nbsp; -specs=nano.specs&amp;nbsp; modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/libmbedtls.a&amp;nbsp; modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/libmbedx509.a&amp;nbsp; -mcpu=cortex-m33&amp;nbsp; -mthumb&amp;nbsp; -mabi=aapcs&amp;nbsp; -mfp16-format=ieee&amp;nbsp; modules/nrfxlib/nrfxlib/nrf_security/src/libmbedcrypto.a&amp;nbsp; -lc&amp;nbsp; -L &amp;amp;&amp;amp; cd /path_to/src/project/ncs/csr-signing-demo/build/zephyr &amp;amp;&amp;amp; /usr/bin/cmake -E echo&lt;br /&gt;arm-zephyr-eabi-gcc: error: missing argument to &amp;#39;-L&amp;#39;&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /path_to/src/project/ncs/csr-signing-demo/build&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347335?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 10:11:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7840acf4-4bbc-4036-8594-0ba0f1123542</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Not sure about that error, but a colleague solved a similar error recently by changing the name of the sample.&lt;/p&gt;
&lt;p&gt;Try changing the name of the sample folder to something you are certain is completely unique. Delete the build folder again for good measure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347212?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 14:43:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83ff0326-da01-4755-b255-18046fcb9ed0</guid><dc:creator>randomdude</dc:creator><description>&lt;p&gt;I&amp;#39;m using Linux Mint 20, with kernel 5.11.0. Also, I had to re-install my OS over the weekend, but I just successfully built my program without the mbedtls parts, just to make sure everything that worked before still works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347196?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 14:17:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e13312d-f37c-43c6-a288-858decdd4c17</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Which operating system and version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347186?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 13:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a7cc32f-2ec2-4fab-b8c7-3077805c6242</guid><dc:creator>randomdude</dc:creator><description>&lt;p&gt;no, actually it&amp;#39;s a new one:&lt;/p&gt;
&lt;pre&gt;ninja: error: &amp;#39;spm/libspmsecureentries.a&amp;#39;, needed by &amp;#39;zephyr/zephyr_prebuilt.elf&amp;#39;, missing and no known rule to make it&lt;br /&gt;FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /totally_secret_path/ncs/nrf9160-button/build&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347174?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 13:23:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32497f25-61e0-4b04-a6b0-2c4639b33284</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Same error if you delete the build folder and rebuild?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347166?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 13:03:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74644597-ff6d-463c-a924-7dfbfb813166</guid><dc:creator>randomdude</dc:creator><description>&lt;p&gt;That seemed to help, but now I&amp;#39;m getting a linker error:&lt;/p&gt;
&lt;pre&gt;[236/245] Linking C executable zephyr/zephyr_prebuilt.elf&lt;br /&gt;FAILED: zephyr/zephyr_prebuilt.elf zephyr/zephyr_prebuilt.map /path_to/src/project/ncs/nrf9160-button/build/zephyr/zephyr_prebuilt.map&lt;br /&gt;: &amp;amp;&amp;amp; ccache /opt/zephyr-sdk-0.13.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc&amp;nbsp;&amp;nbsp; zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj -o zephyr/zephyr_prebuilt.elf&amp;nbsp; zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj&amp;nbsp; tfm/secure_fw/s_veneers.o&amp;nbsp; -fuse-ld=bfd&amp;nbsp; -Wl,-T&amp;nbsp; zephyr/linker_zephyr_prebuilt.cmd&amp;nbsp; -Wl,-Map=/path_to/src/project/ncs/nrf9160-button/build/zephyr/zephyr_prebuilt.map&amp;nbsp; -Wl,--whole-archive&amp;nbsp; app/libapp.a&amp;nbsp; zephyr/libzephyr.a&amp;nbsp; zephyr/arch/common/libarch__common.a&amp;nbsp; zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a&amp;nbsp; zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a&amp;nbsp; zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a&amp;nbsp; zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a&amp;nbsp; zephyr/lib/libc/newlib/liblib__libc__newlib.a&amp;nbsp; zephyr/lib/posix/liblib__posix.a&amp;nbsp; zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a&amp;nbsp; zephyr/boards/boards/arm/nrf9160dk_nrf9160_ns/libboards__arm__nrf9160dk_nrf9160.a&amp;nbsp; zephyr/subsys/net/libsubsys__net.a&amp;nbsp; zephyr/subsys/net/ip/libsubsys__net__ip.a&amp;nbsp; zephyr/subsys/random/libsubsys__random.a&amp;nbsp; zephyr/drivers/clock_control/libdrivers__clock_control.a&amp;nbsp; zephyr/drivers/console/libdrivers__console.a&amp;nbsp; zephyr/drivers/gpio/libdrivers__gpio.a&amp;nbsp; zephyr/drivers/serial/libdrivers__serial.a&amp;nbsp; zephyr/drivers/entropy/libdrivers__entropy.a&amp;nbsp; zephyr/drivers/timer/libdrivers__timer.a&amp;nbsp; modules/nrf/lib/nrf_modem_lib/lib..__nrf__lib__nrf_modem_lib.a&amp;nbsp; modules/nrf/lib/at_monitor/lib..__nrf__lib__at_monitor.a&amp;nbsp; modules/nrf/lib/at_cmd_parser/lib..__nrf__lib__at_cmd_parser.a&amp;nbsp; modules/nrf/lib/lte_link_control/lib..__nrf__lib__lte_link_control.a&amp;nbsp; modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a&amp;nbsp; modules/nrf/lib/modem_key_mgmt/lib..__nrf__lib__modem_key_mgmt.a&amp;nbsp; modules/nrf/subsys/fw_info/lib..__nrf__subsys__fw_info.a&amp;nbsp; modules/trusted-firmware-m/libtfm_api.a&amp;nbsp; modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a&amp;nbsp; /path_to/src/project/ncs/nrfxlib/nrf_modem/lib/cortex-m33/soft-float/libmodem.a&amp;nbsp; modules/nrfxlib/nrfxlib/nrf_security/src/zephyr/libmbedtls_zephyr.a&amp;nbsp; -Wl,--no-whole-archive&amp;nbsp; zephyr/kernel/libkernel.a&amp;nbsp; -L&amp;quot;/opt/zephyr-sdk-0.13.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/thumb/v8-m.main/nofp&amp;quot;&amp;nbsp; -L/path_to/src/project/ncs/nrf9160-button/build/zephyr&amp;nbsp; -lgcc&amp;nbsp; zephyr/arch/common/libisr_tables.a&amp;nbsp; tfm/platform/libplatform_ns.a&amp;nbsp; tfm/app/libtfm_api_ns.a&amp;nbsp; -Wl,--gc-sections&amp;nbsp; -Wl,--build-id=none&amp;nbsp; -Wl,--sort-common=descending&amp;nbsp; -Wl,--sort-section=alignment&amp;nbsp; -Wl,-u,_OffsetAbsSyms&amp;nbsp; -Wl,-u,_ConfigAbsSyms&amp;nbsp; -nostdlib&amp;nbsp; -static&amp;nbsp; -no-pie&amp;nbsp; -Wl,-X&amp;nbsp; -Wl,-N&amp;nbsp; -Wl,--orphan-handling=warn&amp;nbsp; spm/libspmsecureentries.a&amp;nbsp; -lm&amp;nbsp; -Wl,-lc&amp;nbsp; -L&amp;quot;/opt/zephyr-sdk-0.13.1/arm-zephyr-eabi/arm-zephyr-eabi&amp;quot;/lib/thumb/v8-m.main/nofp&amp;nbsp; -Wl,-lgcc&amp;nbsp; -lc&amp;nbsp; -lgcc&amp;nbsp; -specs=nano.specs&amp;nbsp; modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/libmbedtls.a&amp;nbsp; modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/libmbedx509.a&amp;nbsp; -mcpu=cortex-m33&amp;nbsp; -mthumb&amp;nbsp; -mabi=aapcs&amp;nbsp; -mfp16-format=ieee&amp;nbsp; modules/nrfxlib/nrfxlib/nrf_security/src/libmbedcrypto.a&amp;nbsp; -lc&amp;nbsp; -L &amp;amp;&amp;amp; cd /path_to/src/project/ncs/nrf9160-button/build/zephyr &amp;amp;&amp;amp; /usr/bin/cmake -E echo&lt;br /&gt;arm-zephyr-eabi-gcc: error: missing argument to &amp;#39;-L&amp;#39;&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;I guess that&amp;#39;s ... progress?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347126?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 10:51:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83ad4f50-1699-400a-a5f7-2fb58e4dedcd</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Looks like another config is missing, I&amp;#39;m guessing that it&amp;#39;s CONFIG_MBEDTLS_TLS_LIBRARY.&lt;/p&gt;
&lt;p&gt;You can try adding that config, or look up MBEDTLS_PK_C in menuconfig and check which dependency is missing there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/347033?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 00:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88d70520-990b-425a-a9c4-54081601c4b1</guid><dc:creator>randomdude</dc:creator><description>&lt;p&gt;of course. here you are:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;$ west build&lt;br /&gt;[0/1] Re-running CMake...&lt;br /&gt;Including boilerplate (Zephyr base (cached)): /path_to/src/project/ncs/zephyr/cmake/app/boilerplate.cmake&lt;br /&gt;-- Application: /path_to/src/project/ncs/nrf9160-button&lt;br /&gt;-- Zephyr version: 2.7.0 (/path_to/src/project/ncs/zephyr), build: v2.7.0-ncs1-rc2&lt;br /&gt;-- Found west (found suitable version &amp;quot;0.12.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt;-- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0&lt;br /&gt;-- Cache files will be written to: /path_to/.cache/zephyr&lt;br /&gt;-- Using toolchain: zephyr 0.13.1 (/opt/zephyr-sdk-0.13.1)&lt;br /&gt;-- Found dtc: /opt/zephyr-sdk-0.13.1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.6.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)&lt;br /&gt;-- Found BOARD.dts: /path_to/src/project/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts&lt;br /&gt;-- Found devicetree overlay: /path_to/src/project/ncs/nrf9160-button/boards/nrf9160dk_nrf9160_ns.overlay&lt;br /&gt;nrf9160dk_nrf9160_ns.dts.pre.tmp:367.32-371.5: Warning (simple_bus_reg): /soc/cryptocell-sw: missing or empty reg/ranges property&lt;br /&gt;-- Generated zephyr.dts: /path_to/src/project/ncs/nrf9160-button/build/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_unfixed.h: /path_to/src/project/ncs/nrf9160-button/build/zephyr/include/generated/devicetree_unfixed.h&lt;br /&gt;-- Generated device_extern.h: /path_to/src/project/ncs/nrf9160-button/build/zephyr/include/generated/device_extern.h&lt;br /&gt;-- Including generated dts.cmake file: /path_to/src/project/ncs/nrf9160-button/build/zephyr/dts.cmake&lt;br /&gt;Parsing /path_to/src/project/ncs/nrf9160-button/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;/path_to/src/project/ncs/nrf9160-button/build/zephyr/.config&amp;#39;&lt;br /&gt;&lt;br /&gt;warning: Experimental symbol NET_SOCKETS_OFFLOAD is enabled.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: MBEDTLS_PK_C (defined at /path_to/src/project/ncs/nrfxlib/nrf_security/Kconfig:1573) has direct dependencies MBEDTLS_TLS_LIBRARY &amp;amp;&amp;amp; NRF_SECURITY_ADVANCED &amp;amp;&amp;amp; NRF_SECURITY_ANY_BACKEND &amp;amp;&amp;amp; NORDIC_SECURITY_BACKEND with value n, but is currently being y-selected by the following symbols:&lt;br /&gt;&amp;nbsp;- MBEDTLS_X509_LIBRARY (defined at /path_to/src/project/ncs/nrf/modules/trusted-firmware-m/Kconfig.mbedtls_minimal.defconfig:12, /path_to/src/project/ncs/nrfxlib/nrf_security/Kconfig:45), with value y, direct dependencies TFM_MINIMAL || NORDIC_SECURITY_BACKEND (value: y), and select condition NORDIC_SECURITY_BACKEND (value: y)&lt;br /&gt;&lt;br /&gt;error: Aborting due to Kconfig warnings&lt;br /&gt;&lt;br /&gt;CMake Error at /path_to/src/project/ncs/zephyr/cmake/kconfig.cmake:270 (message):&lt;br /&gt;&amp;nbsp; command failed with return code: 1&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt;&amp;nbsp; /path_to/src/project/ncs/zephyr/cmake/app/boilerplate.cmake:546 (include)&lt;br /&gt;&amp;nbsp; /path_to/src/project/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)&lt;br /&gt;&amp;nbsp; /path_to/src/project/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)&lt;br /&gt;&amp;nbsp; CMakeLists.txt:9 (find_package)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;See also &amp;quot;/path_to/src/project/ncs/nrf9160-button/build/CMakeFiles/CMakeOutput.log&amp;quot;.&lt;br /&gt;See also &amp;quot;/path_to/src/project/ncs/nrf9160-button/build/CMakeFiles/CMakeError.log&amp;quot;.&lt;br /&gt;FAILED: build.ninja &lt;br /&gt;/usr/bin/cmake --regenerate-during-build -S/path_to/src/project/ncs/nrf9160-button -B/path_to/src/project/ncs/nrf9160-button/build&lt;br /&gt;ninja: error: rebuilding &amp;#39;build.ninja&amp;#39;: subcommand failed&lt;br /&gt;FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /path_to/src/project/ncs/nrf9160-button/build&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot configure the build system to include X509 functions</title><link>https://devzone.nordicsemi.com/thread/346901?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 11:19:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dbac926-eafc-4f49-bc85-3ecfdbad0c27</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Those configs need to be enabled in order to use MBEDTLS_X509_CSR_WRITE_C : &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/CONFIG_MBEDTLS_X509_CSR_WRITE_C.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/CONFIG_MBEDTLS_X509_CSR_WRITE_C.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What is the error you are seeing when you try to build? Can you attach the build log here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>