<?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>Error: L6218E: Undefined symbol main (referred from rtentry2.o).</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/26325/error-l6218e-undefined-symbol-main-referred-from-rtentry2-o</link><description> 
hi 
i am new with keil 

 
when i start to use ADC in lpc2138 , this error appear for me 
i couldn&amp;#39;t solve it 
&amp;quot; Error: L6218E: Undefined symbol main (referred from
rtentry2.o).&amp;quot; 

 
this is my code : 

 
#include &amp;lt;lpc213x.h&amp;gt; 
#include &amp;lt;lcd.h&amp;gt; 
#include</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Error: L6218E: Undefined symbol main (referred from rtentry2.o).</title><link>https://community.arm.com/thread/78171?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2010 20:40:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ae5bb506-d81c-4e85-9e5a-d469e96ab7e1</guid><dc:creator>ali ahmadi</dc:creator><description>&lt;p&gt;&lt;p&gt;
oooooooooooohhhhhh&lt;/p&gt;

&lt;p&gt;
special THX .&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error: L6218E: Undefined symbol main (referred from rtentry2.o).</title><link>https://community.arm.com/thread/57892?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2010 20:36:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:cd68cebd-97f2-47d3-bb7c-4e12ca6c7805</guid><dc:creator>John Linq</dc:creator><description>&lt;p&gt;&lt;pre&gt;
void &lt;b&gt;mian&lt;/b&gt;()
&lt;/pre&gt;

&lt;p&gt;
It is your typo! ==&amp;gt; main()&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>