[MPlayer-users] RTP/RTSP

James Lancaster james at kirk.math.twsu.edu
Sun Dec 8 07:01:18 CET 2002


On Friday 06 December 2002 05:45, you wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> can anybody compile cvs mplayer with live?
>

I tried as well.

> i compiled live.2002.08.06.tar.gz,
> because i get these errors at compile time:
> gcc --version == 2.95.4

gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

update as of 23:18 07 Dec 2002 localtime (GMT -6)

>
> i using debian sid(up-to-date -ed version)

Red Hat 8.0 (if the gcc version didn't give it away :) ) latest updates from 
rh

>
> any clue?????
>
> gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../loader
> -I/usr/local/lib/live/liveMedia/include
> -I/usr/local/lib/live/UsageEnvironment/include
> -I/usr/local/lib/live/BasicUsageEnvironment/include
> -I/usr/local/lib/live/groupsock/include -o demux_rtp.o demux_rtp.cpp
> demux_rtp.cpp: In function `void demux_open_rtp(demuxer_t *)':
> demux_rtp.cpp:101: `LIVEMEDIA_LIBRARY_VERSION_INT' undeclared (first use
> this function)
> demux_rtp.cpp:101: (Each undeclared identifier is reported only once
> demux_rtp.cpp:101: for each function it appears in.)
> demux_rtp.cpp:123: no matching function for call to `RTSPClient::createNew
> (UsageEnvironment &, int &, const char[8])'
> /usr/local/lib/live/liveMedia/include/RTSPClient.hh:43: candidates are:
> static class RTSPClient * RTSPClient::createNew(UsageEnvironment &, int =
> 0)
> demux_rtp.cpp: In function `void afterReading(void *, unsigned int,
> timeval)':
> demux_rtp.cpp:406: no matching function for call to
> `RTPSource::hasBeenSynchronizedUsingRTCP ()'
> make: *** [demux_rtp.o] Error 1
>
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

gcc -c -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math 
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I../loader  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/local/lib/live/liveMedia/include 
-I/usr/local/lib/live/UsageEnvironment/include 
-I/usr/local/lib/live/BasicUsageEnvironment/include 
-I/usr/local/lib/live/groupsock/include -o demux_rtp.o demux_rtp.cpp
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
                 from /usr/local/lib/live/groupsock/include/NetAddress.hh:37,
                 from 
/usr/local/lib/live/groupsock/include/NetInterface.hh:25,
                 from /usr/local/lib/live/groupsock/include/Groupsock.hh:33,
                 from 
/usr/local/lib/live/liveMedia/include/RTPInterface.hh:30,
                 from /usr/local/lib/live/liveMedia/include/RTPSink.hh:28,
                 from 
/usr/local/lib/live/liveMedia/include/MultiFramedRTPSink.hh:26,
                 from 
/usr/local/lib/live/liveMedia/include/MPEGAudioRTPSink.hh:25,
                 from /usr/local/lib/live/liveMedia/include/liveMedia.hh:27,
                 from demux_rtp.cpp:7:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This 
file includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples include substituting the <X> header for the <X.h> header for C++ 
includes, or <sstream> instead of the deprecated header <strstream.h>. To 
disable this warning use -Wno-deprecated.
demux_rtp.cpp: In function `int demux_rtp_fill_buffer(demuxer_t*,
   demux_stream_t*)':
demux_rtp.cpp:317: parse error before `<<' token
make[1]: *** [demux_rtp.o] Error 1
make[1]: Leaving directory `/root/cvs/main/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

(from demux_rtp.cpp (not a patch (here anyway))
<<<<<<< demux_rtp.cpp
//    scheduler.blockMyself(&bufferQueue->blockingFlag);
=======
#if USAGEENVIRONMENT_LIBRARY_VERSION_INT >= 1038614400
    scheduler.doEventLoop(&bufferQueue->blockingFlag);
#else
    scheduler.blockMyself(&bufferQueue->blockingFlag);
#endif
>>>>>>> 1.8
  }

missaplied patch? works after that. (I can create a patch to fix this 
(forgotten much of patch, if I need to I can, just give me a few days)


James L




More information about the MPlayer-users mailing list