<?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>Error when building the samples for beacon module using gcc</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8341/error-when-building-the-samples-for-beacon-module-using-gcc</link><description>I tried to follow some tutorials on this site to build the samples for the beacon modules using gcc. 
 I am seeing this error: 
 Compiling file: bootloader_util_arm.c
../../../../../components/libraries/bootloader_dfu/bootloader_util_arm.c:48:10: error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 25 Jul 2015 12:53:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8341/error-when-building-the-samples-for-beacon-module-using-gcc" /><item><title>RE: Error when building the samples for beacon module using gcc</title><link>https://devzone.nordicsemi.com/thread/30204?ContentTypeID=1</link><pubDate>Sat, 25 Jul 2015 12:53:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4e682b1-d791-4489-a805-9a7739a247d9</guid><dc:creator>J Chui</dc:creator><description>&lt;p&gt;Works great. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error when building the samples for beacon module using gcc</title><link>https://devzone.nordicsemi.com/thread/30203?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2015 09:13:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20935e4b-abcc-4484-bd57-16a69ff34421</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@J Chui: Please use the bootloader_util.c file from &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/"&gt;nRF51 SDK v9.0&lt;/a&gt;. The file can be found at \components\libraries\bootloader_dfu.&lt;/p&gt;
&lt;p&gt;The assembly code in bootloader_util.c in the beacon SDK wasn&amp;#39;t in the form for GCC, but KEIL. The file in nRF51 SDK support both.&lt;/p&gt;
&lt;p&gt;Note that you may have to add -fomit-frame-pointer in the compiler option if you get &amp;quot;error: r7 cannot be used in asm here&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>