unresolved external symbols problem

Hello,

i am a student who just started to learn the assembly language.
i have a problem which i can't solve and i can't find the problem.
i'm using VS2005 and the program has several files.
the error is pointing to the two last functions - strcmp and dwordcmp.
my dos.bat file looks like this:
"do main,main,BinTreeShow,NodeDWORD,NodeSTR,D2Str10,StrLen,WriteStr,DwordCmp,Strcmp"

my do.bat looks like that:
echo on
if not %2x==x ml /Zi /c /coff %2.asm
if not %3x==x ml /Zi /c /coff %3.asm
if not %4x==x ml /Zi /c /coff %4.asm
if not %5x==x ml /Zi /c /coff %5.asm
if not %6x==x ml /Zi /c /coff %6.asm
if not %7x==x ml /Zi /c /coff %7.asm
if not %8x==x ml /Zi /c /coff %8.asm
if not %1x==x link /out:%1.exe %2 %3 %4 %5 %6 %7 %8 kernel32.lib /subsystem:console /debug

The start of the main program file looks like that:
Main
.386
.model flat

include WinCon.inc
include bintree.inc
extern BinTreeShow:Near, NodeDWORD:Near, NodeSTR:Near, DwordCmp:Near, Strcmp:Near

.data

the dwordcmp and strcmp looks like this:

Title StrCmp

.386
.model flat

public StrCmp
.
.
.
.
pop ebp

ret 8

end

i hope i proveded enough details about the problem.
if anyone have any idea - please let me know.
thanks!
[1580 byte] By [alon1980] at [2007-11-20 5:30:50]