<?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>Linking ble_app undefined reference to ...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24199/linking-ble_app-undefined-reference-to</link><description>HEllo, 
 I am facing and issue with undefined references for the linker. The compiler is able to compile, but I get linker errors like these 
 
 .../pca10040/s132/arm4/_build/ble_app_hrs_pca10040_s132.elf
does not exist.Generating linker
script </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Aug 2017 13:50:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24199/linking-ble_app-undefined-reference-to" /><item><title>RE: Linking ble_app undefined reference to ...</title><link>https://devzone.nordicsemi.com/thread/95293?ContentTypeID=1</link><pubDate>Thu, 10 Aug 2017 13:50:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14baa41d-3d27-4df0-82b5-1079db265076</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Make sure that you have &lt;code&gt;APP_SCHEDULER_ENABLED&lt;/code&gt; and &lt;code&gt;GPIOTE_ENABLED&lt;/code&gt; set to 1 in &lt;code&gt;sdk_config.h&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking ble_app undefined reference to ...</title><link>https://devzone.nordicsemi.com/thread/95295?ContentTypeID=1</link><pubDate>Thu, 10 Aug 2017 08:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1baf3af8-db66-427b-a735-6b330e71fbd0</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;But how does it work with my own functions, I have now the same issue with a library that I have created by myself. I am trying to use a method that the compiler can find but still the linker complains that it cannot find it. I have place the .c under the nRF_Libraries folder and include the path as well in the preprocessor field...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking ble_app undefined reference to ...</title><link>https://devzone.nordicsemi.com/thread/95294?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2017 22:04:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:767df5fc-5650-4b49-96ad-8d9564f277d1</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Check that the c files don&amp;#39;t have #ifdef etc, at the top.&lt;/p&gt;
&lt;p&gt;Nordic use, what I find a strange system, where sdk_config.h is used to turn on or off, which functional blocks or services that get built into your application.&lt;/p&gt;
&lt;p&gt;I have not noticed this with timers,  it it is definitely used for the common services, and thinks like the WDT&lt;/p&gt;
&lt;p&gt;So.. Look in sdk_config.h and see if you need to enable this feature.&lt;/p&gt;
&lt;p&gt;PS. I really wish Nordic did not do this think with sdk_config.h ;-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>