Technical Support

LX51: PHILIPS MX ROM (HUGE) LINKS WRONG LIBRARIES


Information in this article applies to:

  • C51 Version 7.01

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.

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure