Keil Logo

RTX51: MULTIPLE PUBLIC DEFINITIONS OF ?B_CURRENTBANK


Information in this article applies to:

  • RTX51 Version 5.10

SYMPTOMS

I am using bank switching and when I build my project, I get the following error:

*** ERROR 104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  ?B_CURRENTBANK
    MODULE:  ..\OBJ\L51_BANK.OBJ (?BANK?SWITCHING)

What am I doing wrong?

CAUSE

You have not configured RTX51 to use code banking, so the ?B_CURRENTBANK symbol is being defined by both RTX51 and the L51_BANK.A51 code banking file, generating the error.

RESOLUTION

Run RTXSETUP and open your RTXSETUP.DCL file. There is an option titled 'Use bankswitching'. Make sure that this option is checked.

Alternatively, you can edit your RTXSETUP.DCL file directly, and set the symbol ?RTX_BANKSWITCHING to 1.

MORE INFORMATION

Last Reviewed: Friday, July 15, 2005


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.