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 FIXUP MODULE: ..\SEED_KEY_16UC40.LIB (SEED_KEY_LIB) SEGMENT: ?PR?_POWEROF?SEED_KEY_LIB OFFSET: 0038H
I have written the code in C, and I am unaware of any thing related to assembly code.
Can anyone help me in find the root cause of the error and hints on solving the same?
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? http://www.keil.com/support/docs/213.htm
Thanks Tamir,
I will give a detailed pic of what I am actually trying to do.
I have created a LIB file which two functions:
1. Get_Access_Key(param1, param2) 2. powerOf(param1, param2), which is being called by the Get_Access_Key() function.
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.
Having said what I am doing, does your explaination still hold good?
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?