<?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>&amp;quot;Undefined Symbol&amp;quot; error message when using BLE_ADVERTISING_DEF macro</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33641/undefined-symbol-error-message-when-using-ble_advertising_def-macro</link><description>Hello everybody 
 I&amp;#39;m trying to initialise an advertising module for my project. 
 When using the macro for creating an advertising instante I get the following: 
 
 After compiling I get: 
 .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Jul 2022 13:23:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33641/undefined-symbol-error-message-when-using-ble_advertising_def-macro" /><item><title>RE: "Undefined Symbol" error message when using BLE_ADVERTISING_DEF macro</title><link>https://devzone.nordicsemi.com/thread/378329?ContentTypeID=1</link><pubDate>Fri, 22 Jul 2022 13:23:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d12ed94b-8b54-43b8-b443-d125b701c6b3</guid><dc:creator>squadOne</dc:creator><description>&lt;p&gt;Old post, but I met the same issue, and the responses provided here weren&amp;#39;t enough.&lt;br /&gt;So to resolve this issue don&amp;#39;t forget to point the &amp;quot;ble_advertising.C&amp;quot; through Project manager (on SES).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Undefined Symbol" error message when using BLE_ADVERTISING_DEF macro</title><link>https://devzone.nordicsemi.com/thread/173163?ContentTypeID=1</link><pubDate>Wed, 27 Feb 2019 07:49:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:061e58f5-f5b1-4547-832c-5cfee0ed9b98</guid><dc:creator>Bojan Potocnik</dc:creator><description>&lt;p&gt;&lt;span&gt;I had the same problem today.&amp;nbsp;&lt;/span&gt;&lt;span&gt;BLE_ADVERTISING_ENABLED&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;was properly defined to 1 in sdk_config.h, the cause of the problem was not including&amp;nbsp;&lt;/span&gt;&lt;span&gt;nrf_sdh_ble.h in my source file.&lt;br /&gt;The confusion here is that&amp;nbsp;&lt;/span&gt;&lt;span&gt;BLE_ADVERTISING_DEF is defined in the ble_advertising.h header file and one would think that including this one is enough for&amp;nbsp;&lt;/span&gt;&lt;span&gt;BLE_ADVERTISING_DEF&amp;nbsp;to work. However&amp;nbsp;that is not the case, you also need to include&amp;nbsp;nrf_sdh_ble.h in your source file (ble_advertising.h does not include it, despite using&amp;nbsp;NRF_SDH_BLE_OBSERVER macro defined there).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Undefined Symbol" error message when using BLE_ADVERTISING_DEF macro</title><link>https://devzone.nordicsemi.com/thread/129705?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 09:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b27f9839-3804-4681-8f8c-5b7dd5eda0d9</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Have you made sure that the advertising module is enabled in the sdk_config.h file?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-ed92fc554b6b46af89a36202dc6b718a/advmoduleactiv.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Undefined Symbol" error message when using BLE_ADVERTISING_DEF macro</title><link>https://devzone.nordicsemi.com/thread/129312?ContentTypeID=1</link><pubDate>Mon, 23 Apr 2018 09:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7537f6f-8f4b-42b3-b3fb-e154aa67f19a</guid><dc:creator>Hammerfall</dc:creator><description>&lt;p&gt;Still looking for an answer.&lt;/p&gt;
&lt;p&gt;Maybe it is possible to use the advertiser without an instance?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>