|
|||||||||||
|
Technical Support Support Resources
Product Information |
BL51: Error L103 (External Attribute Do Not Match Public)Information in this article applies to:
SYMPTOMSWhen I compile and link my program, I receive the following error message from the linker:
I have a global variable declared as follows:
and an external definition declared as follows:
CAUSEThe problem is that the variable is declared to reside in CODE memory and the external reference declares that the variable resides in the default variable space (which is DATA, PDATA, or XDATA). RESOLUTIONChange your extern declaration to match the variable declaration. For example:
MORE INFORMATION
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.