[MPlayer-users] compile mplayer with live555?

dj stava djstava at gmail.com
Wed May 19 08:35:28 CEST 2010


Hi,all

I checkout mplayer source code via subversion,./configure --enable-live,then
make but error shows:

djstava at Gateway:~/test/mplayer_live$ make
cc -MD -MP -Wstrict-prototypes -Wmissing-prototypes -Wundef
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
-std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
-march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Ilibdvdread4 -I.
-D_REENTRANT -I/usr/include/directfb -I/usr/include/     -D_REENTRANT
-I/usr/include/freetype2    -I/usr/include/schroedinger-1.0
-I/usr/include/liboil-0.3    -c -o libmpdemux/demux_rtp.o
libmpdemux/demux_rtp.cpp
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for
C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is
valid for C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu99" is valid for C/ObjC but
not for C++
In file included from libmpdemux/demux_rtp.cpp:30:
libmpdemux/demux_rtp_internal.h:33:24: error: liveMedia.hh: No such file or
directory
libmpdemux/demux_rtp.cpp:32:36: error: BasicUsageEnvironment.hh: No such
file or directory
libmpdemux/demux_rtp.cpp:35:30: error: GroupsockHelper.hh: No such file or
directory
In file included from libmpdemux/demux_rtp.cpp:30:
libmpdemux/demux_rtp_internal.h:38: error: 'MediaSubsession' has not been
declared
libmpdemux/demux_rtp_internal.h:40: error: 'MediaSubsession' has not been
declared
libmpdemux/demux_rtp_internal.h:49: error: 'Boolean' does not name a type
libmpdemux/demux_rtp.cpp:41: error: expected ')' before '*' token
libmpdemux/demux_rtp.cpp:45: error: ISO C++ forbids declaration of
'FramedSource' with no type
libmpdemux/demux_rtp.cpp:45: error: expected ';' before '*' token
libmpdemux/demux_rtp.cpp:46: error: expected ';' before 'RTPSource'
libmpdemux/demux_rtp.cpp:46: error: ISO C++ forbids declaration of
'RTPSource' with no type
libmpdemux/demux_rtp.cpp:46: error: expected ';' before '*' token
libmpdemux/demux_rtp.cpp:47: error: expected ';' before 'demuxer_t'
libmpdemux/demux_rtp.cpp:53: error: 'Boolean' does not name a type
libmpdemux/demux_rtp.cpp:73: error: ISO C++ forbids declaration of
'FramedSource' with no type
libmpdemux/demux_rtp.cpp:73: error: expected ';' before '*' token
libmpdemux/demux_rtp.cpp:74: error: ISO C++ forbids declaration of
'RTPSource' with no type
libmpdemux/demux_rtp.cpp:74: error: expected ';' before '*' token
libmpdemux/demux_rtp.cpp:83: error: ISO C++ forbids declaration of
'RTSPClient' with no type
libmpdemux/demux_rtp.cpp:83: error: expected ';' before '*' token
libmpdemux/demux_rtp.cpp:84: error: ISO C++ forbids declaration of
'SIPClient' with no type
libmpdemux/demux_rtp.cpp:84: error: expected ';' before '*' token
libmpdemux/demux_rtp.cpp:85: error: ISO C++ forbids declaration of
'MediaSession' with no type
libmpdemux/demux_rtp.cpp:85: error: expected ';' before '*' token
libmpdemux/demux_rtp.cpp:90: warning: 'typedef' was ignored in this
declaration
libmpdemux/demux_rtp.cpp:94: error: 'RTSPClient' was not declared in this
scope
libmpdemux/demux_rtp.cpp:94: error: 'client' was not declared in this scope
libmpdemux/demux_rtp.cpp:94: error: expected primary-expression before
'char'
libmpdemux/demux_rtp.cpp:94: error: initializer expression list treated as
compound expression
libmpdemux/demux_rtp.cpp:94: error: expected ',' or ';' before '{' token
libmpdemux/demux_rtp.cpp:94: warning: 'openURL_rtsp' defined but not used
make: *** [libmpdemux/demux_rtp.o] Error 1

And live555 is installed in /usr/local/lib/

Needs your help!
Thanks.


More information about the MPlayer-users mailing list