<?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>Lx51: ERROR L118</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/24103/lx51-error-l118</link><description> 
I am using a function from a lib file, and getting the folowing
error: 

 
*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL 
SYMBOL: ?_GET_ACCESS_KEY?BYTE 
MODULE: ..\hex\MaxVecSpeed.obj (MAXVECSPEED) 
ADDRESS: A99CH 

 
*** ERROR L121: IMPROPER</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Lx51: ERROR L118</title><link>https://community.arm.com/thread/76806?ContentTypeID=1</link><pubDate>Wed, 22 Oct 2008 02:22:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5812979b-300d-46d7-a393-1dd0b29255b3</guid><dc:creator>Vinay Ujjannavar</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks Tamir,&lt;/p&gt;

&lt;p&gt;
I will give a detailed pic of what I am actually trying to do.&lt;/p&gt;

&lt;p&gt;
I have created a LIB file which two functions:&lt;/p&gt;

&lt;p&gt;
1. Get_Access_Key(param1, param2)&lt;br /&gt;
2. powerOf(param1, param2), which is being called by the
Get_Access_Key() function.&lt;/p&gt;

&lt;p&gt;
I am using the output LIB file in my test application and only
call the Get_Access_Key() function. I am refering to the function by
declaring it as an extern function and also adding the LIB file in my
source group of the project.&lt;/p&gt;

&lt;p&gt;
Having said what I am doing, does your explaination still hold
good?&lt;/p&gt;

&lt;p&gt;
Also I would like to ask, if the target options set while creating
the LIB file also matter when the same LIB file is included in the
test application and the targer options of the Test application are
different?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lx51: ERROR L118</title><link>https://community.arm.com/thread/52693?ContentTypeID=1</link><pubDate>Tue, 21 Oct 2008 23:11:55 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:442ed78b-4e91-4c37-9d33-72b5aea8fc63</guid><dc:creator>Catcus Blip</dc:creator><description>&lt;p&gt;&lt;p&gt;
the second error sould have been amended in C51 V6.10a and better
so download the latest updates. as for the first issue - maybe this
can help? &lt;a href="http://www.keil.com/support/docs/213.htm"&gt;http://www.keil.com/support/docs/213.htm&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>