Keil Logo

C51: Unresolved External ?C?CLDOPTR


Information in this article applies to:

  • C51, version 7

SYMPTOM

When writing code for SLE66xxxPE devices, the following linker error is issued:

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  ?C?CLDOPTR

CAUSE

The SLE66xxxPE devices are using special run-time libraries that do not include the following functions: ?C?CLDOPTR, ?C?CSTOPTR, ?C?ILDOPTR, ?C?ISTOPTR, ?C?LLDOPTR, ?C?LSTOPTR.

RESOLUTION

You must set the VARBANKING compiler directive for the SLE66xxxPE devices. In µVision, this directive is enabled under Project — Options for Target — Target with the option 'far' memory type support.

MORE INFORMATION

  • a

    Information in this article applies to:

    • C51, version 7

    SYMPTOM

    When writing code for SLE66xxxPE devices, the following linker error is issued:

    *** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
        SYMBOL:  ?C?CLDOPTR
    

    CAUSE

    The SLE66xxxPE devices are using special run-time libraries that do not include the following functions: ?C?CLDOPTR, ?C?CSTOPTR, ?C?ILDOPTR, ?C?ISTOPTR, ?C?LLDOPTR, ?C?LSTOPTR.

    RESOLUTION

    You must set the VARBANKING compiler directive for the SLE66xxxPE devices. In µVision, this directive is enabled under Project - Options for Target - Target with the option 'far' memory type support.

    MORE INFORMATION


    Refer to VARBANKING in the Cx51 User's Guide.

Last Reviewed: Thursday, February 25, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

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.