写dll时出现2019错误,求救啊
>------ Build started: Project: stmp, Configuration: Debug Win32 ------
1>Build started 2010/5/19 18:44:48.
1>InitializeBuildStatus:
1> Touching "Debug\stmp.unsuccessfulbuild".
1>ClCompile:
1> All outputs are up-to-date.
1>ManifestResourceCompile:
1> All outputs are up-to-date.
1>stmp.def(4): warning LNK4017: LIBRARY statement not supported for the target platform; ignored
1> Creating library C:\Users\ffg\Documents\Visual Studio 2010\Projects\stmp\Debug\stmp.lib and object C:\Users\ffg\Documents\Visual Studio 2010\Projects\stmp\Debug\stmp.exp
1>SMailer.obj : error LNK2019: unresolved external symbol __imp__connect@12 referenced in function "private: void __thiscall SMailer::MailSender::conn(void)" (?conn@MailSender@SMailer@@AAEXXZ)
1>SMailer.obj : error LNK2019: unresolved external symbol __imp__htons@4 referenced in function "private: void __thiscall SMailer::MailSender::conn(void)" (?conn@MailSender@SMailer@@AAEXXZ)
1>SMailer.obj : error LNK2019: unresolved external symbol __imp__socket@12 referenced in function "private: void __thiscall SMailer::MailSender::conn(void)" (?conn@MailSender@SMailer@@AAEXXZ)
1>SMailer.obj : error LNK2019: unresolved external symbol __imp__gethostbyname@4 referenced in function "private: void __thiscall SMailer::MailSender::conn(void)" (?conn@MailSender@SMailer@@AAEXXZ)
1>SMailer.obj : error LNK2019: unresolved external symbol __imp__gethostname@8 referenced in function "private: void __thiscall SMailer::MailSender::hello(void)" (?hello@MailSender@SMailer@@AAEXXZ)
1>SMailer.obj : error LNK2019: unresolved external symbol __imp__closesocket@4 referenced in function "private: void __thiscall SMailer::MailSender::quit(void)" (?quit@MailSender@SMailer@@AAEXXZ)
1>SMailer.obj : error LNK2019: unresolved external symbol __imp__recv@16 referenced in function "private: void __thiscall SMailer::MailSender::rcvResponse(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?rcvResponse@MailSender@SMailer@@AAEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>SMailer.obj : error LNK2019: unresolved external symbol __imp__send@16 referenced in function "private: void __thiscall SMailer::MailSender::sendRequest(enum SMailer::MailSender::Operaion,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?sendRequest@MailSender@SMailer@@AAEXW4Operaion@12@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>C:\Users\ffg\Documents\Visual Studio 2010\Projects\stmp\Debug\stmp.dll : fatal error LNK1120: 8 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.93
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
要怎么办啊