<?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 `fs_queued_op_count_get&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18773/undefined-reference-to-fs_queued_op_count_get</link><description>I am using eclipse as IDE , but when i build ble_app_hrs example it&amp;#39;s getting an error ../../../../../../components/ble/ble_advertising/ble_advertising.c:195: undefined reference to `fs_queued_op_count_get&amp;#39;
collect2.exe: error: ld returned 1 exit status</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Feb 2017 14:18:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18773/undefined-reference-to-fs_queued_op_count_get" /><item><title>RE: undefined reference to `fs_queued_op_count_get'</title><link>https://devzone.nordicsemi.com/thread/72507?ContentTypeID=1</link><pubDate>Thu, 09 Feb 2017 14:18:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f38970ea-ee45-460b-b9e9-ac33fd4ae58a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I have posted an internal request to remove this dependency, either completely remove the call to &lt;code&gt;fs_queued_op_count_get()&lt;/code&gt;, or embedd it into a check if fstorage module is enabled.&lt;/p&gt;
&lt;p&gt;You could add this check yourself by adding the following around the definition and call to &lt;code&gt;flash_access_in_progress()&lt;/code&gt; function:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#if NRF_MODULE_ENABLED(FSTORAGE)
..
#endif //NRF_MODULE_ENABLED(FSTORAGE)
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `fs_queued_op_count_get'</title><link>https://devzone.nordicsemi.com/thread/72506?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 12:00:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec9bbd56-1ec9-45aa-aba9-79a7418b2c80</guid><dc:creator>Elm</dc:creator><description>&lt;p&gt;I have a similar problem.&lt;/p&gt;
&lt;p&gt;The problem seems to be that ble_advertising.c:flash_access_in_progress() calls fs_queued_op_count_get(), whether fstorage is enabled or not. i guess that function should be a NOOP if fstorage is not enabled.&lt;/p&gt;
&lt;p&gt;Elm&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `fs_queued_op_count_get'</title><link>https://devzone.nordicsemi.com/thread/72504?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 09:38:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32684927-b646-457a-9c79-236bc1de6f7f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;12.0.0, 12.1.0 or 12.2.0? Did you enable fstorage in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/sdk_config.html?cp=4_0_1_1_6"&gt;SDK configuration header&lt;/a&gt;? Can you upload your Makefile?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `fs_queued_op_count_get'</title><link>https://devzone.nordicsemi.com/thread/72503?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 17:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac52a68f-a694-4de4-bdf0-63e87ccfd84f</guid><dc:creator>sajin</dc:creator><description>&lt;p&gt;i am using sdk12, may be it is a problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `fs_queued_op_count_get'</title><link>https://devzone.nordicsemi.com/thread/72505?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 15:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae914d00-e3a2-439e-9a51-c494be43c997</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Which SDK version are you using? Have you modied any of the files in the example or SDK? You will get this error if &lt;em&gt;fstorage.c&lt;/em&gt; is not included in the C_SOURCE_FILES in the Makefile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>