[Live-devel] Live media Libraries

Eric Flickner eric.flickner at gmail.com
Thu Jan 31 14:43:11 PST 2008


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.

Eric

2008/1/31 Aravind K <aravind.account at gmail.com>:

> 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.
>
>
> Please help.
>
>
> Linking...
>
> testMP3Streamer.obj : error LNK2001: unresolved external symbol
> _gethostname at 8
>
> libBasicUsageEnvironment.lib(BasicUsageEnvironment.obj) : error LNK2001:
> unresolved external symbol __imp__WSAGetLastError at 0
>
> libBasicUsageEnvironment.lib(BasicTaskScheduler.obj) : error LNK2001:
> unresolved external symbol __imp__WSAGetLastError at 0
>
> libBasicUsageEnvironment.lib(BasicTaskScheduler.obj) : error LNK2001:
> unresolved external symbol ___WSAFDIsSet at 8
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol ___WSAFDIsSet at 8
>
> libBasicUsageEnvironment.lib(BasicTaskScheduler.obj) : error LNK2001:
> unresolved external symbol __imp__socket at 12
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__socket at 12
>
> libBasicUsageEnvironment.lib(BasicTaskScheduler.obj) : error LNK2001:
> unresolved external symbol __imp__select at 20
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__select at 20
>
> libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external
> symbol __imp__select at 20
>
> libgroupsock.lib(NetAddress.obj) : error LNK2001: unresolved external
> symbol __imp__htons at 4
>
> libgroupsock.lib(NetAddress.obj) : error LNK2001: unresolved external
> symbol __imp__ntohs at 4
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__ntohs at 4
>
> libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol
> __imp__ntohs at 4
>
> libliveMedia.lib(RTPInterface.obj) : error LNK2001: unresolved external
> symbol __imp__ntohs at 4
>
> libgroupsock.lib(NetAddress.obj) : error LNK2001: unresolved external
> symbol __imp__ntohl at 4
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__ntohl at 4
>
> libliveMedia.lib(RTCP.obj) : error LNK2001: unresolved external symbol
> __imp__ntohl at 4
>
> libliveMedia.lib(MediaSink.obj) : error LNK2001: unresolved external
> symbol __imp__ntohl at 4
>
> libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol
> __imp__inet_addr at 4
>
> libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol
> __imp__inet_ntoa at 4
>
> libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol
> __imp__WSACleanup at 0
>
> libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol
> __imp__WSAStartup at 8
>
> libgroupsock.lib(inet.obj) : error LNK2001: unresolved external symbol
> __imp__gethostbyname at 4
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__gethostbyname at 4
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__bind at 12
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__closesocket at 4
>
> libgroupsock.lib(NetInterface.obj) : error LNK2001: unresolved external
> symbol __imp__closesocket at 4
>
> libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external
> symbol __imp__closesocket at 4
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__setsockopt at 20
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__ioctlsocket at 12
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__recvfrom at 24
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__sendto at 24
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__getsockopt at 20
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__getsockname at 12
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__gethostname at 8
>
> libgroupsock.lib(GroupsockHelper.obj) : error LNK2001: unresolved external
> symbol __imp__htonl at 4
>
> libliveMedia.lib(MediaSink.obj) : error LNK2001: unresolved external
> symbol __imp__htonl at 4
>
> libliveMedia.lib(RTPInterface.obj) : error LNK2001: unresolved external
> symbol __imp__send at 16
>
> libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external
> symbol __imp__send at 16
>
> libliveMedia.lib(MP3StreamState.obj) : error LNK2001: unresolved external
> symbol __imp__recv at 16
>
> Debug/StreamMP3.exe : fatal error LNK1120: 25 unresolved externals
>
> Error executing link.exe.
>
>
>
> StreamMP3.exe - 42 error(s), 0 warning(s)
>
>
> Thank you
> Aravind
>
>
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>


-- 
Eric Flickner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20080131/746228b9/attachment-0001.html 


More information about the live-devel mailing list