<?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>Problem with xfar variable &amp;amp; C51BL.LIB</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/31578/problem-with-xfar-variable-c51bl-lib</link><description> 
linker message: 
ERROR L127: UNRESOLVED EXTERNAL SYMBOL 
SYMBOL :?C?CSTOPTR 
MODULE : C:\KEIL\C51\LIB\C51BL.LIB (STRNCPY) 
 
 
this error is present if I only assign a value char to a variable char and a variable far is declared. 
x.e. f=&amp;#39;\0&amp;#39; 
 
 
classic</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Problem with xfar variable &amp; C51BL.LIB</title><link>https://community.arm.com/thread/110089?ContentTypeID=1</link><pubDate>Fri, 30 Aug 2002 03:06:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a7f94374-0d00-4804-9745-af0dbb885f92</guid><dc:creator>Francesco Cacace</dc:creator><description>&lt;p&gt;&lt;i&gt;&lt;br /&gt;
yes I&amp;#39;m using LX51 linker.....&lt;br /&gt;
but i think hat the error is located in libraries extended for far variables....&lt;br /&gt;
i&amp;#39;m rewriting function for string manipulation ....&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Francesco&lt;br /&gt;
&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with xfar variable &amp; C51BL.LIB</title><link>https://community.arm.com/thread/95139?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2002 07:20:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d6802b97-affb-4ad8-8b14-6ca4e3fd676c</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;Are you using LX51 Linker?&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: Problem with xfar variable &amp; C51BL.LIB</title><link>https://community.arm.com/thread/54625?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2002 02:44:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b3f22717-f5b6-41c4-b6db-726925d46fd3</guid><dc:creator>Francesco Cacace</dc:creator><description>&lt;p&gt;&lt;i&gt;&lt;br /&gt;
no I have not included XBANKING.A51 in my project, because I have configured xfar variables only with file : L51_bank.a51...&lt;br /&gt;
with P1.4,P1.5 &amp;amp; P1.6 port pin.&lt;br /&gt;
&lt;br /&gt;
so the assembler STOPTR is no present in &lt;br /&gt;
XBANKING.A51.&lt;br /&gt;
&lt;br /&gt;
/*******************/&lt;br /&gt;
if I not declare a far variable or I not use sprintf function the error is not present.&lt;br /&gt;
&lt;br /&gt;
thanks Francesco&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with xfar variable &amp; C51BL.LIB</title><link>https://community.arm.com/thread/39088?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2002 15:31:40 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:91d5a314-8d63-4a76-896f-85988baa95d8</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;Did you configure and include XBANKING.A51 in your project?&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></channel></rss>