ARM Technical Support Knowledge Articles

WARNING 22 (CLASS RANGE NOT GIVEN)

Applies to: L166 Linker/Locator

Answer


Information in this article applies to:


QUESTION

When I compile and link my 166 application program, I get the following warnings from the linker.

*** WARNING 22: CLASS RANGE NOT GIVEN IN INVOCATION LINE
    CLASS:   NCONST

*** WARNING 22: CLASS RANGE NOT GIVEN IN INVOCATION LINE
    CLASS:   NCODE

*** WARNING 22: CLASS RANGE NOT GIVEN IN INVOCATION LINE
    CLASS:   NDATA

What's wrong?

ANSWER

You must specify the address range for each of the above classes on the L166 Linker command line. You may do this from uVision by selecting the L166 Linker from the Options menu. Select the classes tab and enter the class ranges on the provided input lines.

For example:

NDATA(0x008000-0x00BFFF),
NCODE(0x000000-0x003FFF),
NCONST(0x000000-0x003FFF)

MORE INFORMATION

Article last edited on: 2005-07-15 10:15:43

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