[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Link problems in win32.o of ns



When I run command "nmake makefile.vc" under windows95,the LINK program reports following problems. 
-------------------------------------------- 
win32.o : error LNK2001: unresolved external symbol _gethostname@8
win32.o : error LNK2001: unresolved external symbol __imp__MessageBoxA@16
win32.o : error LNK2001: unresolved external symbol __imp__MessageBeep@4
win32.o : error LNK2001: unresolved external symbol __imp__SetMessageQueue@4
win32.o : error LNK2001: unresolved external symbol _WSAStartup@8
____________________________________________
  
I don't know why LINK can't find SDK functions such as gethostname,MessageBox,MessageBeep,.
Thanks!