We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, I am getting the following error when I am trying to link my project:
*** ERROR L103: EXTERNAL ATTRIBUT DO NOT MATCH PUBLIC SYMBOL: ?_s_denormalise?BYTE MODULE: .\rsa_modexp.obj (RSA_MODEXP)
What can be the possible causes of this error? I looked at the discussion at http://www.keil.com/support/docs/1742.htm
But there is a difference between the situation illustrated there and mine. First of all, my symbol is not a variable but a segment name for the function s_denormalise written in assembly language. Secondly, I am not declaring this function as extern. I have this .A51 source file containing the implementation of s_denormalise and I have a header file(.h) containing the prototype declaration of s_denormalise. I am including this header file in my rsa_modexp.c file and using the function. Then how does this explanation accounts for my case?
If there can be any other cause for this error, please let me know.
Thanks and Regards, venkat.
Hello all, I am indeed lucky!.. I just had to change the memory model for this specific function declaration from Large to Small.
venkat.
why are you even in the totally wasteful LARGE model which is solely provided for those that do not feel they have the energy to take make the effort to write efficient code.
Erik
I am an undergraduate student doing this as part of a course. I understand that using Large model is wasteful. I am learning my lessons though, everyday and I learned from this discussion too... :)
venkat