[MPlayer-users] mingw compile error: SVN 26104

Henry Garcia defsyn at gmail.com
Tue Feb 26 21:46:50 CET 2008


Windows 2000, mingw, gcc 3.4.5

./configure --prefix=/usr/local

This has been happening the last few subversions. Always same error message
whether I use --enable-static or don't compile with SDL (configure doesn't
detect  SDL when using --enable-static)


> gcc -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
> -I../libavutil -Wdisabled-optimization -Wdeclaration-after-statement -I.
> -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
> -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -DHAVE_CONFIG_H -I/mingw/include/ -I/mingw/include/SDL -D_GNU_SOURCE=1
> -I/mingw/include -I/mingw/include/dvdnav -I/mingw/include/dvdread  -c -o
> i386/dsputil_mmx.o i386/dsputil_mmx.c
> In file included from ../libavutil/common.h:40,
>                  from ../libavutil/avutil.h:48,
>                  from ../libavcodec/avcodec.h:30,
>                  from ../libavcodec/dsputil.h:33,
>                  from i386/dsputil_mmx.c:25:
> d:/msys/1.0.1/mingw/include/errno.h:91: warning: redundant redeclaration
> of '_errno'
> d:/msys/1.0.1/mingw/include/stdlib.h:137: warning: previous declaration of
> '_errno' was here
> In file included from i386/dsputil_mmx.c:30:
> i386/mmx.h:24:2: warning: #warning Everything in this header is
> deprecated, use plain asm()! New code using this header will be rejected.
> i386/dsputil_mmx.c: In function `dsputil_init_mmx':
> i386/dsputil_mmx.c:2329: error: `ENABLE_ENCODERS' undeclared (first use in
> this function)
> i386/dsputil_mmx.c:2329: error: (Each undeclared identifier is reported
> only once
> i386/dsputil_mmx.c:2329: error: for each function it appears in.)
> make[1]: *** [i386/dsputil_mmx.o] Error 1
> make[1]: Leaving directory `/home/Henry/build/mplayer/libavcodec'
> make: *** [libavcodec/libavcodec.a] Error 2
>



More information about the MPlayer-users mailing list