[MPlayer-users] Compile error

Ashley M. Kirchner kirash4 at gmail.com
Fri May 27 20:09:18 CEST 2011


Trying to compile mplayer and getting the following error.  Does anyone have
any suggestions on what's going on and how to fix it?

Platform: Fedora Core 13
uname: Linux papillon 2.6.34.8-68.fc13.i686.PAE #1 SMP Thu Feb 17
14:54:10 UTC 2011 i686 i686 i386 GNU/Linux
gcc: Using built-in specs.
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic
--with-arch=i686 --build=i686-redhat-linux
Thread model: posix
gcc version 4.4.5 20101112 (Red Hat 4.4.5-2) (GCC)

----------
 cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes
-Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99  -O4 -march=native -mtune=native
-pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg
-D_REENTRANT  -I/usr/include/freetype2 -DFF_API_MAX_STREAMS=0 -c -o
libmpcodecs/vf_scale.o libmpcodecs/vf_scale.c
libmpcodecs/vf_scale.c: In function 'scale':
libmpcodecs/vf_scale.c:395: warning: passing argument 2 of 'sws_scale' from
incompatible pointer type
ffmpeg/libswscale/swscale.h:217: note: expected 'const uint8_t * const*' but
argument is of type 'uint8_t **'
libmpcodecs/vf_scale.c:400: warning: passing argument 2 of 'sws_scale' from
incompatible pointer type
ffmpeg/libswscale/swscale.h:217: note: expected 'const uint8_t * const*' but
argument is of type 'uint8_t **'
libmpcodecs/vf_scale.c:402: warning: passing argument 2 of 'sws_scale' from
incompatible pointer type
ffmpeg/libswscale/swscale.h:217: note: expected 'const uint8_t * const*' but
argument is of type 'uint8_t **'
libmpcodecs/vf_scale.c: In function 'get_sws_cpuflags':
libmpcodecs/vf_scale.c:559: error: 'SWS_CPU_CAPS_MMX' undeclared (first use
in this function)
libmpcodecs/vf_scale.c:559: error: (Each undeclared identifier is reported
only once
libmpcodecs/vf_scale.c:559: error: for each function it appears in.)
libmpcodecs/vf_scale.c:560: error: 'SWS_CPU_CAPS_MMX2' undeclared (first use
in this function)
libmpcodecs/vf_scale.c:561: error: 'SWS_CPU_CAPS_3DNOW' undeclared (first
use in this function)
libmpcodecs/vf_scale.c:562: error: 'SWS_CPU_CAPS_ALTIVEC' undeclared (first
use in this function)
libmpcodecs/vf_scale.c: At top level:
libmpcodecs/vf_scale.c:654: warning: initialization discards qualifiers from
pointer target type
libmpcodecs/vf_scale.c:655: warning: initialization discards qualifiers from
pointer target type
libmpcodecs/vf_scale.c:656: warning: initialization discards qualifiers from
pointer target type
libmpcodecs/vf_scale.c:672: warning: initialization discards qualifiers from
pointer target type
make: *** [libmpcodecs/vf_scale.o] Error 1


More information about the MPlayer-users mailing list