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?
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!"
Yes You are absolutely right... The error which i have mentioned is the first error. subsequently it starts giving TXTREQ symbol. At present i am compiling and linking in DOS Prompt. How can i build the file in microvision debugger.
"How can i build the file in microvision debugger." Start uVision, go to the 'Books' tab in the Project window, and open the "uVision2 Getting Started" guide. (Or, Help/Open Books Window in later versions of uVision2) Work through the example projects.