[MPlayer-users] error message when compiling mplary
Wolfgang Paul Rauchholz
wp.rauchholz at gmail.com
Wed Mar 14 10:35:25 CET 2007
I run FC6 under kernel-2.6.19-1.2911.6.5.fc6.
The configure command runs w/o problem. ("./configure --enable-gui
--enable-largefiles --enable-menu --enable-radio --enable-radio-capture
--enable-live --enable-libfame --enable-alsa")
The make statement though gives me the following error message:
make[1]: Entering directory `/root/Desktop/MPlayer-1.0rc1/libmpdemux'
cc -c -I.. -I../stream -I../loader -I../libavutil -I../libavcodec
-I../libavformat -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include
-I/usr/include/freetype2 -I/liveMedia/include
-I/UsageEnvironment/include
-I/BasicUsageEnvironment/include -I/groupsock/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0-I/usr/include/cairo -I/usr/include/pango-
1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -D__STDC_LIMIT_MACROS -o
demux_rtp.o demux_rtp.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is
valid for C/ObjC but not for C++
In file included from demux_rtp.cpp:12:
demux_rtp_internal.h:17:24: error: liveMedia.hh: No such file or directory
demux_rtp.cpp:14:36: error: BasicUsageEnvironment.hh: No such file or
directory
demux_rtp.cpp:16:30: error: GroupsockHelper.hh: No such file or directory
demux_rtp_internal.h:22: error: 'MediaSubsession' has not been declared
demux_rtp_internal.h:24: error: 'MediaSubsession' has not been declared
demux_rtp_internal.h:33: error: 'Boolean' does not name a type
demux_rtp_internal.h:40: error: 'Boolean' does not name a type
demux_rtp.cpp:22: error: expected `)' before '*' token
demux_rtp.cpp:26: error: ISO C++ forbids declaration of 'FramedSource' with
no type
demux_rtp.cpp:26: error: expected ';' before '*' token
demux_rtp.cpp:27: error: expected `;' before 'RTPSource'
demux_rtp.cpp:27: error: ISO C++ forbids declaration of 'RTPSource' with no
type
demux_rtp.cpp:27: error: expected ';' before '*' token
demux_rtp.cpp:28: error: expected `;' before 'demuxer_t'
demux_rtp.cpp:34: error: 'Boolean' does not name a type
demux_rtp.cpp:51: error: ISO C++ forbids declaration of 'FramedSource' with
no type
demux_rtp.cpp:51: error: expected ';' before '*' token
demux_rtp.cpp:52: error: ISO C++ forbids declaration of 'RTPSource' with no
type
demux_rtp.cpp:52: error: expected ';' before '*' token
demux_rtp.cpp:61: error: ISO C++ forbids declaration of 'RTSPClient' with no
type
demux_rtp.cpp:61: error: expected ';' before '*' token
demux_rtp.cpp:62: error: ISO C++ forbids declaration of 'SIPClient' with no
type
demux_rtp.cpp:62: error: expected ';' before '*' token
demux_rtp.cpp:63: error: ISO C++ forbids declaration of 'MediaSession' with
no type
demux_rtp.cpp:63: error: expected ';' before '*' token
demux_rtp.cpp:72: error: 'RTSPClient' was not declared in this scope
demux_rtp.cpp:72: error: 'client' was not declared in this scope
demux_rtp.cpp:72: error: expected primary-expression before 'char'
demux_rtp.cpp:72: error: initializer expression list treated as compound
expression
demux_rtp.cpp:72: error: expected ',' or ';' before '{' token
make[1]: *** [demux_rtp.o] Error 1
make[1]: Leaving directory `/root/Desktop/MPlayer-1.0rc1/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2
The 1st message makes reference to non-existing file "error: liveMedia.hh:
No such file or directory"
Though this file exists:
[root at MGPRWR MPlayer-1.0rc1]# find / -name liveMedia.hh -print
/usr/include/liveMedia/liveMedia.hh
/usr/local/lib/live/liveMedia/include/liveMedia.hh
Any ideas? Thanks in advance for your help.
More information about the MPlayer-users
mailing list