[MPlayer-users] problem with live

Cheryl Homiak chomiak at charter.net
Sat Jan 1 18:29:56 CET 2005


Hi all.
I'm still stuck back on the 0707 version of live because i get errors 
every time I try to use a later version of live with mplayer. The problem 
comes when running "make" for mplayer after having installed live in 
/usr/local/lib. I just tried again with MPlayer-1.0pre6a and 
live.2004.12.29. My error message is below. I seem to remember somebody 
having this problem months ago posted onlist but don't know if there was 
ever a satisfactory solution.
Thanks for any help.

make -C libmpdemux
make[1]: Entering directory `/usr/local/src/MPlayer-1.0pre6a/libmpdemux'
gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=k6-2 -mcpu=k6-2 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.. -I../loader   -I../libavcodec -I../libavformat    -I/liveMedia/include -I/UsageEnvironment/include -I/BasicUsageEnvironment/include -I/groupsock/include -o demux_rtp.o demux_rtp.cpp
In file included from demux_rtp.cpp:12:
demux_rtp_internal.h:17:24: liveMedia.hh: No such file or directory
In file included from demux_rtp.cpp:12:
demux_rtp_internal.h:22: error: type specifier omitted for parameter `
    MediaSubsession'
demux_rtp_internal.h:22: error: parse error before `*' token
demux_rtp_internal.h:24: error: type specifier omitted for parameter `
    MediaSubsession'
demux_rtp_internal.h:24: error: parse error before `*' token
demux_rtp_internal.h:33: error: parse error before `*' token
demux_rtp_internal.h:40: error: parse error before `*' token
demux_rtp.cpp:14:36: BasicUsageEnvironment.hh: No such file or directory
demux_rtp.cpp:15:24: liveMedia.hh: No such file or directory
demux_rtp.cpp:16:30: GroupsockHelper.hh: No such file or directory
demux_rtp.cpp:54: error: parse error before `*' token
demux_rtp.cpp:58: error: syntax error before `*' token
demux_rtp.cpp:59: error: ISO C++ forbids defining types within return type
demux_rtp.cpp:59: error: syntax error before `*' token
demux_rtp.cpp:60: error: non-member function `demuxer_t* ourDemuxer()' cannot
    have `const' method qualifier
demux_rtp.cpp: In function `demuxer_t* ourDemuxer()':
demux_rtp.cpp:60: error: `fOurDemuxer' undeclared (first use this function)
demux_rtp.cpp:60: error: (Each undeclared identifier is reported only once for
    each function it appears in.)
demux_rtp.cpp: At global scope:
demux_rtp.cpp:61: error: non-member function `const char* tag()' cannot have `
    const' method qualifier
demux_rtp.cpp: In function `const char* tag()':
demux_rtp.cpp:61: error: `fTag' undeclared (first use this function)
demux_rtp.cpp: At global scope:
demux_rtp.cpp:66: error: 'Boolean' is used as a type, but is not defined as a
    type.
demux_rtp.cpp:79: error: parse error before `private'
demux_rtp.cpp:83: error: syntax error before `*' token
demux_rtp.cpp:84: error: syntax error before `*' token
demux_rtp.cpp:85: error: `demuxer_t*fOurDemuxer' used prior to declaration
demux_rtp.cpp:86: error: `const char*fTag' used prior to declaration
demux_rtp.cpp:87: error: parse error before `}' token
demux_rtp.cpp:93: error: syntax error before `*' token
demux_rtp.cpp:94: error: syntax error before `*' token
demux_rtp.cpp:95: error: syntax error before `*' token
demux_rtp.cpp:104: error: `RTSPClient' was not declared in this scope
demux_rtp.cpp:104: error: `client' was not declared in this scope
demux_rtp.cpp:104: error: parse error before `const'
demux_rtp.cpp: In function `char* openURL_rtsp(...)':
demux_rtp.cpp:108: error: `client' undeclared (first use this function)
demux_rtp.cpp:108: error: `url' undeclared (first use this function)
demux_rtp.cpp: At global scope:
demux_rtp.cpp:114: error: `SIPClient' was not declared in this scope
demux_rtp.cpp:114: error: parse error before `const'
demux_rtp.cpp: In function `demuxer_t* demux_open_rtp(demuxer_t*)':
demux_rtp.cpp:128: error: `Boolean' undeclared (first use this function)
demux_rtp.cpp:128: error: parse error before `=' token
demux_rtp.cpp:130: error: `TaskScheduler' undeclared (first use this function)
demux_rtp.cpp:130: error: `scheduler' undeclared (first use this function)
demux_rtp.cpp:130: error: `BasicTaskScheduler' undeclared (first use this
    function)
demux_rtp.cpp:130: error: parse error before `::' token
demux_rtp.cpp:132: error: `UsageEnvironment' undeclared (first use this
    function)
demux_rtp.cpp:132: error: `env' undeclared (first use this function)
demux_rtp.cpp:132: error: `BasicUsageEnvironment' undeclared (first use this
    function)
demux_rtp.cpp:132: error: parse error before `::' token
demux_rtp.cpp:135: error: `RTSPClient' undeclared (first use this function)
demux_rtp.cpp:135: error: `rtspClient' undeclared (first use this function)
demux_rtp.cpp:136: error: `SIPClient' undeclared (first use this function)
demux_rtp.cpp:136: error: `sipClient' undeclared (first use this function)
demux_rtp.cpp:151: error: parse error before `::' token
demux_rtp.cpp:160: error: parse error before `::' token
demux_rtp.cpp:179: error: `MediaSession' undeclared (first use this function)
demux_rtp.cpp:179: error: `mediaSession' undeclared (first use this function)
demux_rtp.cpp:179: error: parse error before `::' token
demux_rtp.cpp:187: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:188: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp:189: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:196: error: `MediaSubsessionIterator' undeclared (first use this
    function)
demux_rtp.cpp:196: error: parse error before `(' token
demux_rtp.cpp:197: error: `MediaSubsession' undeclared (first use this
    function)
demux_rtp.cpp:197: error: `subsession' undeclared (first use this function)
demux_rtp.cpp:199: error: `iter' undeclared (first use this function)
demux_rtp.cpp:221: error: `increaseReceiveBufferTo' undeclared (first use this
    function)
demux_rtp.cpp:229: error: `False' undeclared (first use this function)
demux_rtp.cpp:252: error: 'class ReadBufferQueue' has no member named '
    otherQueue'
demux_rtp.cpp:257: error: 'class ReadBufferQueue' has no member named '
    otherQueue'
demux_rtp.cpp:262: error: `success' undeclared (first use this function)
demux_rtp.cpp:262: error: `True' undeclared (first use this function)
demux_rtp.cpp: At global scope:
demux_rtp.cpp:294: error: type specifier omitted for parameter `Boolean'
demux_rtp.cpp:294: error: parse error before `,' token
demux_rtp.cpp:340: error: parse error before `*' token
demux_rtp.cpp:346: error: redefinition of `demux_packet_t*dp'
demux_rtp.cpp:72: error: `demux_packet_t*dp' previously declared here
demux_rtp.cpp:346: error: `demuxer' was not declared in this scope
demux_rtp.cpp:346: error: `ds' was not declared in this scope
demux_rtp.cpp:346: error: `ptsBehind' was not declared in this scope
demux_rtp.cpp:347: error: parse error before `if'
demux_rtp.cpp:349: error: ISO C++ forbids declaration of `packetData' with no
    type
demux_rtp.cpp:349: error: invalid conversion from `unsigned char*' to `int'
demux_rtp.cpp:350: error: ISO C++ forbids declaration of `packetDataLen' with
    no type
demux_rtp.cpp:351: error: ISO C++ forbids declaration of `pts' with no type
demux_rtp.cpp:351: warning: converting to `int' from `float'
demux_rtp.cpp:353: error: parse error before `return'
demux_rtp.cpp:356: error: parse error before `*' token
demux_rtp.cpp:363: error: parse error before `if'
demux_rtp.cpp:374: error: redefinition of `demux_packet_t*dp'
demux_rtp.cpp:346: error: `demux_packet_t*dp' previously defined here
demux_rtp.cpp:374: error: `dataLen' was not declared in this scope
demux_rtp.cpp:375: error: parse error before `if'
demux_rtp.cpp:378: error: `data' was not declared in this scope
demux_rtp.cpp:378: error: `dataLen' was not declared in this scope
demux_rtp.cpp:378: error: ISO C++ forbids declaration of `memmove' with no type
demux_rtp.cpp:378: error: `int memmove' redeclared as different kind of symbol
/usr/include/string.h:43: error: previous declaration of `void* memmove(void*,
    const void*, unsigned int)'
demux_rtp.cpp:378: error: initializer list being treated as compound expression
demux_rtp.cpp:379: error: syntax error before `->' token
demux_rtp.cpp:380: error: syntax error before `->' token
demux_rtp.cpp:381: error: syntax error before `->' token
demux_rtp.cpp: In function `void demux_close_rtp(demuxer_t*)':
demux_rtp.cpp:398: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:399: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:402: error: `Medium' undeclared (first use this function)
demux_rtp.cpp:402: error: parse error before `::' token
demux_rtp.cpp: In function `void afterReading(void*, unsigned int, unsigned
    int, timeval, unsigned int)':
demux_rtp.cpp:427: error: `ourDemuxer' undeclared (first use this function)
demux_rtp.cpp:432: error: 'class ReadBufferQueue' has no member named 'dp'
demux_rtp.cpp:437: error: `Boolean' undeclared (first use this function)
demux_rtp.cpp:437: error: parse error before `=' token
demux_rtp.cpp:439: error: `hasBeenSynchronized' undeclared (first use this
    function)
demux_rtp.cpp:440: error: 'class ReadBufferQueue' has no member named '
    prevPacketWasSynchronized'
demux_rtp.cpp:442: error: `tag' undeclared (first use this function)
demux_rtp.cpp:455: error: 'class ReadBufferQueue' has no member named '
    prevPacketPTS'
demux_rtp.cpp:457: error: 'class ReadBufferQueue' has no member named '
    prevPacketWasSynchronized'
demux_rtp.cpp:463: error: 'class ReadBufferQueue' has no member named '
    prevPacketPTS'
demux_rtp.cpp:465: error: 'class ReadBufferQueue' has no member named '
    prevPacketWasSynchronized'
demux_rtp.cpp:471: error: 'class ReadBufferQueue' has no member named '
    blockingFlag'
demux_rtp.cpp: In function `void onSourceClosure(void*)':
demux_rtp.cpp:476: error: `ourDemuxer' undeclared (first use this function)
demux_rtp.cpp:481: error: 'class ReadBufferQueue' has no member named '
    blockingFlag'
demux_rtp.cpp: At global scope:
demux_rtp.cpp:485: error: type specifier omitted for parameter `Boolean'
demux_rtp.cpp:485: error: parse error before `,' token
demux_rtp.cpp: In function `demux_packet_t* getBuffer(...)':
demux_rtp.cpp:490: error: `demuxer' undeclared (first use this function)
demux_rtp.cpp:492: error: `ds' undeclared (first use this function)
demux_rtp.cpp:501: error: `readSource' undeclared (first use this function)
demux_rtp.cpp:507: error: `mustGetNewData' undeclared (first use this function)
demux_rtp.cpp:509: error: `getPendingBuffer' undeclared (first use this
    function)
demux_rtp.cpp:511: error: `ptsBehind' undeclared (first use this function)
demux_rtp.cpp:518: error: 'class ReadBufferQueue' has no member named 'dp'
demux_rtp.cpp:522: error: 'class ReadBufferQueue' has no member named '
    blockingFlag'
demux_rtp.cpp:529: error: 'class ReadBufferQueue' has no member named '
    blockingFlag'
demux_rtp.cpp:532: error: 'class ReadBufferQueue' has no member named '
    prevPacketPTS'
demux_rtp.cpp:534: error: 'class ReadBufferQueue' has no member named '
    prevPacketWasSynchronized'
demux_rtp.cpp:534: error: 'class ReadBufferQueue' has no member named '
    otherQueue'
demux_rtp.cpp:535: error: 'class ReadBufferQueue' has no member named '
    otherQueue'
demux_rtp.cpp:536: error: 'class ReadBufferQueue' has no member named '
    otherQueue'
demux_rtp.cpp:537: error: 'class ReadBufferQueue' has no member named '
    otherQueue'
demux_rtp.cpp:538: error: 'class ReadBufferQueue' has no member named '
    prevPacketPTS'
demux_rtp.cpp:545: error: `savePendingBuffer' undeclared (first use this
    function)
demux_rtp.cpp: In function `void teardownRTSPorSIPSession(RTPState*)':
demux_rtp.cpp:552: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:554: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:555: error: parse error before `(' token
demux_rtp.cpp:559: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:561: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp:562: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp: At global scope:
demux_rtp.cpp:568: error: parse error before `*' token
demux_rtp.cpp: In destructor `virtual ReadBufferQueue::~ReadBufferQueue()':
demux_rtp.cpp:581: error: `pendingDPHead' undeclared (first use this function)
demux_rtp.cpp: At global scope:
demux_rtp.cpp:590: error: no `void
    ReadBufferQueue::savePendingBuffer(demux_packet_t*)' member function
    declared in class `ReadBufferQueue'
demux_rtp.cpp:601: error: no `demux_packet_t*
    ReadBufferQueue::getPendingBuffer()' member function declared in class `
    ReadBufferQueue'
{standard input}: Assembler messages:
{standard input}:54: Error: symbol `dp' is already defined
{standard input}:84: Error: symbol `dp' is already defined
make[1]: *** [demux_rtp.o] Error 1
make[1]: Leaving directory `/usr/local/src/MPlayer-1.0pre6a/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

-- 
Cheryl

"Where your treasure is, there will your heart be also."




More information about the MPlayer-users mailing list