[MPlayer-users] MPlayer r31691 fails to compile

Giorgio mywing81 at gmail.com
Sun Jul 11 10:52:51 CEST 2010


Hello,

r31691 fails to compile with the following error (I did a fresh
checkout and then ./configure --enable-gui --disable-mencoder &&
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 -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/
 -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  -D_REENTRANT    -I/usr/include/freetype2
  -DPNG_NO_MMX_CODE -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
-I/usr/include/pixman-1   -I/usr/include/liveMedia
-I/usr/include/UsageEnvironment
-I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock -c -o
libmpdemux/demux_rtp_codec.o libmpdemux/demux_rtp_codec.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++
cc1plus: warning: command line option "-std=gnu99" is valid for C/ObjC
but not for C++
libmpdemux/demux_rtp_codec.cpp:223:48: error: macro "new_sh_audio"
requires 3 arguments, but only 2 given
libmpdemux/demux_rtp_codec.cpp: In function 'void
rtpCodecInitialize_audio(demuxer_t*, MediaSubsession*, unsigned
int&)':
libmpdemux/demux_rtp_codec.cpp:223: error: 'new_sh_audio' was not
declared in this scope
make: *** [libmpdemux/demux_rtp_codec.o] Errore 1


This should be related to r31675. Regards,

Giorgio Vazzana


More information about the MPlayer-users mailing list