Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linker error

Status
Not open for further replies.

mshahabuddin

Programmer
Feb 5, 2002
1
US
Hi,

I am trying to run my C code file with an essembly code file. In the header of my C file, I have written all the prototypes of the functions of which the implementation is present in the assembly code file. My C file compiles okay, but when I try to run it, it gives link error
<filename>.obj : error LNK2001: unresolved external symbol <name>
One thing that I dont know is that I defined the prototypes in my header file as
ReturnType FunctionName(Parameters);
and its implementation in the assembly code is such that there is an underscore before the function name, I dont know if it matters b/c I tried to make them similar and that didnt work either.
my C program is a DOS application and I am using Microsoft Visual C++ 6.0 compiler.


I will highly appreciate any help in this regard.

Thanks and best regards,
Shahabuddin Muhammad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top