/d/git/sagetv/buildwin/build/faac /d/git/sagetv/buildwin /d/git/sagetv/buildwin /d/git/sagetv/buildwin/build/faad2 /d/git/sagetv/buildwin make: Entering directory '/d/git/sagetv/buildwin/build/faad2/libfaad' make: Nothing to be done for 'all'. make: Leaving directory '/d/git/sagetv/buildwin/build/faad2/libfaad' /d/git/sagetv/buildwin /d/git/sagetv/buildwin/build/xvidcore /d/git/sagetv/buildwin /d/git/sagetv/buildwin /d/git/sagetv/buildwin/build/x264 /d/git/sagetv/buildwin /d/git/sagetv/buildwin /d/git/sagetv/buildwin/build/ffmpeg /d/git/sagetv/buildwin i686-w64-mingw32-gcc -I. -I"/d/git/sagetv/third_party/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DHAVE_AV_CONFIG_H -fno-common -march=i686 -mtune=i686 -DWIN32 -DCOBJMACROS -D_WIN32_WINNT=0x0600 -I/d/git/sagetv/buildwin/stage/include -std=c99 -fno-common -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -MMD -MF libavcodec/dxva2.d -MT libavcodec/dxva2.o -c -o libavcodec/dxva2.o /d/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c In file included from D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.h:28:0, from D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2_internal.h:26, from D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c:23: C:/msys64/mingw32/i686-w64-mingw32/include/dxva2api.h:291:5: error: unknown type name 'D3DFORMAT' D3DFORMAT Format; ^ In file included from D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2_internal.h:26:0, from D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c:23: D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.h:55:5: error: unknown type name 'LPDIRECT3DSURFACE9' LPDIRECT3DSURFACE9 *surface; ^ In file included from D:/git/sagetv/third_party/ffmpeg/libavcodec/mpegvideo.h:32:0, from D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2_internal.h:28, from D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c:23: D:/git/sagetv/third_party/ffmpeg/libavcodec/get_bits.h: In function 'skip_bits': D:/git/sagetv/third_party/ffmpeg/libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^ D:/git/sagetv/third_party/ffmpeg/libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^ D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c: In function 'ff_dxva2_get_surface_index': D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c:37:29: warning: comparison between pointer and integer if (ctx->surface[i] == surface) ^ In file included from C:/msys64/mingw32/i686-w64-mingw32/include/winbase.h:2377:0, from C:/msys64/mingw32/i686-w64-mingw32/include/windows.h:70, from C:/msys64/mingw32/i686-w64-mingw32/include/rpc.h:16, from C:/msys64/mingw32/i686-w64-mingw32/include/dxva2api.h:7, from D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.h:28, from D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2_internal.h:26, from D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c:23: D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c: In function 'ff_dxva2_commit_buffer': D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c:54:16: error: implicit declaration of function 'IDirectXVideoDecoder_GetBuffer' [-Werror=implicit-function-declaration] if (FAILED(IDirectXVideoDecoder_GetBuffer(ctx->decoder, type, ^ D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c:72:16: error: implicit declaration of function 'IDirectXVideoDecoder_ReleaseBuffer' [-Werror=implicit-function-declaration] if (FAILED(IDirectXVideoDecoder_ReleaseBuffer(ctx->decoder, type))) { ^ D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c: In function 'ff_dxva2_common_end_frame': D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c:92:16: error: implicit declaration of function 'IDirectXVideoDecoder_BeginFrame' [-Werror=implicit-function-declaration] if (FAILED(IDirectXVideoDecoder_BeginFrame(ctx->decoder, ^ D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c:139:16: error: implicit declaration of function 'IDirectXVideoDecoder_Execute' [-Werror=implicit-function-declaration] if (FAILED(IDirectXVideoDecoder_Execute(ctx->decoder, &exec))) { ^ D:/git/sagetv/third_party/ffmpeg/libavcodec/dxva2.c:145:16: error: implicit declaration of function 'IDirectXVideoDecoder_EndFrame' [-Werror=implicit-function-declaration] if (FAILED(IDirectXVideoDecoder_EndFrame(ctx->decoder, NULL))) { ^ cc1.exe: some warnings being treated as errors common.mak:43: recipe for target 'libavcodec/dxva2.o' failed make: *** [libavcodec/dxva2.o] Error 1