<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>?c_start error</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/34299/c_start-error</link><description> 
I have tried to write a simple embedded c program in keil for that
purpose i added Startup.a51 file when i tried to compile it it had
shown the warnigs 

 
Build target &amp;#39;Target 1&amp;#39; 
linking... 
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?C_START</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: ?c_start error</title><link>https://community.arm.com/thread/63731?ContentTypeID=1</link><pubDate>Tue, 26 May 2015 06:04:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4f81a936-a8fb-48b4-bf3d-ad79908643d5</guid><dc:creator>re yoReinhard Keil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Did you add the source file that contains the main function to the
project?&lt;/p&gt;

&lt;p&gt;
See: &lt;a href="http://www.keil.com/product/brochures/uv4.pdf"&gt;http://www.keil.com/product/brochures/uv4.pdf&lt;/a&gt;
- Chapter 6. Creating Embedded Programs.&lt;br /&gt;
Page 79 explains how to add a source file.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ?c_start error</title><link>https://community.arm.com/thread/137232?ContentTypeID=1</link><pubDate>Mon, 25 May 2015 04:57:39 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:56bc5b22-af0a-4437-beee-f4b9bc0d5c06</guid><dc:creator>&amp;#178;erik malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
start with this&lt;/p&gt;

&lt;pre&gt;
void main (void)
{
        while (1) {}                             // Spin forever
}
&lt;/pre&gt;

&lt;p&gt;
&lt;br /&gt;
and then add your stuff to see what makes it fail&lt;/p&gt;

&lt;p&gt;
Erik&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ?c_start error</title><link>https://community.arm.com/thread/128914?ContentTypeID=1</link><pubDate>Mon, 25 May 2015 03:32:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:49043589-82cc-41dc-975a-06e3d10ad561</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;b&gt;&lt;br /&gt;
You didn&amp;#39;t answer that question!&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ?c_start error</title><link>https://community.arm.com/thread/117784?ContentTypeID=1</link><pubDate>Mon, 25 May 2015 01:11:09 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:15ccf54d-58e1-44e5-a70f-da9a13a94551</guid><dc:creator>harish malipeddi</dc:creator><description>&lt;p&gt;&lt;p&gt;
i tried so and even i write code in assembly the same warning
araises&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ?c_start error</title><link>https://community.arm.com/thread/108224?ContentTypeID=1</link><pubDate>Sun, 24 May 2015 06:20:40 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6c1b6dc5-2dbb-413a-b88e-2899b0484d72</guid><dc:creator>&amp;#178;erik malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
you need some code in main(). e.g. while(1); will do&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ?c_start error</title><link>https://community.arm.com/thread/82582?ContentTypeID=1</link><pubDate>Sat, 23 May 2015 19:53:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f65344fc-e926-4d1a-b486-c580fedaa8ad</guid><dc:creator>harish malipeddi</dc:creator><description>&lt;p&gt;&lt;p&gt;
yes i have main and mine is a simple progra and it is&lt;br /&gt;
#include &amp;lt;reg51.h&amp;gt;&lt;br /&gt;
void main(void) { unsigned char mynum[]=&amp;ldquo;ABCDEF&amp;rdquo;;
unsigned char z; for (z=0;z&amp;lt;=6;z++) P1=mynum[z]; }&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ?c_start error</title><link>https://community.arm.com/thread/93420?ContentTypeID=1</link><pubDate>Sat, 23 May 2015 14:51:09 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:14fad570-46ab-4e68-a549-b88be85c83b9</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
You haven&amp;#39;t enabled the &lt;b&gt;SRC&lt;/b&gt; option for all your &lt;b&gt;.c&lt;/b&gt;
files, have you ... ?&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/forum/14227/"&gt;http://www.keil.com/forum/14227/&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ?c_start error</title><link>https://community.arm.com/thread/63734?ContentTypeID=1</link><pubDate>Sat, 23 May 2015 14:22:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:316eedc1-ab34-4395-8e57-39bdaf7223ee</guid><dc:creator>&amp;#178;erik malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
do you have a main()?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>