<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
<BR>
I feel you should add the other libs like libgroupsock.lib, libbasicusageenvironment.lib, etc while linking. If you dont have them build them first.<BR>
<BR>
fyi<BR><BR><BR>
<BLOCKQUOTE>
<HR>
Date: Thu, 31 Jan 2008 11:50:38 -0500<BR>From: aravind.account@gmail.com<BR>To: live-devel@ns.live555.com<BR>Subject: [Live-devel] Regarding Libraries<BR><BR>Hello friends,<BR>I am a novice and developing a small web server to stream MP3 data.I tried to link and compile the testMP3streamer.cpp .I included all the header files and library files.But getting the following linker error.searched in a lot of forums,but no answer.I m using VC++ 6.0.Can someone please tell me what the error maybe and how I can resolve it.<BR>The problem has to be with me.But please help me.<BR><BR><BR><BR>ERROR :<BR>Linking...<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static class RTCPInstance * __cdecl RTCPInstance::createNew(class UsageEnvironment &,class Groupsock *,unsigned int,unsigned char const *,class RTPSink *,class RTPSource const <BR>*,unsigned int)" (?createNew@RTCPInstance@@SAPAV1@AAVUsageEnvironment@@PAVGroupsock@@IPBEPAVRTPSink
<DIV>@@PBVRTPSource@@I@Z)<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol _gethostname@8<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static class MPEG1or2AudioRTPSink * __cdecl MPEG1or2AudioRTPSink::createNew(class UsageEnvironment &,class Groupsock *)" (?createNew@MPEG1or2AudioRTPSink@@SAPAV1@AAVUsageEnviro<BR>nment@@PAVGroupsock@@@Z)<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: __thiscall Groupsock::Groupsock(class UsageEnvironment &,struct in_addr const &,class Port,unsigned char)" (??0Groupsock@@QAE@AAVUsageEnvironment@@ABUin_addr@@VPort@@E@Z)<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: __thiscall Port::Port(unsigned short)" (??0Port@@QAE@G@Z)<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol _our_inet_addr<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static class BasicUsageEnvironment * __cdecl BasicUsageEnvironment::createNew(class TaskScheduler &)" (?createNew@BasicUsageEnvironment@@SAPAV1@AAVTaskScheduler@@@Z)<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static class BasicTaskScheduler * __cdecl BasicTaskScheduler::createNew(void)" (?createNew@BasicTaskScheduler@@SAPAV1@XZ)<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall MediaSink::startPlaying(class MediaSource &,void (__cdecl*)(void *),void *)" (?startPlaying@MediaSink@@QAEIAAVMediaSource@@P6AXPAX@Z1@Z)<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static class MP3FileSource * __cdecl MP3FileSource::createNew(class UsageEnvironment &,char const *)" (?createNew@MP3FileSource@@SAPAV1@AAVUsageEnvironment@@PBD@Z)<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Medium::close(class Medium *)" (?close@Medium@@SAXPAV1@@Z)<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol "class DelayInterval __cdecl operator*(short,class DelayInterval const &)" (??D@YA?AVDelayInterval@@FABV0@@Z)<BR>testMP3Streamer.obj : error LNK2001: unresolved external symbol "class DelayInterval const DELAY_SECOND" (?DELAY_SECOND@@3VDelayInterval@@B)<BR>LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16<BR>Debug/MP3Streamer.exe : fatal error LNK1120: 14 unresolved externals<BR>Error executing link.exe.<BR><BR>MP3Streamer.exe - 15 error(s), 0 warning(s)<BR><BR><BR><BR><BR>Thank You<BR>Aravind</DIV></BLOCKQUOTE><br /><hr />Shed those extra pounds with MSN and The Biggest Loser! <a href='http://biggestloser.msn.com/' target='_new'>Learn more.</a></body>
</html>