![]() |
|
#1
|
|||
|
|||
Linker Error: Undefined SymbolHi, I'm programming in C using the Turbo C (TC) and Turbo Debugger (TD) (and I may use these programs). I have a program with some files who share variables and user defined structures.
When I try to build the project, I get these error messages: - Linker Error: Undefined symbol _MAIN in module CO.ASM (and of course I have a main function) - Linker Error: Undefined symbol _STACK1 in module TEST.C (this is a module that I use in the main program, where I've defined a variable that I use in TEST.C as extern variable) - Linker Error: Undefined symbol _STACK2 in module TEST.C (it is curious that I have other shared stack variables between both files and I have no problem with them) Can anybody help me? Thanks! |
|
#2
|
|||
|
|||
Re: Linker Error: Undefined SymbolQuote:
|
|
#3
|
|||
|
|||
Re: Linker Error: Undefined SymbolTry use MS VS express edition.
|
|
#4
|
|||
|
|||
Re: Linker Error: Undefined Symbol [Solved]Hi,
thanks for your answers. I solved the error, it was due to I did not added the module that contains the main class to the project. I know TC and TD are antique tools, but I have to use them because it's part of a school subject. See you. |
Recent GIDBlog
Moving again by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linker Error | athika_32 | C Programming Language | 6 | 03-Dec-2007 07:38 |
| Resolving "error LNK2001" | vkiran_v | MS Visual C++ / MFC Forum | 6 | 11-Jul-2007 10:41 |
| Flex, bison multifunction calculator | annatsos | C Programming Language | 6 | 03-May-2007 10:50 |
| BCC45 Linker Question; Need Help | poden | C++ Forum | 9 | 13-Nov-2006 12:35 |
| A linker error | coder | MS Visual C++ / MFC Forum | 4 | 19-Feb-2006 09:50 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The