<?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 of unresolved externals</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/16275/problem-of-unresolved-externals</link><description> To Forum Members, 
 I am using P89C51RD2HBP processor in my target board. I am using the evaluation version of Keil (downloaded from the net). 
	A few days ago, I had posted a query regarding Changing the Start Location of the program. I had asked the</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Problem of unresolved externals</title><link>https://community.arm.com/thread/86587?ContentTypeID=1</link><pubDate>Sat, 29 Nov 2003 16:00:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a3a7e95e-7df7-43f8-a720-6e8f71c513a0</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;The web page with eval limitations (&lt;a href="http://www.keil.com/demo/limits.asp"&gt;http://www.keil.com/demo/limits.htm&lt;/a&gt;) doesn&amp;#39;t say anything about not supporting longs.&lt;br /&gt;
&lt;br /&gt;
It does sound like a linking problem, though.  The address of 0 in the LCALL 0 is just a placeholder.  The linker is supposed to replace that 0 with the actual address of the routine (?C?LSTXDATA) when the program is linked.&lt;br /&gt;
&lt;br /&gt;
What C51 library are you linking with?&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;I have just initialized the long variable in the main routine, and not used anywhere.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Perhaps an optimizer problem, if it&amp;#39;s decided that it doesn&amp;#39;t need long support?  What happens if you turn the optimization off?&lt;br /&gt;
&lt;br /&gt;
If you&amp;#39;re using far memory, then you need to add XBANKING.A51 or L51_BANK.A51 to your project.  These files have a definition of the xdata access routines that you can customize for your hardware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem of unresolved externals</title><link>https://community.arm.com/thread/41334?ContentTypeID=1</link><pubDate>Sat, 29 Nov 2003 13:49:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:266d4fa2-ba1d-490a-bc61-9d9fd17cf074</guid><dc:creator>Dejan Durdenic</dc:creator><description>&lt;p&gt;I am not sure about eval version, as I&amp;#39;m working with the full release...however, it might be that long variables are not supported in eval version, as well as the floating point...The longs are accessed through library calls, in contrary to chars and ints which are handled directly from code.As I have said, I&amp;#39;m not sure about that, as I do not have eval version.&lt;br /&gt;
&lt;br /&gt;
regards&lt;br /&gt;
&lt;br /&gt;
Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>