ARM Technical Support Knowledge Articles

PHILIPS MX ROM (HUGE) LINKS WRONG LIBRARIES

Applies to: LX51 Linker/Locator

Answer


Information in this article applies to:


QUESTION

I have a project using Philips MX, a project that has .C and ASM source files. When the ROM ( HUGE ) memory model is selected, I receive the following Linker error:

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  ?C?CCASEX
    MODULE:  opstates.obj (OPSTATES)
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  ?C?CCASEX
    MODULE:  opstates.obj (OPSTATES)
    ADDRESS: 805B94H

What is happening?

ANSWER

When an assembler source is the first input file to LX51, the linker does not detect that the program is translated with ROM (HUGE) and links the wrong libraries.

A work-around is to move the assembler source files down in the list.

This problem is corrected in Version 7.02.

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2005-07-15 14:29:56

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