<?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 in makefile</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22767/error-in-makefile</link><description>Hello,
I am using pca10028 and sdk 12.2. I am trying to run some code. I am getting some make file error as ble_nus_error.PNG . 
 My main.c file is New Text Document (3).txt 
 My make file is New Text Document (3).txt 
 Thanks,
Shailav</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Jun 2017 12:19:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22767/error-in-makefile" /><item><title>RE: Error in makefile</title><link>https://devzone.nordicsemi.com/thread/89505?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 12:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:775a6584-584d-4651-9527-e66cc09d431e</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Hi,
I am able to compile and generate hex files.
Thanks,
Shailav&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in makefile</title><link>https://devzone.nordicsemi.com/thread/89504?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 12:04:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f555c9d-f0dd-47d0-96e0-b32dd3b8e620</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have attached updated files, which should compile with GCC. Note that I had to comment out some lines declaring unused variable in your main.c file. The makefile is configured to threat all warnings as errors, so this is needed to make it compile. You can comment in the declarations if you are going to use the variables.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2211.main.c"&gt;main.c&lt;/a&gt; - &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1321.Makefile"&gt;Makefile&lt;/a&gt; - &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3225.sdk_5F00_config.h"&gt;sdk_config.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in makefile</title><link>https://devzone.nordicsemi.com/thread/89503?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 11:33:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b402f25-1cea-4d53-ad29-301d731bdbbf</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;I was given the link &lt;a href="https://devzone.nordicsemi.com/question/114194/assistance-with-fds/?answer=114227#post-id-114227"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; by Kristen. So I started using the code given there(ble_app_hrs-fds-test-github).
I imported that code in sdk 12.2 and started adding code to that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in makefile</title><link>https://devzone.nordicsemi.com/thread/89500?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 11:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcad73e6-7d5d-4f5d-b95f-204810728a1a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Which example are you basing this on?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in makefile</title><link>https://devzone.nordicsemi.com/thread/89501?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 10:52:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dd932dc-c6d1-4f4b-a8ef-fe546ab3b54b</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Hello,
I have added few more code and I am facing few more errors as attached above. I could make it work in keil without errors but because of few limitations of code size I am forced to use make file to compile and generate hex files. So please edit the make file or let me know the suggestions.&lt;/p&gt;
&lt;p&gt;P.S I have edited my original question.&lt;/p&gt;
&lt;p&gt;Thanks,
Shailav&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in makefile</title><link>https://devzone.nordicsemi.com/thread/89502?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 07:25:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c34535d5-9054-4990-afc0-0c7ec87dbcfb</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Looks from your &lt;a href="https://devzone.nordicsemi.com/question/151140/error-while-adding-app_uart_fifoc/"&gt;other question&lt;/a&gt; that you got this working?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>