<div>You need to link against Ws2_32.lib. Ws2_32.lib includes the WinSock2 libraries and the functions listed below. I have Visual Studio projects and solutions if you are interested in these please send me a private email.</div>
<div> </div>
<div>Eric<br><br></div>
<div class="gmail_quote">2008/1/31 Aravind K <<a href="mailto:aravind.account@gmail.com">aravind.account@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Even after I included all the lib files I am getting the following error.Someone please help .I am trying to solve this for more than 2 weeks now.</span></p>
<p><br><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Please help.<br></span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><br></span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Linking...</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">testMP3Streamer.obj : error LNK2001: unresolved external symbol _gethostname@8</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libBasicUsageEnvironment.lib(BasicUsageEnvironment.obj) : error LNK2001: unresolved external symbol __imp__WSAGetLastError@0</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libBasicUsageEnvironment.lib(BasicTaskScheduler.obj) : error LNK2001: unresolved external symbol __imp__WSAGetLastError@0</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libBasicUsageEnvironment.lib(BasicTaskScheduler.obj) : error LNK2001: unresolved external symbol ___WSAFDIsSet@8</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol ___WSAFDIsSet@8</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libBasicUsageEnvironment.lib(BasicTaskScheduler.obj) : error LNK2001: unresolved external symbol __imp__socket@12</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__socket@12</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libBasicUsageEnvironment.lib(BasicTaskScheduler.obj) : error LNK2001: unresolved external symbol __imp__select@20</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__select@20</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol __imp__select@20</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(NetAddress.obj) : error LNK2001: unresolved external symbol __imp__htons@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(NetAddress.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libliveMedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(NetAddress.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libliveMedia.lib(MediaSink.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol __imp__inet_addr@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol __imp__inet_ntoa@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol __imp__WSACleanup@0</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol __imp__WSAStartup@8</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol __imp__gethostbyname@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__gethostbyname@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__bind@12</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__closesocket@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(NetInterface.obj) : error LNK2001: unresolved external symbol __imp__closesocket@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol __imp__closesocket@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__setsockopt@20</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__ioctlsocket@12</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__recvfrom@24</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__sendto@24</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__getsockopt@20</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__getsockname@12</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__gethostname@8</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external symbol __imp__htonl@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libliveMedia.lib(MediaSink.obj) : error LNK2001: unresolved external symbol __imp__htonl@4</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libliveMedia.lib(RTPInterface.obj) : error LNK2001: unresolved external symbol __imp__send@16</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol __imp__send@16</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external symbol __imp__recv@16</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Debug/StreamMP3.exe : fatal error LNK1120: 25 unresolved externals</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Error executing link.exe.</span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></p>
<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">StreamMP3.exe - 42 error(s), 0 warning(s)</span></p><br>
<p><br></p>Thank you<br><font color="#888888">Aravind<br>
<p><br></p>
<p><br><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span></p></font><br>_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Eric Flickner<br>