This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with xfar variable & C51BL.LIB


linker message:
ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL :?C?CSTOPTR
MODULE : C:\KEIL\C51\LIB\C51BL.LIB (STRNCPY)


this error is present if I only assign a value char to a variable char and a variable far is declared.
x.e. f='\0'


classic 8051 micro
Ver C51 6.20 & 6.23
LIB 4.20
far support enabled

Parents

  • no I have not included XBANKING.A51 in my project, because I have configured xfar variables only with file : L51_bank.a51...
    with P1.4,P1.5 & P1.6 port pin.

    so the assembler STOPTR is no present in
    XBANKING.A51.

    /*******************/
    if I not declare a far variable or I not use sprintf function the error is not present.

    thanks Francesco


Reply

  • no I have not included XBANKING.A51 in my project, because I have configured xfar variables only with file : L51_bank.a51...
    with P1.4,P1.5 & P1.6 port pin.

    so the assembler STOPTR is no present in
    XBANKING.A51.

    /*******************/
    if I not declare a far variable or I not use sprintf function the error is not present.

    thanks Francesco


Children