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

Linker error problem

This is regarding Linker error!!

I am using C51 compiler v5.5 and L51 Linker/Locater v3.70c
Copyright Keil Electronik 1987-1995

I am getting 12 linker errors of type mentioned below.

ERROR 118 : REFERENCE MADE TO ERRONEOUS EXTERNAL
SYMBOL : TXTREQ
MODULE :..APPLIC\LIB\T90PTR1.LIB(TXINITIA)
ADDRESS :92B6H

My project is a compilation of 43 C files which uses its header files.

Is this error created due to false extern declarations?
Would you be able to let me know how to go about?

Parents
  • The first thing you need to do when you see a message that you don't immediately understand is to look up the description of the error in the Manual, or the online help:
    "The specified external symbol that was erroneously processed, is referenced in the specified code address."

    The Linker is reminding you that it's already reported a problem with TXTREQ, and it can't now use that symbol because of that problem!

    As always, you must fix your first error before you move on to subsequent errors - fixing one error at the start of the link may well resolve all of the other "problems!"

Reply
  • The first thing you need to do when you see a message that you don't immediately understand is to look up the description of the error in the Manual, or the online help:
    "The specified external symbol that was erroneously processed, is referenced in the specified code address."

    The Linker is reminding you that it's already reported a problem with TXTREQ, and it can't now use that symbol because of that problem!

    As always, you must fix your first error before you move on to subsequent errors - fixing one error at the start of the link may well resolve all of the other "problems!"

Children