<?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/missing symbol issue with gcc toolchain</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2373/linking-missing-symbol-issue-with-gcc-toolchain</link><description>Hi, 
 I&amp;#39;m trying to compile the ble_app_beacon firmware found in nrf51_sdk_v5_2_0_39364/nrf51822/Board/pca10001/s110/ble_app_beacon with the gcc toolchain on MacOSX, but I get a linkage error (see below). I&amp;#39;ve tried to add rpc/ble_rpc_sd_stub.c but that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Apr 2014 10:48:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2373/linking-missing-symbol-issue-with-gcc-toolchain" /><item><title>RE: Linking/missing symbol issue with gcc toolchain</title><link>https://devzone.nordicsemi.com/thread/9716?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2014 10:48:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9606e66-283d-4333-9c80-926473b985c6</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;5.2.0 SDK has nrf_soc.h in S110 folder. Does including in the header files declaration in main.c it resolve the issue? Maybe download the SDK again if there is something missing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking/missing symbol issue with gcc toolchain</title><link>https://devzone.nordicsemi.com/thread/9715?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2014 10:18:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41b1939f-8441-472e-bb3d-32d34f8bbffb</guid><dc:creator>Ken A. Rederg&amp;#229;rd</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Ahh, silly mistake by me. Previously I replaced the s110 directory with a symlink to a newer version of the s110. Afterwards I must have deleted the new version of s110, that way the nrf_soc.h was not found anymore.&lt;/p&gt;
&lt;p&gt;Now the application compiles (after fixing the bug in the Makefile.common and adding the Makefile.posix file).&lt;/p&gt;
&lt;p&gt;Thank you for your assistance :)&lt;/p&gt;
&lt;p&gt;BR,
-Ken.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking/missing symbol issue with gcc toolchain</title><link>https://devzone.nordicsemi.com/thread/9714?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2014 10:01:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58635e10-8b36-4a06-9800-56e3cef44abe</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;No, there&amp;#39;s nrf_soc.h in S110 folder too. Which SDK are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking/missing symbol issue with gcc toolchain</title><link>https://devzone.nordicsemi.com/thread/9713?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2014 09:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7e392fa-68a5-4348-9b39-bf3c7367d95b</guid><dc:creator>Ken A. Rederg&amp;#229;rd</dc:creator><description>&lt;p&gt;Hi Prithvi,&lt;/p&gt;
&lt;p&gt;The nrf_soc.h file is only found in the S120 directory (./Include/s120/nrf_soc.h). Shall files from the S120 directory by used for the S110  ?&lt;/p&gt;
&lt;p&gt;BR, -Ken.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linking/missing symbol issue with gcc toolchain</title><link>https://devzone.nordicsemi.com/thread/9712?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2014 09:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:800201b0-1ef5-4e22-8347-4e634aed3f04</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Hi Ken,
I am guessing that you are missing &amp;#39;nrf_soc.h&amp;#39; file in your includes file and also it is not declared in your main.c file. See if this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>