[MPlayer-users] Build failure latest svn/ffmpeg

Josh joshf87 at live.com
Sat Feb 14 06:16:27 CET 2015


MSYS2/MinGW 4.9.2 on Windows & r37373/FFmpeg 
ac7fc444eed553d5010c5860f2e91bfa42628e08

gcc -MMD -MP -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror=format-security -Wno-format 
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
-std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. 
-Iffmpeg -O4 -march=i486 -mtune=generic -pipe -ffast-math 
-fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/sources/live555 
-fno-common  -I/mingw32/include  -I/mingw32/include/  -I/mingw32/include 
-I/mingw32/include/dvdcss  -I/mingw32/include/freetype2 -DZLIB_CONST 
-I/mingw32/include/opus  -I/mingw32/include/bs2b  -I/mingw32/include 
-I/mingw32/include/dvdcss  -c -o libmpcodecs/ad_spdif.o 
libmpcodecs/ad_spdif.c
In file included from 
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/windows.h:71:0,
                  from 
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/winsock2.h:23,
                  from ffmpeg/libavformat/os_support.h:112,
                  from ffmpeg/libavformat/internal.h:26,
                  from libmpcodecs/ad_spdif.c:26:
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/wingdi.h:603:5: 
error: conflicting types for 'BITMAPINFOHEADER'
    } BITMAPINFOHEADER,*LPBITMAPINFOHEADER,*PBITMAPINFOHEADER;
      ^
In file included from ./libmpdemux/stheader.h:24:0,
                  from libmpcodecs/ad_internal.h:27,
                  from libmpcodecs/ad_spdif.c:23:
./libmpdemux/ms_hdr.h:76:3: note: previous declaration of 
'BITMAPINFOHEADER' was here
  } BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER;
    ^
In file included from 
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/windows.h:71:0,
                  from 
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/winsock2.h:23,
                  from ffmpeg/libavformat/os_support.h:112,
                  from ffmpeg/libavformat/internal.h:26,
                  from libmpcodecs/ad_spdif.c:26:
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/wingdi.h:603:23: 
error: conflicting types for 'LPBITMAPINFOHEADER'
    } BITMAPINFOHEADER,*LPBITMAPINFOHEADER,*PBITMAPINFOHEADER;
                        ^
In file included from ./libmpdemux/stheader.h:24:0,
                  from libmpcodecs/ad_internal.h:27,
                  from libmpcodecs/ad_spdif.c:23:
./libmpdemux/ms_hdr.h:76:42: note: previous declaration of 
'LPBITMAPINFOHEADER' was here
  } BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER;
                                           ^
In file included from 
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/windows.h:71:0,
                  from 
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/winsock2.h:23,
                  from ffmpeg/libavformat/os_support.h:112,
                  from ffmpeg/libavformat/internal.h:26,
                  from libmpcodecs/ad_spdif.c:26:
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/wingdi.h:603:43: 
error: conflicting types for 'PBITMAPINFOHEADER'
    } BITMAPINFOHEADER,*LPBITMAPINFOHEADER,*PBITMAPINFOHEADER;
                                            ^
In file included from ./libmpdemux/stheader.h:24:0,
                  from libmpcodecs/ad_internal.h:27,
                  from libmpcodecs/ad_spdif.c:23:
./libmpdemux/ms_hdr.h:76:22: note: previous declaration of 
'PBITMAPINFOHEADER' was here
  } BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER;
                       ^
In file included from 
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/windows.h:71:0,
                  from 
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/winsock2.h:23,
                  from ffmpeg/libavformat/os_support.h:112,
                  from ffmpeg/libavformat/internal.h:26,
                  from libmpcodecs/ad_spdif.c:26:
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/wingdi.h:672:5: 
error: conflicting types for 'BITMAPINFO'
    } BITMAPINFO,*LPBITMAPINFO,*PBITMAPINFO;
      ^
In file included from ./libmpdemux/stheader.h:24:0,
                  from libmpcodecs/ad_internal.h:27,
                  from libmpcodecs/ad_spdif.c:23:
./libmpdemux/ms_hdr.h:80:3: note: previous declaration of 'BITMAPINFO' 
was here
  } BITMAPINFO, *LPBITMAPINFO;
    ^
In file included from 
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/windows.h:71:0,
                  from 
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/winsock2.h:23,
                  from ffmpeg/libavformat/os_support.h:112,
                  from ffmpeg/libavformat/internal.h:26,
                  from libmpcodecs/ad_spdif.c:26:
E:/Buildsys/projects/mplayer/tools/4.9.2/mingw32/i686-w64-mingw32/include/wingdi.h:672:17: 
error: conflicting types for 'LPBITMAPINFO'
    } BITMAPINFO,*LPBITMAPINFO,*PBITMAPINFO;
                  ^
In file included from ./libmpdemux/stheader.h:24:0,
                  from libmpcodecs/ad_internal.h:27,
                  from libmpcodecs/ad_spdif.c:23:
./libmpdemux/ms_hdr.h:80:16: note: previous declaration of 
'LPBITMAPINFO' was here
  } BITMAPINFO, *LPBITMAPINFO;
                 ^
Makefile:733: recipe for target 'libmpcodecs/ad_spdif.o' failed
make: *** [libmpcodecs/ad_spdif.o] Error 1


If I revert r37372 & before FFmpeg commit 
9deaec782810d098bca11c9332fab2d2f4c5fb78 where these internal changes 
were made produces yet another error


fmt-conversion.c:139:31: error: 'AV_PIX_FMT_XVMC' undeclared here (not 
in a function)
      { IMGFMT_XVMC_IDCT_MPEG2, AV_PIX_FMT_XVMC },
                                ^
Makefile:733: recipe for target 'fmt-conversion.o' failed
make: *** [fmt-conversion.o] Error 1


More information about the MPlayer-users mailing list