ARM Technical Support Knowledge Articles

MULTIPLE PUBLIC DEFINITIONS OF ?B_CURRENTBANK

Applies to: RTX51 Real-time Kernel

Answer


Information in this article applies to:


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:  ..OBJL51_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

Article last edited on: 2005-07-15 12:52:16

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential