error: LibVLC requires mingw-runtime version 3.15 or higher.
Posted: 23 May 2013 20:54
Apologies for the lengthy post!.. I'm trying to cross-compile VLC 2.0.6 to win32 using the i686 toolchain under xubuntu 13.04. I've searched, have tried this many times.. I've searched more... I'm following the recipe at http://wiki.videolan.org/Win32Compile
Each time when I run ../extras/package/win32/configure.sh --host=i686-w64-mingw32, I get this error:
checking for broken mingw-runtime... present
configure: error: LibVLC requires mingw-runtime version 3.15 or higher, or mingw-w64 version 3.0 or higher!
dpkg confirms that these are installed:
mingw-w64-dev 3.0~svn5496-1
mingw-w64 2.0.3-1
mingw-w64-x86-64-dev 2.0.3-1
mingw-w64-i686-dev 2.0.3-1
g++-mingw-w64 4.6.3-13ubuntu1+8
gcc-mingw-w64-base 4.6.3-13ubuntu1+8
gcc-mingw-w64-i686 4.6.3-13ubuntu1+8
3.17.0-0videolan
mingw-w64-dev is at version 3.0., but other packages are at 2.0.3. Do I need to remove some or all of these 2.0.3 packages?
Full output from ./configure:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-w64-mingw32-strip... i686-w64-mingw32-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-w64-mingw32-gcc accepts -g... yes
checking for i686-w64-mingw32-gcc option to accept ISO C89... none needed
checking dependency style of i686-w64-mingw32-gcc... gcc3
checking for i686-w64-mingw32-gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... i686-w64-mingw32-gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether i686-w64-mingw32-gcc -std=gnu99 and cc understand -c and -o together... yes
checking for i686-w64-mingw32-g++... i686-w64-mingw32-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-w64-mingw32-g++ accepts -g... yes
checking dependency style of i686-w64-mingw32-g++... gcc3
checking how to run the C preprocessor... i686-w64-mingw32-gcc -std=gnu99 -E
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether we are using the GNU Objective C compiler... no
checking whether i686-w64-mingw32-gcc accepts -g... no
checking dependency style of i686-w64-mingw32-gcc... gcc3
checking dependency style of i686-w64-mingw32-gcc... (cached) gcc3
checking for egrep... (cached) /bin/grep -E
checking whether make sets $(MAKE)... (cached) yes
checking dependency style of i686-w64-mingw32-gcc -std=gnu99... gcc3
checking for desktop-file-validate... desktop-file-validate
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for i686-w64-mingw32-windres... i686-w64-mingw32-windres
checking for i686-w64-mingw32-objcopy... i686-w64-mingw32-objcopy
checking for unix2dos... no
checking for todos... no
checking for 3rd party libraries path... /home/stevenloe/Desktop/VLC_2.0.6_Source/vlc/contrib/i686-w64-mingw32
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i686-w64-mingw32-gcc -std=gnu99... /usr/bin/i686-w64-mingw32-ld
checking if the linker (/usr/bin/i686-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-w64-mingw32-nm -B
checking the name lister (/usr/bin/i686-w64-mingw32-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/i686-w64-mingw32-ld option to reload object files... -r
checking for i686-w64-mingw32-objdump... i686-w64-mingw32-objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for i686-w64-mingw32-dlltool... i686-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar
checking for archiver @FILE support... @
checking for i686-w64-mingw32-strip... (cached) i686-w64-mingw32-strip
checking for i686-w64-mingw32-ranlib... i686-w64-mingw32-ranlib
checking command to parse /usr/bin/i686-w64-mingw32-nm -B output from i686-w64-mingw32-gcc -std=gnu99 object... ok
checking for sysroot... no
checking for i686-w64-mingw32-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for dlfcn.h... no
checking for i686-w64-mingw32-as... i686-w64-mingw32-as
checking for i686-w64-mingw32-dlltool... (cached) i686-w64-mingw32-dlltool
checking for i686-w64-mingw32-objdump... (cached) i686-w64-mingw32-objdump
checking for objdir... .libs
checking if i686-w64-mingw32-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for i686-w64-mingw32-gcc -std=gnu99 option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-w64-mingw32-gcc -std=gnu99 PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-w64-mingw32-gcc -std=gnu99 static flag -static works... yes
checking if i686-w64-mingw32-gcc -std=gnu99 supports -c -o file.o... yes
checking if i686-w64-mingw32-gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the i686-w64-mingw32-gcc -std=gnu99 linker (/usr/bin/i686-w64-mingw32-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... i686-w64-mingw32-g++ -E
checking for ld used by i686-w64-mingw32-g++... /usr/bin/i686-w64-mingw32-ld
checking if the linker (/usr/bin/i686-w64-mingw32-ld) is GNU ld... yes
checking whether the i686-w64-mingw32-g++ linker (/usr/bin/i686-w64-mingw32-ld) supports shared libraries... yes
checking for i686-w64-mingw32-g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-w64-mingw32-g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-w64-mingw32-g++ static flag -static works... yes
checking if i686-w64-mingw32-g++ supports -c -o file.o... yes
checking if i686-w64-mingw32-g++ supports -c -o file.o... (cached) yes
checking whether the i686-w64-mingw32-g++ linker (/usr/bin/i686-w64-mingw32-ld) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for i686-w64-mingw32-windres... i686-w64-mingw32-windres
checking for bash... /bin/bash
checking if dolt supports this host... yes, replacing libtool
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/i686-w64-mingw32-ld
checking if the linker (/usr/bin/i686-w64-mingw32-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... guessing yes
checking how to link with libiconv... /home/you/Desktop/VLC_2.0.6_Source/vlc/contrib/i686-w64-mingw32/lib/libiconv.a
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /home/you/Desktop/VLC_2.0.6_Source/vlc/contrib/i686-w64-mingw32/lib/libintl.a /home/you/Desktop/VLC_2.0.6_Source/vlc/contrib/i686-w64-mingw32/lib/libiconv.a
checking for iconv... (cached) yes
checking for working iconv... (cached) guessing yes
checking how to link with libiconv... /home/you/Desktop/VLC_2.0.6_Source/vlc/contrib/i686-w64-mingw32/lib/libiconv.a
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for broken mingw-runtime... present
configure: error: LibVLC requires mingw-runtime version 3.15 or higher, or mingw-w64 version 3.0 or higher!
Each time when I run ../extras/package/win32/configure.sh --host=i686-w64-mingw32, I get this error:
checking for broken mingw-runtime... present
configure: error: LibVLC requires mingw-runtime version 3.15 or higher, or mingw-w64 version 3.0 or higher!
dpkg confirms that these are installed:
mingw-w64-dev 3.0~svn5496-1
mingw-w64 2.0.3-1
mingw-w64-x86-64-dev 2.0.3-1
mingw-w64-i686-dev 2.0.3-1
g++-mingw-w64 4.6.3-13ubuntu1+8
gcc-mingw-w64-base 4.6.3-13ubuntu1+8
gcc-mingw-w64-i686 4.6.3-13ubuntu1+8
3.17.0-0videolan
mingw-w64-dev is at version 3.0., but other packages are at 2.0.3. Do I need to remove some or all of these 2.0.3 packages?
Full output from ./configure:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-w64-mingw32-strip... i686-w64-mingw32-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-w64-mingw32-gcc accepts -g... yes
checking for i686-w64-mingw32-gcc option to accept ISO C89... none needed
checking dependency style of i686-w64-mingw32-gcc... gcc3
checking for i686-w64-mingw32-gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... i686-w64-mingw32-gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether i686-w64-mingw32-gcc -std=gnu99 and cc understand -c and -o together... yes
checking for i686-w64-mingw32-g++... i686-w64-mingw32-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-w64-mingw32-g++ accepts -g... yes
checking dependency style of i686-w64-mingw32-g++... gcc3
checking how to run the C preprocessor... i686-w64-mingw32-gcc -std=gnu99 -E
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether we are using the GNU Objective C compiler... no
checking whether i686-w64-mingw32-gcc accepts -g... no
checking dependency style of i686-w64-mingw32-gcc... gcc3
checking dependency style of i686-w64-mingw32-gcc... (cached) gcc3
checking for egrep... (cached) /bin/grep -E
checking whether make sets $(MAKE)... (cached) yes
checking dependency style of i686-w64-mingw32-gcc -std=gnu99... gcc3
checking for desktop-file-validate... desktop-file-validate
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for i686-w64-mingw32-windres... i686-w64-mingw32-windres
checking for i686-w64-mingw32-objcopy... i686-w64-mingw32-objcopy
checking for unix2dos... no
checking for todos... no
checking for 3rd party libraries path... /home/stevenloe/Desktop/VLC_2.0.6_Source/vlc/contrib/i686-w64-mingw32
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i686-w64-mingw32-gcc -std=gnu99... /usr/bin/i686-w64-mingw32-ld
checking if the linker (/usr/bin/i686-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-w64-mingw32-nm -B
checking the name lister (/usr/bin/i686-w64-mingw32-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/i686-w64-mingw32-ld option to reload object files... -r
checking for i686-w64-mingw32-objdump... i686-w64-mingw32-objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for i686-w64-mingw32-dlltool... i686-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar
checking for archiver @FILE support... @
checking for i686-w64-mingw32-strip... (cached) i686-w64-mingw32-strip
checking for i686-w64-mingw32-ranlib... i686-w64-mingw32-ranlib
checking command to parse /usr/bin/i686-w64-mingw32-nm -B output from i686-w64-mingw32-gcc -std=gnu99 object... ok
checking for sysroot... no
checking for i686-w64-mingw32-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for dlfcn.h... no
checking for i686-w64-mingw32-as... i686-w64-mingw32-as
checking for i686-w64-mingw32-dlltool... (cached) i686-w64-mingw32-dlltool
checking for i686-w64-mingw32-objdump... (cached) i686-w64-mingw32-objdump
checking for objdir... .libs
checking if i686-w64-mingw32-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for i686-w64-mingw32-gcc -std=gnu99 option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-w64-mingw32-gcc -std=gnu99 PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-w64-mingw32-gcc -std=gnu99 static flag -static works... yes
checking if i686-w64-mingw32-gcc -std=gnu99 supports -c -o file.o... yes
checking if i686-w64-mingw32-gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the i686-w64-mingw32-gcc -std=gnu99 linker (/usr/bin/i686-w64-mingw32-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... i686-w64-mingw32-g++ -E
checking for ld used by i686-w64-mingw32-g++... /usr/bin/i686-w64-mingw32-ld
checking if the linker (/usr/bin/i686-w64-mingw32-ld) is GNU ld... yes
checking whether the i686-w64-mingw32-g++ linker (/usr/bin/i686-w64-mingw32-ld) supports shared libraries... yes
checking for i686-w64-mingw32-g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-w64-mingw32-g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-w64-mingw32-g++ static flag -static works... yes
checking if i686-w64-mingw32-g++ supports -c -o file.o... yes
checking if i686-w64-mingw32-g++ supports -c -o file.o... (cached) yes
checking whether the i686-w64-mingw32-g++ linker (/usr/bin/i686-w64-mingw32-ld) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for i686-w64-mingw32-windres... i686-w64-mingw32-windres
checking for bash... /bin/bash
checking if dolt supports this host... yes, replacing libtool
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/i686-w64-mingw32-ld
checking if the linker (/usr/bin/i686-w64-mingw32-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... guessing yes
checking how to link with libiconv... /home/you/Desktop/VLC_2.0.6_Source/vlc/contrib/i686-w64-mingw32/lib/libiconv.a
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /home/you/Desktop/VLC_2.0.6_Source/vlc/contrib/i686-w64-mingw32/lib/libintl.a /home/you/Desktop/VLC_2.0.6_Source/vlc/contrib/i686-w64-mingw32/lib/libiconv.a
checking for iconv... (cached) yes
checking for working iconv... (cached) guessing yes
checking how to link with libiconv... /home/you/Desktop/VLC_2.0.6_Source/vlc/contrib/i686-w64-mingw32/lib/libiconv.a
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for broken mingw-runtime... present
configure: error: LibVLC requires mingw-runtime version 3.15 or higher, or mingw-w64 version 3.0 or higher!