[Live-devel] Compilation problem
thrivikram cheethirala
chthrivikram at yahoo.com
Thu Jun 22 21:08:28 PDT 2006
Thanks Scot. I have included libLivemdia,
libBasicUsage,libgroupsock,libUsageEnv,
am i still missing any more libraries.
regards,
vikram.
--- Scott Hays <sdhays.neon.com.tw at gmail.com> wrote:
> You aren't including all of the libraries.
> Scott
>
> On 6/22/06, thrivikram cheethirala
> <chthrivikram at yahoo.com> wrote:
> >
> > Here is one such problem
> >
> > # g++ testMPEG1or2VideoReceiver.cpp -I
> > ../liveMedia/include -I
> > /home/NEOS/live/groupsock/include/ -I
> > /home/NEOS/live/UsageEnvironment/include -I
> > /home/NEOS/live/BasicUsageEnvironment/include -L
> > /home/NEOS/live/liveMedia/libliveMedia.a
> > /tmp/cce7JdwA.o(.text+0x21): In function `main':
> > testMPEG1or2VideoReceiver.cpp: undefined reference
> to
> > `BasicTaskScheduler::createNew()'
> >
>
/tmp/cce7JdwA.o(.text+0x2f):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to
> > `BasicUsageEnvironment::createNew(TaskScheduler&)'
> >
>
/tmp/cce7JdwA.o(.text+0x4e):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to
> > `FileSink::createNew(UsageEnvironment&, char
> const*,
> > unsigned int, unsigned int)'
> >
>
/tmp/cce7JdwA.o(.text+0x78):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `our_inet_addr'
> >
>
/tmp/cce7JdwA.o(.text+0x8f):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `Port::Port(unsigned
> short)'
> >
>
/tmp/cce7JdwA.o(.text+0xa3):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `Port::Port(unsigned
> short)'
> >
>
/tmp/cce7JdwA.o(.text+0xcb):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to
> > `Groupsock::Groupsock(UsageEnvironment&, in_addr
> > const&, Port, unsigned char)'
> >
>
/tmp/cce7JdwA.o(.text+0xf2):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to
> > `Groupsock::Groupsock(UsageEnvironment&, in_addr
> > const&, Port, unsigned char)'
> >
>
/tmp/cce7JdwA.o(.text+0x10f):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to
> >
>
`MPEG1or2VideoRTPSource::createNew(UsageEnvironment&,
> > Groupsock*, unsigned char, unsigned int)'
> >
>
/tmp/cce7JdwA.o(.text+0x16c):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to
> > `RTCPInstance::createNew(UsageEnvironment&,
> > Groupsock*, unsigned int, unsigned char const*,
> > RTPSink*, RTPSource const*, unsigned int)'
> >
>
/tmp/cce7JdwA.o(.text+0x1ac):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to
> > `MediaSink::startPlaying(MediaSource&, void
> > (*)(void*), void*)'
> >
>
/tmp/cce7JdwA.o(.text+0x1ed):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `Groupsock::~Groupsock()'
> >
>
/tmp/cce7JdwA.o(.text+0x20d):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `Groupsock::~Groupsock()'
> >
>
/tmp/cce7JdwA.o(.text+0x233):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `Groupsock::~Groupsock()'
> >
>
/tmp/cce7JdwA.o(.text+0x259):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `Groupsock::~Groupsock()'
> > /tmp/cce7JdwA.o(.text+0x29b): In function
> > `afterPlaying(void*)':
> > testMPEG1or2VideoReceiver.cpp: undefined reference
> to
> > `Medium::close(Medium*)'
> >
>
/tmp/cce7JdwA.o(.text+0x2ac):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `Medium::close(Medium*)'
> >
>
/tmp/cce7JdwA.o(.text+0x2bd):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `Medium::close(Medium*)'
> > /tmp/cce7JdwA.o(.text+0x2e8): In function
> > `__static_initialization_and_destruction_0(int,
> int)':
> > testMPEG1or2VideoReceiver.cpp: undefined reference
> to
> > `SECOND'
> >
>
/tmp/cce7JdwA.o(.text+0x2f0):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `operator*(short,
> DelayInterval
> > const&)'
> >
>
/tmp/cce7JdwA.o(.text+0x326):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `operator*(short,
> DelayInterval
> > const&)'
> >
>
/tmp/cce7JdwA.o(.text+0x35c):testMPEG1or2VideoReceiver.cpp:
> > undefined reference to `operator*(short,
> DelayInterval
> > const&)'
> > collect2: ld returned 1 exit status
> >
> > Please Help me
> >
> >
> > thrivikramarao chitirala,
> > Senior Software Engineer,
> > RTG,Honeywell Technologies,
> > Bangalore-76.
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > live-devel mailing list
> > live-devel at lists.live555.com
> >
> http://lists.live555.com/mailman/listinfo/live-devel
> >
> > _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
thrivikramarao chitirala,
Senior Software Engineer,
RTG,Honeywell Technologies,
Bangalore-76.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the live-devel
mailing list