<?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>errors 318 &amp;amp; 210</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/17291/errors-318-210</link><description> I have two questions : 
 
 
 
1. When compiling my project include files in the c51\INC directory can&amp;#39;t be located. 
 
there is an error (&amp;quot;can&amp;#39;t open file &amp;#39;stdio . h&amp;quot; …..) but if I write the #include with the full path 
 
#include &amp;quot;c:\c51\inc\stdio.h</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: errors 318 &amp; 210</title><link>https://community.arm.com/thread/122311?ContentTypeID=1</link><pubDate>Sun, 29 Feb 2004 09:49:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:65f0e612-2422-41b9-8093-c44271b0b6bd</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;&lt;i&gt;ERROR 110 : CANNOT FIND SEGMENT&lt;br /&gt;
SEGMENT : ?PR?.........and so&lt;br /&gt;
&lt;br /&gt;
what it means ?&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
You left out the important details (like the rest of the segment name that couldn&amp;#39;t be found).&lt;br /&gt;
&lt;br /&gt;
If you really want to get answers, you should provide complete information and not cripple those of us who are able to help you.&lt;br /&gt;
&lt;br /&gt;
The error you have probably means that the linker couldn&amp;#39;t find a segment that you manually specified in some way on the command line.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Jon&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: errors 318 &amp; 210</title><link>https://community.arm.com/thread/129851?ContentTypeID=1</link><pubDate>Sun, 29 Feb 2004 01:06:55 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:76fb26c2-9bba-4067-87f3-ef7b81e11a24</guid><dc:creator>Rafi H</dc:creator><description>&lt;p&gt;i&amp;#39;m working with version 5.10, in code wright environment .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: errors 318 &amp; 210</title><link>https://community.arm.com/thread/122309?ContentTypeID=1</link><pubDate>Fri, 27 Feb 2004 20:49:01 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c7c9c2d9-41f1-4985-83fc-deee500acf91</guid><dc:creator>Bradford Al</dc:creator><description>&lt;p&gt;This problem usally shows up when the user has COPIED the Keil tools from one computer to another instead of INSTALLING the Kiel tools.&lt;br /&gt;
You did not mention the version of your tools. So look in the dialog Components, Environments, Books and set the correct environment for your copied version.&lt;br /&gt;
Brad&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: errors 318 &amp; 210</title><link>https://community.arm.com/thread/110772?ContentTypeID=1</link><pubDate>Thu, 26 Feb 2004 10:44:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7b7a0cec-3b51-4b8a-a6aa-44205c9d504b</guid><dc:creator>Rafi H</dc:creator><description>&lt;p&gt;no in my PC its in c:\c51, but i added those two lines to my makefile an it solve the problem&lt;br /&gt;
now&lt;br /&gt;
i get:&lt;br /&gt;
&lt;br /&gt;
ERROR 110 : CANNOT FIND SEGMENT&lt;br /&gt;
SEGMENT : ?PR?.........and so&lt;br /&gt;
&lt;br /&gt;
what it means ?&lt;br /&gt;
&lt;br /&gt;
Thanks Rafi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: errors 318 &amp; 210</title><link>https://community.arm.com/thread/96155?ContentTypeID=1</link><pubDate>Thu, 26 Feb 2004 10:17:10 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4760d05d-0981-4b23-97b7-4fc4049c5089</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;By default, the keil 8051 tools are installed in c:\&lt;b&gt;keil&lt;/b&gt;\c51.  Did you forget to include the KEIL in the path?&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Jon&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: errors 318 &amp; 210</title><link>https://community.arm.com/thread/72313?ContentTypeID=1</link><pubDate>Thu, 26 Feb 2004 10:01:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:81ccf199-ab26-4721-a9db-31ba8bc47859</guid><dc:creator>Rafi H</dc:creator><description>&lt;p&gt;I removed the whitespace in both sides of the &amp;#39;=&amp;#39; and tried again after verifing the changes it didn&amp;#39;t help ,do you have an idea ?&lt;br /&gt;
&lt;br /&gt;
Thanks Rafi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: errors 318 &amp; 210</title><link>https://community.arm.com/thread/50239?ContentTypeID=1</link><pubDate>Thu, 26 Feb 2004 09:23:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8973f5de-b55e-40a4-9109-75c3fdf7d621</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;i&gt;&lt;pre&gt;Set c51lib = c:\c51\lib&lt;/pre&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
If that&amp;#39;s exactly what your line in autoexec.bat looks like, I would assume that&amp;#39;s the cause of your problem: you have blanks in there which you shouldn&amp;#39;t have. Remove the whitespace to both sides of the &amp;#39;=&amp;#39; and try again.  Likewise for the other settings in this list.&lt;br /&gt;
&lt;br /&gt;
(And make sure this setting actually took hold: type&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;set | find /i &amp;quot;c51&amp;quot;&lt;/pre&gt;
&lt;br /&gt;
at the command prompt and verify that these are actually set.  And don&amp;#39;t forget to set TMP, too, while at it.)&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;How do we specify include files that don&amp;#39;t reside in the \C51\INC directory?&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
By finding the INCDIR option in the &lt;b&gt;C51 Manual&lt;/b&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>