[MPlayer-users] Compiled failled with alsa-0.9.x enabled with pre6 - pre8

Steve Kieu haiquy at yahoo.com
Thu Sep 19 01:20:02 CEST 2002


Hi,

I just test to complie mplayer with alsa enabled
(0.9.0rc3) and compilation failled.

demux_rtp.cpp:78: parse error before `private'
demux_rtp.cpp:81: `const char * fTag' used prior to
declaration
demux_rtp.cpp:82: parse error before `}'
demux_rtp.cpp:88: syntax error before `*'
demux_rtp.cpp:89: syntax error before `*'
demux_rtp.cpp: In function `void
demux_open_rtp(demuxer_t *)':
demux_rtp.cpp:97: `TaskScheduler' undeclared (first
use this function)
demux_rtp.cpp:97: `scheduler' undeclared (first use
this function)
demux_rtp.cpp:97: `BasicTaskScheduler' undeclared
(first use this function)
demux_rtp.cpp:97: parse error before `::'
demux_rtp.cpp:99: `UsageEnvironment' undeclared (first
use this function)
demux_rtp.cpp:99: `env' undeclared (first use this
function)
demux_rtp.cpp:99: `BasicUsageEnvironment' undeclared
(first use this function)
demux_rtp.cpp:99: parse error before `::'
demux_rtp.cpp:102: `RTSPClient' undeclared (first use
this function)
demux_rtp.cpp:102: `rtspClient' undeclared (first use
this function)
demux_rtp.cpp:114: parse error before `::'
demux_rtp.cpp:130: `MediaSession' undeclared (first
use this function)
demux_rtp.cpp:130: `mediaSession' undeclared (first
use this function)
demux_rtp.cpp:130: parse error before `::'
demux_rtp.cpp:134: `MediaSubsessionIterator'
undeclared (first use this function)
demux_rtp.cpp:134: parse error before `('
demux_rtp.cpp:135: `MediaSubsession' undeclared (first
use this function)
demux_rtp.cpp:135: `subsession' undeclared (first use
this function)
demux_rtp.cpp:136: `audioSubsession' undeclared (first
use this function)
demux_rtp.cpp:137: `videoSubsession' undeclared (first
use this function)
demux_rtp.cpp:138: `iter' undeclared (first use this
function)
demux_rtp.cpp:219: `struct RTPState' has no member
named `rtspClient'
demux_rtp.cpp:220: `struct RTPState' has no member
named `mediaSession'
demux_rtp.cpp: At top level:
demux_rtp.cpp:237: syntax error before `('
demux_rtp.cpp: In function `int
demux_rtp_fill_buffer(demuxer_t *, demux_stream_t *)':
demux_rtp.cpp:260: no matching function for call to
`ReadBufferQueue::readSource ()'
demux_rtp.cpp:266: `class ReadBufferQueue' has no
member named `blockingFlag'
demux_rtp.cpp:267: implicit declaration of function
`int deliverBufferIfAvailable(...)'
demux_rtp.cpp:271: no matching function for call to
`ReadBufferQueue::readSource ()'
demux_rtp.cpp:272: `class ReadBufferQueue' has no
member named `blockingFlag'
demux_rtp.cpp: In function `void
demux_close_rtp(demuxer_t *)':
demux_rtp.cpp:286: `struct RTPState' has no member
named `mediaSession'
demux_rtp.cpp:287: `struct RTPState' has no member
named `mediaSession'
demux_rtp.cpp:290: `Medium' undeclared (first use this
function)
demux_rtp.cpp:290: parse error before `::'
demux_rtp.cpp: At top level:
demux_rtp.cpp:304: syntax error before `('
demux_rtp.cpp:307: `bufferQueue' was not declared in
this scope
demux_rtp.cpp:308: parse error before `if'
demux_rtp.cpp:311: ANSI C++ forbids declaration
`deliveredBuffer' with no type
demux_rtp.cpp:311: `True' was not declared in this
scope
demux_rtp.cpp:312: parse error before `}'
demux_rtp.cpp:315: `bufferQueue' was not declared in
this scope
demux_rtp.cpp:315: ANSI C++ forbids declaration
`scheduleNewBufferRead' with no type
demux_rtp.cpp:315: `int scheduleNewBufferRead'
redeclared as different kind of symbol
demux_rtp.cpp:302: previous declaration of `void
scheduleNewBufferRead(ReadBufferQueue *)'
demux_rtp.cpp:317: parse error before `return'
demux_rtp.cpp: In function `void
scheduleNewBufferRead(ReadBufferQueue *)':
demux_rtp.cpp:325: no matching function for call to
`ReadBufferQueue::readSource ()'
demux_rtp.cpp:335: no matching function for call to
`ReadBufferQueue::readSource ()'
demux_rtp.cpp: In function `void afterReading(void *,
unsigned int, timeval)':
demux_rtp.cpp:344: no matching function for call to
`ReadBufferQueue::ourDemuxer ()'
demux_rtp.cpp:353: no matching function for call to
`ReadBuffer::enqueue ()'
demux_rtp.cpp:359: `class ReadBufferQueue' has no
member named `blockingFlag'
demux_rtp.cpp:362: `scheduleNewBufferRead' cannot be
used as a function
demux_rtp.cpp: In function `void onSourceClosure(void
*)':
demux_rtp.cpp:368: no matching function for call to
`ReadBufferQueue::ourDemuxer ()'
demux_rtp.cpp:373: `class ReadBufferQueue' has no
member named `blockingFlag'
demux_rtp.cpp: At top level:
demux_rtp.cpp:384: syntax error before `::'
demux_rtp.cpp:399: syntax error before `->'
demux_rtp.cpp:410: parse error before `*'
make[1]: *** [demux_rtp.o] Error 1
make[1]: Leaving directory
`/home/sk/MPlayer-0.90pre6/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

The above error message is with mplayer pre6, the
similer one with pre8 as well.

I compiled alsa-0.9.0rc3 driver and lib and util ok
and the util works (I can arecord, aply etc..)
The system is Debian Woody. Alsa download from
www.alsa-project.org.

Kind Regards



=====
Steve Kieu

http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Always be connected to your Messenger Friends




More information about the MPlayer-users mailing list