<?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>undefined reference to `nrf_drv_rng_init&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41630/undefined-reference-to-nrf_drv_rng_init</link><description>Hi, 
 I am using Segger IDE. 
 I encounter error undefined reference to `nrf_drv_rng_init&amp;#39; . 
 I have include the below header file; 
 #include &amp;quot;nrf_drv_rng.h&amp;quot; 
 I already enable below macro; 
 #ifndef RNG_ENABLED #define RNG_ENABLED 1 #endif 
 #ifndef</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Dec 2018 01:57:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41630/undefined-reference-to-nrf_drv_rng_init" /><item><title>RE: undefined reference to `nrf_drv_rng_init'</title><link>https://devzone.nordicsemi.com/thread/161972?ContentTypeID=1</link><pubDate>Mon, 17 Dec 2018 01:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95ace5f1-ddbc-4167-bf51-fc674565a466</guid><dc:creator>konsang</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes. I am missing to add the legacy files.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `nrf_drv_rng_init'</title><link>https://devzone.nordicsemi.com/thread/161967?ContentTypeID=1</link><pubDate>Sun, 16 Dec 2018 19:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:868177a6-aaf4-4781-8274-bef67b1f08ab</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If the linker complains about undefined reference to it would seem like you are missing either the sdk_config.h macros (which you have already checked) or that you simply forgot to add &amp;lt;SDK 15&amp;gt;integration/nrfx/legacy/nrf_drv_rng.c to the project. Could that be it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>