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>