ffmpeg cross compile woes

libflite:

making in …
making in include …
making in src …
/bin/sh: 4: i386-mingw32-gcc: not found
/bin/sh: 4: i386-mingw32-gcc: not found
/bin/sh: 4: i386-mingw32-gcc: not found
/bin/sh: 4: i386-mingw32-gcc: not found
/bin/sh: 4: i386-mingw32-gcc: not found
making in src/audio …
i386-mingw32-gcc -I. -DCST_AUDIO_NONE -I../../include -g -O2 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared -c auclient.c -o ../../build/i386-mingw32/obj/src/audio/auclient.o
make[2]: i386-mingw32-gcc: Command not found
make[2]: *** [../../build/i386-mingw32/obj/src/audio/auclient.o] Error 127
make[1]: *** [../build/i386-mingw32/obj/src/.make_build_dirs] Error 2
make: *** [build/i386-mingw32/obj//.make_build_dirs] Error 2

 

meant “their configure is messed up for cross compile, manually replace i386-mingw- with your real prefix, in configure*”

7 thoughts on “ffmpeg cross compile woes

  1. make all-am
    make[3]: Entering directory `/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/doc’
    make[3]: *** No rule to make target `FcAtomicCreate.3′, needed by `all-am’. Stop.
    make[3]: Leaving directory `/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/doc’
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/doc’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1′
    make: *** [all] Error 2

    meant to configure using
    –disable-docs

  2. BEGIN /tmp/ffconf.Yv1tTIOm.c
    1 #include
    2 long check_FcInit(void) { return (long) FcInit; }
    3 int main(void) { return 0; }
    END /tmp/ffconf.Yv1tTIOm.c
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32-gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -std=c99 -fno-common -I/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/include -L/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib -c -o /tmp/ffconf.K7i7hD10.o /tmp/ffconf.Yv1tTIOm.c
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wl,–as-needed -I/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/include -L/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib -o /tmp/ffconf.QVSwJ6uA.exe /tmp/ffconf.K7i7hD10.o -lfontconfig -lavifil32 -lm -lz -lpsapi -lshell32 -lgdi32 -lwinmm -lpthread -lws2_32
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcxml.o): In function `FcConfigMessage':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:504: undefined reference to `XML_GetCurrentLineNumber’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:507: undefined reference to `XML_GetCurrentLineNumber’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcxml.o): In function `FcConfigParseAndLoad':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:2928: undefined reference to `XML_ParserCreate’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:2940: undefined reference to `XML_SetUserData’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:2942: undefined reference to `XML_SetDoctypeDeclHandler’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:2943: undefined reference to `XML_SetElementHandler’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:2944: undefined reference to `XML_SetCharacterDataHandler’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:2950: undefined reference to `XML_GetBuffer’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:2967: undefined reference to `XML_ParseBuffer’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:2979: undefined reference to `XML_ParserFree’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:2970: undefined reference to `XML_GetErrorCode’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcxml.c:2970: undefined reference to `XML_ErrorString’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeUseNames':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2068: undefined reference to `FT_Has_PS_Glyph_Names’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeCheckGlyph':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2256: undefined reference to `FT_Load_Glyph’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeCharSetAndSpacingForSize':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2319: undefined reference to `FT_Select_Size’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2330: undefined reference to `FT_Select_Charmap’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2342: undefined reference to `FT_Get_Char_Index’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2455: undefined reference to `FT_Get_Glyph_Name’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2389: undefined reference to `FT_Get_First_Char’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2428: undefined reference to `FT_Get_Next_Char’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeCharIndex':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2202: undefined reference to `FT_Select_Charmap’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2212: undefined reference to `FT_Get_Char_Index’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeGlyphNameIndex':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2151: undefined reference to `FT_Get_Glyph_Name’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeCharSetAndSpacing':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2535: undefined reference to `FT_Get_Sfnt_Table’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeQueryFace':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1144: undefined reference to `FT_Get_Sfnt_Table’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1164: undefined reference to `FT_Get_Sfnt_Name_Count’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1188: undefined reference to `FT_Get_Sfnt_Name’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1391: undefined reference to `FT_Get_Sfnt_Table’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFontCapabilities':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:2705: undefined reference to `FT_Load_Sfnt_Table’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeQueryFace':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1495: undefined reference to `FT_Get_PS_Font_Info’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1649: undefined reference to `FT_Get_BDF_Property’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1670: undefined reference to `FT_Get_BDF_Property’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcGetPixelSize':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1034: undefined reference to `FT_Get_BDF_Property’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeQueryFace':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1530: undefined reference to `FT_Get_BDF_Property’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1537: undefined reference to `FT_Get_BDF_Property’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o):/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1560: more undefined references to `FT_Get_BDF_Property’ follow
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeQueryFace':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1495: undefined reference to `FT_Get_PS_Font_Info’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1709: undefined reference to `FT_Get_X11_Font_Format’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libfontconfig.a(fcfreetype.o): In function `FcFreeTypeQuery':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1740: undefined reference to `FT_Init_FreeType’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1743: undefined reference to `FT_New_Face’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1752: undefined reference to `FT_Done_FreeType’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/fontconfig-2.10.1/src/fcfreetype.c:1750: undefined reference to `FT_Done_Face’
    collect2: error: ld returned 1 exit status
    ERROR: fontconfig not found

    meant “after cross compiling fontconfig, it doesn’t setup the fontconfig.pc right, add -lexpat -lfreetype to it”

  3. /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libass.a(ass_shaper.o): In function `ass_shaper_shape':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/libass-0.10.0/libass/ass_shaper.c:611: undefined reference to `_imp__fribidi_get_bidi_types’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/libass-0.10.0/libass/ass_shaper.c:613: undefined reference to `_imp__fribidi_get_par_embedding_levels’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libass.a(ass_shaper.o): In function `shape_fribidi':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/libass-0.10.0/libass/ass_shaper.c:507: undefined reference to `_imp__fribidi_get_joining_types’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/libass-0.10.0/libass/ass_shaper.c:508: undefined reference to `_imp__fribidi_join_arabic’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/libass-0.10.0/libass/ass_shaper.c:509: undefined reference to `_imp__fribidi_shape’
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/i686-w64-mingw32/lib/libass.a(ass_shaper.o): In function `ass_shaper_reorder':
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/libass-0.10.0/libass/ass_shaper.c:706: undefined reference to `_imp__fribidi_reorder_line’
    collect2: error: ld returned 1 exit status
    make: *** [ffmpeg_g.exe] Error 1

    meant “go into fribidi and apply the bottom of this patch:”
    https://github.com/leehambley/vlc/blob/master/contrib/src/fribidi/fribidi.patch

    +++ fribidi/lib/fribidi-common.h 2008-02-04 21:32:25.000000000 +0000
    @@ -53,11 +53,7 @@

    /* FRIBIDI_ENTRY is a macro used to declare library entry points. */
    #ifndef FRIBIDI_ENTRY
    -# if (defined(WIN32)) || (defined(_WIN32_WCE))
    -# define FRIBIDI_ENTRY __declspec(dllimport)
    -# else /* !WIN32 */
    # define FRIBIDI_ENTRY /* empty */
    -# endif /* !WIN32 */
    #endif /* !FRIBIDI_ENTRY */

    then recompile libass

  4. make desdata.exe
    make[2]: Entering directory `/home/rogerdpack/dev/ffmpeg-windows-build-helpers.aac/sandbox/win32/nettle-2.5′
    make[2]: `desdata.exe’ is up to date.
    make[2]: Leaving directory `/home/rogerdpack/dev/ffmpeg-windows-build-helpers.aac/sandbox/win32/nettle-2.5′
    f=”./`basename rotors.h`”; \
    ./desdata.exe rotors.h > ${f}T; \
    test -s ${f}T && mv -f ${f}T $f
    ./desdata.exe: 1: ./desdata.exe: MZ????@???: not found
    ./desdata.exe: 3: ./desdata.exe: Syntax error: word unexpected (expecting “)”)
    make[1]: *** [rotors.h] Error 1
    make[1]: Leaving directory `/home/rogerdpack/dev/ffmpeg-windows-build-helpers.aac/sandbox/win32/nettle-2.5′
    make: *** [all] Error 2

    meant “somehow autoconf has headed you south, possibly because of cross compile, start over fresh”

  5. cd . && /bin/bash /home/rogerdpack/dev/ffmpeg-windows-build-helpers.aac/sandbox/win32/fontconfig-2.10.1/missing –run automake-1.11 –gnu
    src/Makefile.am:128: Libtool library used but `LIBTOOL’ is undefined
    src/Makefile.am:128: The usual way to define `LIBTOOL’ is to add `LT_INIT’
    src/Makefile.am:128: to `configure.ac’ and run `aclocal’ and `autoconf’ again.
    src/Makefile.am:128: If `LT_INIT’ is in `configure.ac’, make sure
    src/Makefile.am:128: its definition is in aclocal’s search path.
    make: *** [Makefile.in] Error 1

    similarly meant “it’s getting confused, start from scratch” I guess…

  6. CC libavdevice/dshow.o
    In file included from ./libavutil/parseutils.h:22:0,
    from libavdevice/dshow.c:22:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/time.h:253:16: warning: redundant redeclaration of ‘tzset’ [-Wredundant-decls]
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/time.h:126:16: note: previous declaration of ‘tzset’ was here
    In file included from ./libavutil/common.h:34:0,
    from ./libavutil/avutil.h:274,
    from ./libavutil/opt.h:31,
    from libavdevice/dshow.c:24:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/stdio.h:190:5: warning: “__USE_MINGW_ANSI_STDIO” is not defined [-Wundef]
    In file included from ./libavutil/common.h:34:0,
    from ./libavutil/avutil.h:274,
    from ./libavutil/opt.h:31,
    from libavdevice/dshow.c:24:

    ase.h:348,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/oleidl.h:1499:28: note: previous declaration of ‘CLIPFORMAT_UserUnmarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2580:18: warning: redundant redeclaration of ‘CLIPFORMAT_UserFree’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:217:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/oleidl.h:1500:18: note: previous declaration of ‘CLIPFORMAT_UserFree’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2581:27: warning: redundant redeclaration of ‘HACCEL_UserSize’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:217:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/oleidl.h:1501:27: note: previous declaration of ‘HACCEL_UserSize’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2582:28: warning: redundant redeclaration of ‘HACCEL_UserMarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:217:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/oleidl.h:1502:28: note: previous declaration of ‘HACCEL_UserMarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2583:28: warning: redundant redeclaration of ‘HACCEL_UserUnmarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:217:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/oleidl.h:1503:28: note: previous declaration of ‘HACCEL_UserUnmarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2584:18: warning: redundant redeclaration of ‘HACCEL_UserFree’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:217:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/oleidl.h:1504:18: note: previous declaration of ‘HACCEL_UserFree’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2585:27: warning: redundant redeclaration of ‘HDC_UserSize’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:154:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objidl.h:4982:27: note: previous declaration of ‘HDC_UserSize’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2586:28: warning: redundant redeclaration of ‘HDC_UserMarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:154:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objidl.h:4983:28: note: previous declaration of ‘HDC_UserMarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2587:28: warning: redundant redeclaration of ‘HDC_UserUnmarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:154:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objidl.h:4984:28: note: previous declaration of ‘HDC_UserUnmarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2588:18: warning: redundant redeclaration of ‘HDC_UserFree’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:154:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objidl.h:4985:18: note: previous declaration of ‘HDC_UserFree’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2597:27: warning: redundant redeclaration of ‘HWND_UserSize’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:2874:27: note: previous declaration of ‘HWND_UserSize’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2598:28: warning: redundant redeclaration of ‘HWND_UserMarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:2875:28: note: previous declaration of ‘HWND_UserMarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2599:28: warning: redundant redeclaration of ‘HWND_UserUnmarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:2876:28: note: previous declaration of ‘HWND_UserUnmarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2600:18: warning: redundant redeclaration of ‘HWND_UserFree’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:2877:18: note: previous declaration of ‘HWND_UserFree’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2601:27: warning: redundant redeclaration of ‘VARIANT_UserSize’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/msxml.h:209:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:219,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/oaidl.h:2117:27: note: previous declaration of ‘VARIANT_UserSize’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2602:28: warning: redundant redeclaration of ‘VARIANT_UserMarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/msxml.h:209:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:219,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/oaidl.h:2118:28: note: previous declaration of ‘VARIANT_UserMarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2603:28: warning: redundant redeclaration of ‘VARIANT_UserUnmarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/msxml.h:209:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:219,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/oaidl.h:2119:28: note: previous declaration of ‘VARIANT_UserUnmarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2604:18: warning: redundant redeclaration of ‘VARIANT_UserFree’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/msxml.h:209:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/urlmon.h:219,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/objbase.h:348,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ole2.h:16,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/windows.h:94,
    from libavdevice/dshow_capture.h:30,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/oaidl.h:2120:18: note: previous declaration of ‘VARIANT_UserFree’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:41:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/strmif.h:9471:27: warning: redundant redeclaration of ‘VARIANT_UserSize’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2601:27: note: previous declaration of ‘VARIANT_UserSize’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:41:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/strmif.h:9472:28: warning: redundant redeclaration of ‘VARIANT_UserMarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2602:28: note: previous declaration of ‘VARIANT_UserMarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:41:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/strmif.h:9473:28: warning: redundant redeclaration of ‘VARIANT_UserUnmarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2603:28: note: previous declaration of ‘VARIANT_UserUnmarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:41:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/strmif.h:9474:18: warning: redundant redeclaration of ‘VARIANT_UserFree’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2604:18: note: previous declaration of ‘VARIANT_UserFree’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:42:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/amvideo.h:1280:28: warning: redundant redeclaration of ‘HWND_UserSize’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2597:27: note: previous declaration of ‘HWND_UserSize’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:42:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/amvideo.h:1281:28: warning: redundant redeclaration of ‘HWND_UserMarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2598:28: note: previous declaration of ‘HWND_UserMarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:42:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/amvideo.h:1282:28: warning: redundant redeclaration of ‘HWND_UserUnmarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2599:28: note: previous declaration of ‘HWND_UserUnmarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:42:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/amvideo.h:1283:28: warning: redundant redeclaration of ‘HWND_UserFree’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2600:18: note: previous declaration of ‘HWND_UserFree’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:42:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/amvideo.h:1284:28: warning: redundant redeclaration of ‘BSTR_UserSize’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2573:27: note: previous declaration of ‘BSTR_UserSize’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:42:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/amvideo.h:1285:28: warning: redundant redeclaration of ‘BSTR_UserMarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2574:28: note: previous declaration of ‘BSTR_UserMarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:42:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/amvideo.h:1286:28: warning: redundant redeclaration of ‘BSTR_UserUnmarshal’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2575:28: note: previous declaration of ‘BSTR_UserUnmarshal’ was here
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:42:0,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/amvideo.h:1287:28: warning: redundant redeclaration of ‘BSTR_UserFree’ [-Wredundant-decls]
    In file included from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/olectl.h:13:0,
    from /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/dshow.h:32,
    from libavdevice/dshow_capture.h:31,
    from libavdevice/dshow.c:27:
    /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/include/ocidl.h:2576:18: note: previous declaration of ‘BSTR_UserFree’ was here
    cc1: some warnings being treated as errors
    make: *** [libavdevice/dshow.o] Error 1

    meant probably “reinstall the cross compiler” (if you move the cross compiler’s directory, it kills all its old pkg-config files, too/anyway, so…don’t do that).

  7. While compiling shared libass:
    error “libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries”

    Specify LDFLAGS for make:
    make LDFLAGS=-no-undefined

Leave a Reply

Your email address will not be published. Required fields are marked *


× 3 = eighteen

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>