mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.32k stars 2.9k forks source link

waf configure fails to detect FFmpeg-git #4088

Closed qyot27 closed 7 years ago

qyot27 commented 7 years ago

Related to #4052. At least now it fails before it even tries building mpv because it can't find x264 during the FFmpeg version check build, rather than during link. FFmpeg-git and mpv-git from today.

# project  configured on Mon Jan 30 17:22:56 2017 by
# waf 1.8.12 (abi 98, python 2070cf0 on linux2)
# using ./waf configure --prefix=/home/qyot27/mpv_build/32bit --disable-debug-build --enable-static-build --enable-openal --enable-sdl2 --disable-manpage-build --disable-pdf-build
#
----------------------------------------
Setting top to
/home/qyot27/mpv
----------------------------------------
Setting out to
/home/qyot27/mpv/build
----------------------------------------
Checking for waf version in 1.8.4-1.9.0
ok
-------------------------------------------
Checking for program 'i686-w64-mingw32-gcc'
/usr/bin/i686-w64-mingw32-gcc
find program=['i686-w64-mingw32-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin'] var='CC' -> ['/usr/bin/i686-w64-mingw32-gcc']
--------------------------------------------------
Checking for program 'i686-w64-mingw32-pkg-config'
/usr/bin/i686-w64-mingw32-pkg-config
find program=['i686-w64-mingw32-pkg-config'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin'] var='PKG_CONFIG' -> ['/usr/bin/i686-w64-mingw32-pkg-config']
--------------------------------------------------
Checking for program 'i686-w64-mingw32-ar'
/usr/bin/i686-w64-mingw32-ar
find program=['i686-w64-mingw32-ar'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin'] var='AR' -> ['/usr/bin/i686-w64-mingw32-ar']
--------------------------------------------------
Checking for program 'rst2html'
/usr/bin/rst2html
find program=['rst2html'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin'] var='RST2HTML' -> ['/usr/bin/rst2html']
--------------------------------------------------
Checking for program 'rst2man'
/usr/bin/rst2man
find program=['rst2man'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin'] var='RST2MAN' -> ['/usr/bin/rst2man']
--------------------------------------------------
Checking for program 'rst2pdf'
not found
find program=['rst2pdf'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin'] var='RST2PDF' -> None
from /home/qyot27/mpv: Could not find the program ['rst2pdf']
--------------------------------------------------
Checking for program 'i686-w64-mingw32-windres'
/usr/bin/i686-w64-mingw32-windres
find program=['i686-w64-mingw32-windres'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin'] var='WINDRES' -> ['/usr/bin/i686-w64-mingw32-windres']
--------------------------------------------------
Checking for program 'perl'
/usr/bin/perl
find program=['perl'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin'] var='BIN_PERL' -> ['/usr/bin/perl']
--------------------------------------------------
Checking for 'gcc' (C compiler)
find program=['gcc', 'cc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin'] var='CC' -> ['/usr/bin/i686-w64-mingw32-gcc']
find program=['ar'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/snap/bin'] var='AR' -> ['/usr/bin/i686-w64-mingw32-ar']
/usr/bin/i686-w64-mingw32-gcc
--------------------------------------------------
Detected target OS:
os-win32
-----------------------------------------------------------------
Checking for compiler flags -Werror=implicit-function-declaration
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_9bb8ee33cce8b4e112120ec905909671/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_9bb8ee33cce8b4e112120ec905909671/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_9bb8ee33cce8b4e112120ec905909671/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_9bb8ee33cce8b4e112120ec905909671/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for compiler flags -Wno-error=deprecated-declarations
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_73298bccdb317043fedfa62d4f1b6a3f/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Wno-error=deprecated-declarations', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_73298bccdb317043fedfa62d4f1b6a3f/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_73298bccdb317043fedfa62d4f1b6a3f/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_73298bccdb317043fedfa62d4f1b6a3f/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for compiler flags -Wno-error=unused-function
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_96f54e355e95b9a8eb37e246cf4b0d5a/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Wno-error=unused-function', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_96f54e355e95b9a8eb37e246cf4b0d5a/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_96f54e355e95b9a8eb37e246cf4b0d5a/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_96f54e355e95b9a8eb37e246cf4b0d5a/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for compiler flags -Wempty-body
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_4f2e62a1afb854d9ea34c6f80bae5dff/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Wempty-body', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_4f2e62a1afb854d9ea34c6f80bae5dff/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_4f2e62a1afb854d9ea34c6f80bae5dff/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_4f2e62a1afb854d9ea34c6f80bae5dff/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for compiler flags -Wdisabled-optimization
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_4979ff9f5c62e48b6db393c8f8289820/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Wdisabled-optimization', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_4979ff9f5c62e48b6db393c8f8289820/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_4979ff9f5c62e48b6db393c8f8289820/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_4979ff9f5c62e48b6db393c8f8289820/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for compiler flags -Wstrict-prototypes
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_899d03b9ae9d5a6f5cb7d3817d19a9be/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Wstrict-prototypes', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_899d03b9ae9d5a6f5cb7d3817d19a9be/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_899d03b9ae9d5a6f5cb7d3817d19a9be/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_899d03b9ae9d5a6f5cb7d3817d19a9be/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for compiler flags -Wno-format-zero-length
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_c36bbed255b0617d50ccb0c1ff43c85f/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Wno-format-zero-length', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_c36bbed255b0617d50ccb0c1ff43c85f/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_c36bbed255b0617d50ccb0c1ff43c85f/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_c36bbed255b0617d50ccb0c1ff43c85f/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for compiler flags -Werror=format-security
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_6ac7824f7180ad65f0542e92b78c2743/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=format-security', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_6ac7824f7180ad65f0542e92b78c2743/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_6ac7824f7180ad65f0542e92b78c2743/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_6ac7824f7180ad65f0542e92b78c2743/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for compiler flags -Wno-redundant-decls
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_c91a5f0d7c08e603020c3fea568a94e5/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Wno-redundant-decls', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_c91a5f0d7c08e603020c3fea568a94e5/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_c91a5f0d7c08e603020c3fea568a94e5/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_c91a5f0d7c08e603020c3fea568a94e5/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for mpv CLI player
yes
-----------------------------------------------------------------
Checking for shared library
disabled
-----------------------------------------------------------------
Checking for static library
disabled
-----------------------------------------------------------------
Checking for static build
yes
-----------------------------------------------------------------
Checking for whether to include binary compile time
yes
-----------------------------------------------------------------
Checking for whether to optimize
yes
-----------------------------------------------------------------
Checking for whether to compile-in debugging information
disabled
-----------------------------------------------------------------
Checking for manpage generation
disabled
-----------------------------------------------------------------
Checking for html manual generation
disabled
-----------------------------------------------------------------
Checking for pdf manual generation
disabled
-----------------------------------------------------------------
Checking for dynamic loader
==>
#include <dlfcn.h>
int main(int argc, char **argv)
{ dlopen("", 0); return 0; }
<==
[1/2] Compiling build/.conf_check_9409baef557ea84fb40a15d694ba6a29/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_9409baef557ea84fb40a15d694ba6a29/testbuild/test.c.1.o']
err: ../test.c:1:19: fatal error: dlfcn.h: No such file or directory
 #include <dlfcn.h>
                   ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379153744: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_9409baef557ea84fb40a15d694ba6a29/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
==>
#include <dlfcn.h>
int main(int argc, char **argv)
{ dlopen("", 0); return 0; }
<==
[1/2] Compiling build/.conf_check_1d014ddba7c097818ef3a0d4378e5220/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_1d014ddba7c097818ef3a0d4378e5220/testbuild/test.c.1.o']
err: ../test.c:1:19: fatal error: dlfcn.h: No such file or directory
 #include <dlfcn.h>
                   ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379070544: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_1d014ddba7c097818ef3a0d4378e5220/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for C plugins
disabled
-----------------------------------------------------------------
Checking for dlopen
yes
-----------------------------------------------------------------
Checking for compilation of default filters for vf_dlopen
disabled
-----------------------------------------------------------------
Checking for zsh completion
disabled
-----------------------------------------------------------------
Checking for inline assembly (currently without effect)
yes
-----------------------------------------------------------------
Checking for test suite (using cmocka)
disabled
-----------------------------------------------------------------
Checking for generate a clang compilation database
disabled
-----------------------------------------------------------------
Checking for compiler support for noexecstack
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_1fd8c7d4c5ed6766b5583789bf673283/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_1fd8c7d4c5ed6766b5583789bf673283/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_1fd8c7d4c5ed6766b5583789bf673283/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', '-Wl,-z,noexecstack', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_1fd8c7d4c5ed6766b5583789bf673283/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
err: /usr/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld: unrecognized option '-z'
/usr/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686398311248: cprogram test.c.1.o -> testprog.exe}
['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', '-Wl,-z,noexecstack', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_1fd8c7d4c5ed6766b5583789bf673283/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for linker support for --nxcompat --no-seh --dynamicbase
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_c83ea43f9744cbd8978d1c5d445bca97/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_c83ea43f9744cbd8978d1c5d445bca97/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_c83ea43f9744cbd8978d1c5d445bca97/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', '-Wl,--nxcompat', '-Wl,--no-seh', '-Wl,--dynamicbase', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_c83ea43f9744cbd8978d1c5d445bca97/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for -lm
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_3ae01531c176f7be8cf47e2377f7feba/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_3ae01531c176f7be8cf47e2377f7feba/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_3ae01531c176f7be8cf47e2377f7feba/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_3ae01531c176f7be8cf47e2377f7feba/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lm']
yes
-----------------------------------------------------------------
Checking for MinGW
==>
#include <stdlib.h>
int main(int argc, char **argv)
{ int x = __MINGW32__;int y = __MINGW64_VERSION_MAJOR; return 0; }
<==
[1/2] Compiling build/.conf_check_f41ca8c3e77cc5b26a4683439c4df19a/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_f41ca8c3e77cc5b26a4683439c4df19a/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:27: warning: unused variable 'y' [-Wunused-variable]
 { int x = __MINGW32__;int y = __MINGW64_VERSION_MAJOR; return 0; }
                           ^
../test.c:3:7: warning: unused variable 'x' [-Wunused-variable]
 { int x = __MINGW32__;int y = __MINGW64_VERSION_MAJOR; return 0; }
       ^

[2/2] Linking build/.conf_check_f41ca8c3e77cc5b26a4683439c4df19a/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_f41ca8c3e77cc5b26a4683439c4df19a/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for POSIX environment
==>
#include <poll.h>
#include <unistd.h>
#include <sys/mman.h>
int main(int argc, char **argv)
{ struct pollfd pfd; poll(&pfd, 1, 0); fork(); int f[2]; pipe(f); munmap(f,0); return 0; }
<==
[1/2] Compiling build/.conf_check_911249d6b3eeb9bbcd807047d2fd5044/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_911249d6b3eeb9bbcd807047d2fd5044/testbuild/test.c.1.o']
err: ../test.c:1:18: fatal error: poll.h: No such file or directory
 #include <poll.h>
                  ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686397457232: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_911249d6b3eeb9bbcd807047d2fd5044/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for development environment
yes
-----------------------------------------------------------------
Checking for win32
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_5d83ac708bbff06579a2c072f4ede992/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_5d83ac708bbff06579a2c072f4ede992/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_5d83ac708bbff06579a2c072f4ede992/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_5d83ac708bbff06579a2c072f4ede992/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lwinmm', '-lgdi32', '-lole32', '-luuid', '-lavrt', '-ldwmapi']
yes
-----------------------------------------------------------------
Checking for internal pthread wrapper for win32 (Vista+)
yes
-----------------------------------------------------------------
Checking for POSIX threads
yes
-----------------------------------------------------------------
Checking for GNU C extensions
==>

int main(int argc, char **argv)
{ __GNUC__; return 0; }
<==
[1/2] Compiling build/.conf_check_d7cef2b25c2d62bcd7044db9002097a5/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_d7cef2b25c2d62bcd7044db9002097a5/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:3: warning: statement with no effect [-Wunused-value]
 { __GNUC__; return 0; }
   ^

[2/2] Linking build/.conf_check_d7cef2b25c2d62bcd7044db9002097a5/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_d7cef2b25c2d62bcd7044db9002097a5/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for stdatomic.h
==>
#include <stdatomic.h>
int main(int argc, char **argv)
{ atomic_int_least64_t test = ATOMIC_VAR_INIT(123);atomic_fetch_add(&test, 1); return 0; }
<==
[1/2] Compiling build/.conf_check_a202475400ac971fe00552ebc1b0ee06/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_a202475400ac971fe00552ebc1b0ee06/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_a202475400ac971fe00552ebc1b0ee06/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_a202475400ac971fe00552ebc1b0ee06/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for compiler support for __atomic built-ins
stdatomic found
-----------------------------------------------------------------
Checking for stdatomic.h support or emulation
yes
-----------------------------------------------------------------
Checking for C11 TLS support
==>
#include <stddef.h>
int main(int argc, char **argv)
{ static _Thread_local int x = 0; return 0; }
<==
[1/2] Compiling build/.conf_check_c47f55ff42ebd3cec30d065b7942c88f/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_c47f55ff42ebd3cec30d065b7942c88f/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:28: warning: unused variable 'x' [-Wunused-variable]
 { static _Thread_local int x = 0; return 0; }
                            ^
At top level:
../test.c:3:28: warning: 'x' defined but not used [-Wunused-variable]

[2/2] Linking build/.conf_check_c47f55ff42ebd3cec30d065b7942c88f/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_c47f55ff42ebd3cec30d065b7942c88f/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for GCC TLS support
==>
#include <stddef.h>
int main(int argc, char **argv)
{ static __thread int x = 0; return 0; }
<==
[1/2] Compiling build/.conf_check_d4f4ee80668a6b4fa4eacdcf0dd588d5/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_d4f4ee80668a6b4fa4eacdcf0dd588d5/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:23: warning: unused variable 'x' [-Wunused-variable]
 { static __thread int x = 0; return 0; }
                       ^
At top level:
../test.c:3:23: warning: 'x' defined but not used [-Wunused-variable]

[2/2] Linking build/.conf_check_d4f4ee80668a6b4fa4eacdcf0dd588d5/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_d4f4ee80668a6b4fa4eacdcf0dd588d5/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for linking with -lrt
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_89f867462480cfa9f86be647be275f83/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_89f867462480cfa9f86be647be275f83/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_89f867462480cfa9f86be647be275f83/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_89f867462480cfa9f86be647be275f83/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lrt']
err: /usr/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld: cannot find -lrt
collect2: error: ld returned 1 exit status

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379072656: cprogram test.c.1.o -> testprog.exe}
['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_89f867462480cfa9f86be647be275f83/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lrt']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for iconv
==>
#include <stdio.h>
#include <unistd.h>
#include <iconv.h>
#define INBUFSIZE 1024
#define OUTBUFSIZE 4096

char inbuffer[INBUFSIZE];
char outbuffer[OUTBUFSIZE];

int main(void) {
  size_t numread;
  iconv_t icdsc;
  char *tocode="UTF-8";
  char *fromcode="cp1250";
  if ((icdsc = iconv_open(tocode, fromcode)) != (iconv_t)(-1)) {
    while ((numread = read(0, inbuffer, INBUFSIZE))) {
      char *iptr=inbuffer;
      char *optr=outbuffer;
      size_t inleft=numread;
      size_t outleft=OUTBUFSIZE;
      if (iconv(icdsc, &iptr, &inleft, &optr, &outleft)
          != (size_t)(-1)) {
        write(1, outbuffer, OUTBUFSIZE - outleft);
      }
    }
    if (iconv_close(icdsc) == -1)
      ;
  }
  return 0;
}

<==
[1/2] Compiling build/.conf_check_9ca09a272125414ecdd0589c6a204339/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_9ca09a272125414ecdd0589c6a204339/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:27:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
       ;
       ^

[2/2] Linking build/.conf_check_9ca09a272125414ecdd0589c6a204339/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_9ca09a272125414ecdd0589c6a204339/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
err: test.c.1.o:test.c:(.text.startup+0x2a): undefined reference to `libiconv_open'
test.c.1.o:test.c:(.text.startup+0x9d): undefined reference to `libiconv'
test.c.1.o:test.c:(.text.startup+0xd4): undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379151760: cprogram test.c.1.o -> testprog.exe}
['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_9ca09a272125414ecdd0589c6a204339/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']

from /home/qyot27/mpv: The configuration failed
==>
#include <stdio.h>
#include <unistd.h>
#include <iconv.h>
#define INBUFSIZE 1024
#define OUTBUFSIZE 4096

char inbuffer[INBUFSIZE];
char outbuffer[OUTBUFSIZE];

int main(void) {
  size_t numread;
  iconv_t icdsc;
  char *tocode="UTF-8";
  char *fromcode="cp1250";
  if ((icdsc = iconv_open(tocode, fromcode)) != (iconv_t)(-1)) {
    while ((numread = read(0, inbuffer, INBUFSIZE))) {
      char *iptr=inbuffer;
      char *optr=outbuffer;
      size_t inleft=numread;
      size_t outleft=OUTBUFSIZE;
      if (iconv(icdsc, &iptr, &inleft, &optr, &outleft)
          != (size_t)(-1)) {
        write(1, outbuffer, OUTBUFSIZE - outleft);
      }
    }
    if (iconv_close(icdsc) == -1)
      ;
  }
  return 0;
}

<==
[1/2] Compiling build/.conf_check_634d54a50c296945be4ae495f1707271/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_634d54a50c296945be4ae495f1707271/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:27:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
       ;
       ^

[2/2] Linking build/.conf_check_634d54a50c296945be4ae495f1707271/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_634d54a50c296945be4ae495f1707271/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-liconv']
yes
-----------------------------------------------------------------
Checking for w32/dos paths
yes
-----------------------------------------------------------------
Checking for termios
==>
#include <termios.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_b70a58f56ac99d202fbfa4bb749a9965/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_b70a58f56ac99d202fbfa4bb749a9965/testbuild/test.c.1.o']
err: ../test.c:1:21: fatal error: termios.h: No such file or directory
 #include <termios.h>
                     ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686397647504: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_b70a58f56ac99d202fbfa4bb749a9965/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
==>
#include <sys/termios.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_7f6e6231b50a306651a3232f246a082a/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_7f6e6231b50a306651a3232f246a082a/testbuild/test.c.1.o']
err: ../test.c:1:25: fatal error: sys/termios.h: No such file or directory
 #include <sys/termios.h>
                         ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379305104: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_7f6e6231b50a306651a3232f246a082a/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for shm
==>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
int main(int argc, char **argv)
{ shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0); return 0; }
<==
[1/2] Compiling build/.conf_check_d2ef4bd98c7852f77b8d8d9d1d20ab95/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_d2ef4bd98c7852f77b8d8d9d1d20ab95/testbuild/test.c.1.o']
err: ../test.c:2:21: fatal error: sys/ipc.h: No such file or directory
 #include <sys/ipc.h>
                     ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379306320: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_d2ef4bd98c7852f77b8d8d9d1d20ab95/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for nanosleep
==>
#include <time.h>
int main(int argc, char **argv)
{ nanosleep(0,0); return 0; }
<==
[1/2] Compiling build/.conf_check_ba747af0766be1797efe1cbb6ee4d7ae/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_ba747af0766be1797efe1cbb6ee4d7ae/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:3: error: implicit declaration of function 'nanosleep' [-Werror=implicit-function-declaration]
 { nanosleep(0,0); return 0; }
   ^~~~~~~~~
cc1: some warnings being treated as errors

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379369104: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_ba747af0766be1797efe1cbb6ee4d7ae/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for POSIX spawnp()/kill()
mingw found
-----------------------------------------------------------------
Checking for posix_spawnp() or MinGW
yes
-----------------------------------------------------------------
Checking for glob()
==>
#include <glob.h>
int main(int argc, char **argv)
{ glob("filename", 0, 0, 0); return 0; }
<==
[1/2] Compiling build/.conf_check_7870020f4caf504446b51c7fa8413a66/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_7870020f4caf504446b51c7fa8413a66/testbuild/test.c.1.o']
err: ../test.c:1:18: fatal error: glob.h: No such file or directory
 #include <glob.h>
                  ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379371600: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_7870020f4caf504446b51c7fa8413a66/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for glob() win32 replacement
yes
-----------------------------------------------------------------
Checking for fchmod()
==>
#include <sys/stat.h>
int main(int argc, char **argv)
{ fchmod(0, 0); return 0; }
<==
[1/2] Compiling build/.conf_check_a39d7e070bcef6b134018e49beba22a1/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_a39d7e070bcef6b134018e49beba22a1/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:3: error: implicit declaration of function 'fchmod' [-Werror=implicit-function-declaration]
 { fchmod(0, 0); return 0; }
   ^~~~~~
cc1: some warnings being treated as errors

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379464144: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_a39d7e070bcef6b134018e49beba22a1/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for vt.h
==>
#include <sys/vt.h>
#include <sys/ioctl.h>
int main(int argc, char **argv)
{ int m; ioctl(0, VT_GETMODE, &m); return 0; }
<==
[1/2] Compiling build/.conf_check_58272cc689201b7fad3909bd97c742d4/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_58272cc689201b7fad3909bd97c742d4/testbuild/test.c.1.o']
err: ../test.c:1:20: fatal error: sys/vt.h: No such file or directory
 #include <sys/vt.h>
                    ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379465424: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_58272cc689201b7fad3909bd97c742d4/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for gbm.h
==>
#include <stdio.h>
#include <gbm.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_1e1614e3878caf9cbcc26d127e975f15/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_1e1614e3878caf9cbcc26d127e975f15/testbuild/test.c.1.o']
err: ../test.c:2:17: fatal error: gbm.h: No such file or directory
 #include <gbm.h>
                 ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686278074448: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_1e1614e3878caf9cbcc26d127e975f15/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for GLIBC API for setting thread name
==>
#include <pthread.h>
int main(int argc, char **argv)
{ pthread_setname_np(pthread_self(), "ducks"); return 0; }
<==
[1/2] Compiling build/.conf_check_e546bb66b16fb8ff9e51bb89f64702aa/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_e546bb66b16fb8ff9e51bb89f64702aa/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:3: error: implicit declaration of function 'pthread_setname_np' [-Werror=implicit-function-declaration]
 { pthread_setname_np(pthread_self(), "ducks"); return 0; }
   ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686278171984: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_e546bb66b16fb8ff9e51bb89f64702aa/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for OSX API for setting thread name
==>
#include <pthread.h>
int main(int argc, char **argv)
{ pthread_setname_np("ducks"); return 0; }
<==
[1/2] Compiling build/.conf_check_b217d91af531cfa6797b9c504ab7e19a/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_b217d91af531cfa6797b9c504ab7e19a/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:3: error: implicit declaration of function 'pthread_setname_np' [-Werror=implicit-function-declaration]
 { pthread_setname_np("ducks"); return 0; }
   ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686277826768: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_b217d91af531cfa6797b9c504ab7e19a/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for BSD API for setting thread name
==>
#include <pthread.h>
#include <pthread_np.h>
int main(int argc, char **argv)
{ pthread_set_name_np(pthread_self(), "ducks"); return 0; }
<==
[1/2] Compiling build/.conf_check_8018c01bf7ede3608aab58fd2584e8a2/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_8018c01bf7ede3608aab58fd2584e8a2/testbuild/test.c.1.o']
err: ../test.c:2:24: fatal error: pthread_np.h: No such file or directory
 #include <pthread_np.h>
                        ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686277910096: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_8018c01bf7ede3608aab58fd2584e8a2/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for NetBSD API for setting thread name
==>
#include <pthread.h>
int main(int argc, char **argv)
{ pthread_setname_np(pthread_self(), "%s", (void *)"ducks"); return 0; }
<==
[1/2] Compiling build/.conf_check_f773de42838367cd1f9e1a61056e2f1f/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_f773de42838367cd1f9e1a61056e2f1f/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:3: error: implicit declaration of function 'pthread_setname_np' [-Werror=implicit-function-declaration]
 { pthread_setname_np(pthread_self(), "%s", (void *)"ducks"); return 0; }
   ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686277907920: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_f773de42838367cd1f9e1a61056e2f1f/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for BSD's fstatfs()
==>
#include <sys/param.h>
#include <sys/mount.h>
int main(int argc, char **argv)
{ struct statfs fs; fstatfs(0, &fs); fs.f_fstypename; return 0; }
<==
[1/2] Compiling build/.conf_check_aa144d4f6e10b0dc6b7c6c67ee7a0ce2/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_aa144d4f6e10b0dc6b7c6c67ee7a0ce2/testbuild/test.c.1.o']
err: ../test.c:2:23: fatal error: sys/mount.h: No such file or directory
 #include <sys/mount.h>
                       ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686278252496: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_aa144d4f6e10b0dc6b7c6c67ee7a0ce2/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for Linux's fstatfs()
os-linux not found
-----------------------------------------------------------------
Checking for Samba support
libdl not found
-----------------------------------------------------------------
Checking for Lua
['/usr/bin/i686-w64-mingw32-pkg-config', 'lua >= 5.1.0 lua < 5.2.0', '--libs', '--cflags', '--static', 'lua', '>=', '5.1.0', 'lua', '<', '5.2.0']
err: Package dependency requirement 'lua < 5.2.0' could not be satisfied.
Package 'lua' has version '5.2.4', required version is '< 5.2.0'
Package dependency requirement 'lua < 5.2.0' could not be satisfied.
Package 'lua' has version '5.2.4', required version is '< 5.2.0'

from /home/qyot27/mpv: The configuration failed
['/usr/bin/i686-w64-mingw32-pkg-config', 'lua51 >= 5.1.0', '--libs', '--cflags', '--static', 'lua51', '>=', '5.1.0']
err: Package lua51 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua51.pc'
to the PKG_CONFIG_PATH environment variable
Package 'lua51', required by 'world', not found
Package 'lua51', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
['/usr/bin/i686-w64-mingw32-pkg-config', 'lua5.1 >= 5.1.0', '--libs', '--cflags', '--static', 'lua5.1', '>=', '5.1.0']
err: Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'lua5.1', required by 'world', not found
Package 'lua5.1', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
['/usr/bin/i686-w64-mingw32-pkg-config', 'lua-5.1 >= 5.1.0', '--libs', '--cflags', '--static', 'lua-5.1', '>=', '5.1.0']
err: Package lua-5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua-5.1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'lua-5.1', required by 'world', not found
Package 'lua-5.1', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
['/usr/bin/i686-w64-mingw32-pkg-config', 'lua >= 5.2.0 lua < 5.3.0', '--libs', '--cflags', '--static', 'lua', '>=', '5.2.0', 'lua', '<', '5.3.0']
out: -I/usr/i686-w64-mingw32/include -L/usr/i686-w64-mingw32/lib -llua  

yes (version found: 52)
-----------------------------------------------------------------
Checking for SSA/ASS support
['/usr/bin/i686-w64-mingw32-pkg-config', 'libass >= 0.12.1', '--libs', '--cflags', '--static', 'libass']
out: -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/freetype2 -I/usr/i686-w64-mingw32/include/libpng16 -I/usr/i686-w64-mingw32/include/fribidi  -L/usr/i686-w64-mingw32/lib -L/usr/i686-w64-mingw32/lib -lexpat   -L/usr/i686-w64-mingw32/lib    -L/usr/i686-w64-mingw32/lib -lbz2 -L/usr/i686-w64-mingw32/lib -L/usr/i686-w64-mingw32/lib -lz -L/usr/i686-w64-mingw32/lib -lpng16 -lz -L/usr/i686-w64-mingw32/lib -lexpat -lfreetype -L/usr/i686-w64-mingw32/lib -lbz2 -L/usr/i686-w64-mingw32/lib -L/usr/i686-w64-mingw32/lib -lz -L/usr/i686-w64-mingw32/lib -lpng16 -lz -lass -lm -liconv -lfontconfig -L/usr/i686-w64-mingw32/lib -lexpat   -L/usr/i686-w64-mingw32/lib    -L/usr/i686-w64-mingw32/lib -lbz2 -L/usr/i686-w64-mingw32/lib -L/usr/i686-w64-mingw32/lib -lz -L/usr/i686-w64-mingw32/lib -lpng16 -lz -L/usr/i686-w64-mingw32/lib -lexpat -lfribidi -lfreetype -L/usr/i686-w64-mingw32/lib -lbz2 -L/usr/i686-w64-mingw32/lib -L/usr/i686-w64-mingw32/lib -lz -L/usr/i686-w64-mingw32/lib -lpng16 -lz  

yes
-----------------------------------------------------------------
Checking for libass OSD support
yes
-----------------------------------------------------------------
Checking for dummy OSD support
libass-osd found
-----------------------------------------------------------------
Checking for zlib
==>
#include <zlib.h>
int main(int argc, char **argv)
{ inflate(0, Z_NO_FLUSH); return 0; }
<==
[1/2] Compiling build/.conf_check_46786a88fed871dc7e8c0500837a3e4f/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_46786a88fed871dc7e8c0500837a3e4f/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_46786a88fed871dc7e8c0500837a3e4f/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_46786a88fed871dc7e8c0500837a3e4f/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
err: test.c.1.o:test.c:(.text.startup+0x1c): undefined reference to `inflate'
collect2: error: ld returned 1 exit status

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686278171664: cprogram test.c.1.o -> testprog.exe}
['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_46786a88fed871dc7e8c0500837a3e4f/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']

from /home/qyot27/mpv: The configuration failed
==>
#include <zlib.h>
int main(int argc, char **argv)
{ inflate(0, Z_NO_FLUSH); return 0; }
<==
[1/2] Compiling build/.conf_check_370ca9cf485f67e8d73739bdeb404dac/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_370ca9cf485f67e8d73739bdeb404dac/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_370ca9cf485f67e8d73739bdeb404dac/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_370ca9cf485f67e8d73739bdeb404dac/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lz']
yes
-----------------------------------------------------------------
Checking for Encoding
yes
-----------------------------------------------------------------
Checking for Bluray support
['/usr/bin/i686-w64-mingw32-pkg-config', 'libbluray >= 0.3.0', '--libs', '--cflags', '--static', 'libbluray']
out: -I/usr/i686-w64-mingw32/include -L/usr/i686-w64-mingw32/lib -L/usr/i686-w64-mingw32/lib -lxml2   -L/usr/i686-w64-mingw32/lib -lfreetype   -lgdi32 -lbluray -L/usr/i686-w64-mingw32/lib -lxml2   -L/usr/i686-w64-mingw32/lib -lfreetype   -lgdi32  

yes
-----------------------------------------------------------------
Checking for dvdread support
['/usr/bin/i686-w64-mingw32-pkg-config', 'dvdread >= 4.1.0', '--libs', '--cflags', '--static', 'dvdread']
out: -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/dvdcss -L/usr/i686-w64-mingw32/lib -L/usr/i686-w64-mingw32/lib -ldvdcss -ldvdread -L/usr/i686-w64-mingw32/lib -ldvdcss  

yes
-----------------------------------------------------------------
Checking for dvdnav support
['/usr/bin/i686-w64-mingw32-pkg-config', 'dvdnav >= 4.2.0', '--libs', '--cflags', '--static', 'dvdnav']
out: -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/dvdcss -L/usr/i686-w64-mingw32/lib -L/usr/i686-w64-mingw32/lib -ldvdread -L/usr/i686-w64-mingw32/lib -ldvdcss -ldvdnav -L/usr/i686-w64-mingw32/lib -ldvdread -L/usr/i686-w64-mingw32/lib -ldvdcss  

yes
-----------------------------------------------------------------
Checking for cdda support (libcdio)
['/usr/bin/i686-w64-mingw32-pkg-config', 'libcdio_paranoia', '--libs', '--cflags', '--static', 'libcdio_paranoia']
out: -I/usr/i686-w64-mingw32/include -L/usr/i686-w64-mingw32/lib -lcdio_paranoia -lcdio_cdda -lcdio  -lm -lwinmm -liconv  

yes
-----------------------------------------------------------------
Checking for uchardet support
['/usr/bin/i686-w64-mingw32-pkg-config', 'uchardet', '--libs', '--cflags', '--static', 'uchardet']
out: -I/usr/i686-w64-mingw32/include/uchardet -L/usr/i686-w64-mingw32/lib -lstdc++ -luchardet -lstdc++  

yes
-----------------------------------------------------------------
Checking for librubberband support
['/usr/bin/i686-w64-mingw32-pkg-config', 'rubberband >= 1.8.0', '--libs', '--cflags', '--static', 'rubberband']
err: Package rubberband was not found in the pkg-config search path.
Perhaps you should add the directory containing `rubberband.pc'
to the PKG_CONFIG_PATH environment variable
Package 'rubberband', required by 'world', not found
Package 'rubberband', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
no ('rubberband >= 1.8.0' not found)
-----------------------------------------------------------------
Checking for LCMS2 support
['/usr/bin/i686-w64-mingw32-pkg-config', 'lcms2 >= 2.6', '--libs', '--cflags', '--static', 'lcms2']
out: -I/usr/i686-w64-mingw32/include -L/usr/i686-w64-mingw32/lib -lm -lpthread -llcms2 -lm -lpthread  

yes
-----------------------------------------------------------------
Checking for VapourSynth filter bridge (Python)
['/usr/bin/i686-w64-mingw32-pkg-config', 'vapoursynth >= 24', 'vapoursynth-script >= 23', '--libs', '--cflags', '--static', 'vapoursynth', 'vapoursynth-script']
err: Package vapoursynth was not found in the pkg-config search path.
Perhaps you should add the directory containing `vapoursynth.pc'
to the PKG_CONFIG_PATH environment variable
Package 'vapoursynth', required by 'world', not found
Package 'vapoursynth-script', required by 'world', not found
Package 'vapoursynth', required by 'world', not found
Package 'vapoursynth-script', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
no ('vapoursynth >= 24 vapoursynth-script >= 23' not found)
-----------------------------------------------------------------
Checking for VapourSynth filter bridge (Lazy Lua)
['/usr/bin/i686-w64-mingw32-pkg-config', 'vapoursynth >= 24', '--libs', '--cflags', '--static', 'vapoursynth']
err: Package vapoursynth was not found in the pkg-config search path.
Perhaps you should add the directory containing `vapoursynth.pc'
to the PKG_CONFIG_PATH environment variable
Package 'vapoursynth', required by 'world', not found
Package 'vapoursynth', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
no ('vapoursynth >= 24' not found)
-----------------------------------------------------------------
Checking for VapourSynth filter bridge (core)
not found any of vapoursynth-lazy, vapoursynth
-----------------------------------------------------------------
Checking for libarchive wrapper for reading zip files and more
disabled
-----------------------------------------------------------------
Checking for SDL2
['/usr/bin/i686-w64-mingw32-pkg-config', 'sdl2', '--libs', '--cflags', '--static', 'sdl2']
out: -I/usr/i686-w64-mingw32/include/SDL2  -Dmain=SDL_main -L/usr/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2  -mwindows  -Wl,--no-undefined -lm -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -static-libgcc -lmingw32 -lSDL2main -lSDL2  -mwindows -lmingw32 -lSDL2main -lSDL2  -mwindows  -Wl,--no-undefined -lm -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -static-libgcc  

yes
-----------------------------------------------------------------
Checking for SDL (1.x)
disabled
-----------------------------------------------------------------
Checking for OSS (implementation from opensound.com)
no
-----------------------------------------------------------------
Checking for OSS (platform-specific OSS implementation)
==>
#include <sys/soundcard.h>

int main(int argc, char **argv) {
    return SNDCTL_DSP_SETFRAGMENT;
}

<==
[1/2] Compiling build/.conf_check_d01f73030e4c6b61ca8cd1e8736aa2c5/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DPATH_DEV_DSP="/dev/dsp"', '-DPATH_DEV_MIXER="/dev/mixer"', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_d01f73030e4c6b61ca8cd1e8736aa2c5/testbuild/test.c.1.o']
err: ../test.c:1:27: fatal error: sys/soundcard.h: No such file or directory
 #include <sys/soundcard.h>
                           ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379370832: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DPATH_DEV_DSP="/dev/dsp"', '-DPATH_DEV_MIXER="/dev/mixer"', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_d01f73030e4c6b61ca8cd1e8736aa2c5/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for OSS (emulation on top of SunAudio)
==>
#include <soundcard.h>

int main(int argc, char **argv) {
    return SNDCTL_DSP_SETFRAGMENT;
}

<==
[1/2] Compiling build/.conf_check_56eae80857c75c2a66e259fc2ca820c9/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DPATH_DEV_DSP="/dev/sound"', '-DPATH_DEV_MIXER="/dev/mixer"', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_56eae80857c75c2a66e259fc2ca820c9/testbuild/test.c.1.o']
err: ../test.c:1:23: fatal error: soundcard.h: No such file or directory
 #include <soundcard.h>
                       ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686379369232: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DPATH_DEV_DSP="/dev/sound"', '-DPATH_DEV_MIXER="/dev/mixer"', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_56eae80857c75c2a66e259fc2ca820c9/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for OSS audio output
not found any of oss-audio-native, oss-audio-4front, oss-audio-sunaudio
-----------------------------------------------------------------
Checking for RSound audio output
==>
#include <rsound.h>
int main(int argc, char **argv)
{ rsd_init(NULL); return 0; }
<==
[1/2] Compiling build/.conf_check_fbda35591cec22ae1eb5b31207866b53/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_fbda35591cec22ae1eb5b31207866b53/testbuild/test.c.1.o']
err: ../test.c:1:20: fatal error: rsound.h: No such file or directory
 #include <rsound.h>
                    ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686278170320: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_fbda35591cec22ae1eb5b31207866b53/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for sndio audio input/output
disabled
-----------------------------------------------------------------
Checking for PulseAudio audio output
['/usr/bin/i686-w64-mingw32-pkg-config', 'libpulse >= 1.0', '--libs', '--cflags', '--static', 'libpulse']
err: Package libpulse was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpulse.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpulse', required by 'world', not found
Package 'libpulse', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
no ('libpulse >= 1.0' not found)
-----------------------------------------------------------------
Checking for JACK audio output
['/usr/bin/i686-w64-mingw32-pkg-config', 'jack', '--libs', '--cflags', '--static', 'jack']
err: Package jack was not found in the pkg-config search path.
Perhaps you should add the directory containing `jack.pc'
to the PKG_CONFIG_PATH environment variable
Package 'jack', required by 'world', not found
Package 'jack', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
no ('jack' not found)
-----------------------------------------------------------------
Checking for OpenAL audio output
['/usr/bin/i686-w64-mingw32-pkg-config', 'openal >= 1.13', '--libs', '--cflags', '--static', 'openal']
out: -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/AL -DAL_LIBTYPE_STATIC -L/usr/i686-w64-mingw32/lib -lOpenAL32  -lole32  

yes
-----------------------------------------------------------------
Checking for OpenSL ES audio output
==>
#include <SLES/OpenSLES.h>
int main(int argc, char **argv)
{ slCreateEngine; return 0; }
<==
[1/2] Compiling build/.conf_check_37b13a8853f6703fd3d31c2dbdbfba7e/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_37b13a8853f6703fd3d31c2dbdbfba7e/testbuild/test.c.1.o']
err: ../test.c:1:27: fatal error: SLES/OpenSLES.h: No such file or directory
 #include <SLES/OpenSLES.h>
                           ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686278252240: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_37b13a8853f6703fd3d31c2dbdbfba7e/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for ALSA audio output
['/usr/bin/i686-w64-mingw32-pkg-config', 'alsa >= 1.0.18', '--libs', '--cflags', '--static', 'alsa']
err: Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
Package 'alsa', required by 'world', not found
Package 'alsa', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
no ('alsa >= 1.0.18' not found)
-----------------------------------------------------------------
Checking for CoreAudio audio output
==>
#include <CoreAudio/CoreAudio.h>
#include <AudioToolbox/AudioToolbox.h>
#include <AudioUnit/AudioUnit.h>

int main(int argc, char **argv)
{
    AudioComponentDescription desc = (AudioComponentDescription) {
        .componentType         = kAudioUnitType_Output,
        .componentSubType      = kAudioUnitSubType_DefaultOutput,
        .componentManufacturer = kAudioUnitManufacturer_Apple,
    };

    AudioComponentFindNext(NULL, &desc);
    return 0;
}

<==
[1/2] Compiling build/.conf_check_1951f766b69f26d5293b4a1a95bdc638/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_1951f766b69f26d5293b4a1a95bdc638/testbuild/test.c.1.o']
err: ../test.c:1:33: fatal error: CoreAudio/CoreAudio.h: No such file or directory
 #include <CoreAudio/CoreAudio.h>
                                 ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686278254416: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_1951f766b69f26d5293b4a1a95bdc638/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for AudioUnit output for iOS
==>
#include <AudioToolbox/AudioToolbox.h>
#include <AudioUnit/AudioUnit.h>
#include <CoreAudio/CoreAudioTypes.h>

int main(int argc, char **argv)
{
    AudioComponentDescription desc = (AudioComponentDescription) {
        .componentType         = kAudioUnitType_Output,
        .componentSubType      = kAudioUnitSubType_RemoteIO,
        .componentManufacturer = kAudioUnitManufacturer_Apple,
    };

    AudioComponentFindNext(NULL, &desc);
    return 0;
}

<==
[1/2] Compiling build/.conf_check_b67f6ca0bf397470a452ef50dc213034/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_b67f6ca0bf397470a452ef50dc213034/testbuild/test.c.1.o']
err: ../test.c:1:39: fatal error: AudioToolbox/AudioToolbox.h: No such file or directory
 #include <AudioToolbox/AudioToolbox.h>
                                       ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686277907536: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_b67f6ca0bf397470a452ef50dc213034/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for WASAPI audio output
==>
#include <malloc.h>
#include <stdlib.h>
#include <process.h>
#include <audioclient.h>
#include <endpointvolume.h>
#include <mmdeviceapi.h>
#include <avrt.h>
    const GUID *check1[] = {
      &IID_IAudioClient,
      &IID_IAudioRenderClient,
      &IID_IAudioClient,
      &IID_IAudioEndpointVolume,
    };
int main(void) {
    return 0;
}

<==
[1/2] Compiling build/.conf_check_9650071b25a0cd9c07da5036f97e868f/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_9650071b25a0cd9c07da5036f97e868f/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_9650071b25a0cd9c07da5036f97e868f/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_9650071b25a0cd9c07da5036f97e868f/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for Cocoa
==>
#import <CoreServices/CoreServices.h>
#import <OpenGL/OpenGL.h>
#import <Cocoa/Cocoa.h>

#include "osdep/macosx_compat.h"

int main(int argc, char **argv)
{
    @autoreleasepool {
        NSArray *ary = @[@1, @2, @3];
        NSLog(@"test subscripting: %@", ary[0]);
        NSApplicationLoad();
        CVDisplayLinkRef link;
        CVDisplayLinkCreateWithCGDisplay(0, &link);
    }
}

<==
[1/2] Compiling build/.conf_check_e4bd819b621f5c2740e726d8f4650167/test.m

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-I/home/qyot27/mpv', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '../test.m', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_e4bd819b621f5c2740e726d8f4650167/testbuild/test.m.1.o']
err: i686-w64-mingw32-gcc: error: ../test.m: Objective-C compiler not installed on this system

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686397457488: c test.m -> test.m.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-I/home/qyot27/mpv', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '../test.m', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_e4bd819b621f5c2740e726d8f4650167/testbuild/test.m.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for DRM
vt.h not found
-----------------------------------------------------------------
Checking for GBM
gbm.h not found
-----------------------------------------------------------------
Checking for Wayland
['/usr/bin/i686-w64-mingw32-pkg-config', 'wayland-client >= 1.6.0', 'wayland-cursor >= 1.6.0', 'xkbcommon >= 0.3.0', '--libs', '--cflags', '--static', 'wayland-client', 'wayland-cursor', 'xkbcommon']
err: Package wayland-client was not found in the pkg-config search path.
Perhaps you should add the directory containing `wayland-client.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wayland-client', required by 'world', not found
Package 'wayland-cursor', required by 'world', not found
Package 'xkbcommon', required by 'world', not found
Package 'wayland-client', required by 'world', not found
Package 'wayland-cursor', required by 'world', not found
Package 'xkbcommon', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
no ('wayland-client >= 1.6.0 wayland-cursor >= 1.6.0 xkbcommon >= 0.3.0' not found)
-----------------------------------------------------------------
Checking for X11
['/usr/bin/i686-w64-mingw32-pkg-config', 'x11', '--libs', '--cflags', '--static', 'x11']
err: Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
Package 'x11', required by 'world', not found
Package 'x11', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
no ('x11' not found)
-----------------------------------------------------------------
Checking for Xss screensaver extensions
x11 not found
-----------------------------------------------------------------
Checking for X extensions
x11 not found
-----------------------------------------------------------------
Checking for Xv video output
x11 not found
-----------------------------------------------------------------
Checking for Xinerama
x11 not found
-----------------------------------------------------------------
Checking for Xrandr
x11 not found
-----------------------------------------------------------------
Checking for OpenGL Cocoa Backend
cocoa not found
-----------------------------------------------------------------
Checking for OpenGL X11 Backend
x11 not found
-----------------------------------------------------------------
Checking for OpenGL X11 EGL Backend
x11 not found
-----------------------------------------------------------------
Checking for OpenGL DRM EGL Backend
gbm, drm not found
-----------------------------------------------------------------
Checking for OpenGL Wayland Backend
wayland not found
-----------------------------------------------------------------
Checking for OpenGL Win32 Backend
==>
#include <windows.h>
int main(int argc, char **argv)
{ wglCreateContext(0); return 0; }
<==
[1/2] Compiling build/.conf_check_6b06ad98ed0aef39c7dc39b99e786558/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_6b06ad98ed0aef39c7dc39b99e786558/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_6b06ad98ed0aef39c7dc39b99e786558/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_6b06ad98ed0aef39c7dc39b99e786558/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lopengl32']
yes
-----------------------------------------------------------------
Checking for OpenGL/DirectX Interop Backend
==>
#include <GL/gl.h>
#include <GL/wglext.h>
int main(int argc, char **argv)
{ int i = WGL_ACCESS_WRITE_DISCARD_NV; return 0; }
<==
[1/2] Compiling build/.conf_check_baa6170d7220c8034eb7b81b86d8d97f/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_baa6170d7220c8034eb7b81b86d8d97f/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:4:7: warning: unused variable 'i' [-Wunused-variable]
 { int i = WGL_ACCESS_WRITE_DISCARD_NV; return 0; }
       ^

[2/2] Linking build/.conf_check_baa6170d7220c8034eb7b81b86d8d97f/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_baa6170d7220c8034eb7b81b86d8d97f/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
==>
#include <d3d9.h>
int main(int argc, char **argv)
{ IDirect3D9Ex *d; return 0; }
<==
[1/2] Compiling build/.conf_check_6ff3012d0033ce3061914e5a17368360/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_6ff3012d0033ce3061914e5a17368360/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:17: warning: unused variable 'd' [-Wunused-variable]
 { IDirect3D9Ex *d; return 0; }
                 ^

[2/2] Linking build/.conf_check_6ff3012d0033ce3061914e5a17368360/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_6ff3012d0033ce3061914e5a17368360/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for OpenGL Win32 ANGLE Backend
==>
#include <EGL/egl.h>
#include <EGL/eglext.h>
int main(int argc, char **argv)
{ int x = EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE; return 0; }
<==
[1/2] Compiling build/.conf_check_285b56844b4630e355ceabfa6e865119/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_285b56844b4630e355ceabfa6e865119/testbuild/test.c.1.o']
err: ../test.c:1:21: fatal error: EGL/egl.h: No such file or directory
 #include <EGL/egl.h>
                     ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686276521744: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_285b56844b4630e355ceabfa6e865119/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for OpenGL Win32 ANGLE Library
egl-angle not found
-----------------------------------------------------------------
Checking for VDPAU acceleration
x11 not found
-----------------------------------------------------------------
Checking for VDPAU with OpenGL/X11
gl-x11, vdpau not found
-----------------------------------------------------------------
Checking for VAAPI acceleration
not found any of x11, egl-drm, wayland
-----------------------------------------------------------------
Checking for VAAPI (X11 support)
x11, vaapi not found
-----------------------------------------------------------------
Checking for VAAPI (Wayland support)
gl-wayland, vaapi not found
-----------------------------------------------------------------
Checking for VAAPI (DRM/EGL support)
vaapi, egl-drm not found
-----------------------------------------------------------------
Checking for VAAPI GLX
gl-x11, vaapi-x11 not found
-----------------------------------------------------------------
Checking for VAAPI EGL on X11
vaapi-x11, egl-x11 not found
-----------------------------------------------------------------
Checking for VAAPI EGL
not found any of vaapi-wayland, vaapi-x-egl
-----------------------------------------------------------------
Checking for CACA
['/usr/bin/i686-w64-mingw32-pkg-config', 'caca >= 0.99.beta18', '--libs', '--cflags', '--static', 'caca']
out: -I/usr/i686-w64-mingw32/include -L/usr/i686-w64-mingw32/lib -lz -lcaca -lz  

yes
-----------------------------------------------------------------
Checking for JPEG support
==>
#include <stdio.h>
#include <jpeglib.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_a1f9d40869a504d72c5a8e74e222f752/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_a1f9d40869a504d72c5a8e74e222f752/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_a1f9d40869a504d72c5a8e74e222f752/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_a1f9d40869a504d72c5a8e74e222f752/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ljpeg', '-lm']
yes
-----------------------------------------------------------------
Checking for Direct3D support
==>
#include <d3d9.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling build/.conf_check_c402429e76ccd17f62d013f47a5cef76/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '-DHAVE_JPEG=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_c402429e76ccd17f62d013f47a5cef76/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_c402429e76ccd17f62d013f47a5cef76/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_c402429e76ccd17f62d013f47a5cef76/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
-----------------------------------------------------------------
Checking for Android support
==>
#include <android/api-level.h>
int main(int argc, char **argv)
{ (void)__ANDROID__; return 0; }
<==
[1/2] Compiling build/.conf_check_45b7823bde77af79cad5dafab056c5bd/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '-DHAVE_JPEG=1', '-DHAVE_DIRECT3D=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_45b7823bde77af79cad5dafab056c5bd/testbuild/test.c.1.o']
err: ../test.c:1:31: fatal error: android/api-level.h: No such file or directory
 #include <android/api-level.h>
                               ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686276415888: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '-DHAVE_JPEG=1', '-DHAVE_DIRECT3D=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_45b7823bde77af79cad5dafab056c5bd/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for Raspberry Pi support
['/usr/bin/i686-w64-mingw32-pkg-config', 'bcm_host', '--libs', '--cflags', '--static', 'bcm_host']
err: Package bcm_host was not found in the pkg-config search path.
Perhaps you should add the directory containing `bcm_host.pc'
to the PKG_CONFIG_PATH environment variable
Package 'bcm_host', required by 'world', not found
Package 'bcm_host', required by 'world', not found

from /home/qyot27/mpv: The configuration failed
no ('bcm_host' not found)
-----------------------------------------------------------------
Checking for Desktop standard OpenGL support
==>
#include <GL/gl.h>
int main(int argc, char **argv)
{ (void)GL_RGB32F; return 0; }
<==
[1/2] Compiling build/.conf_check_3b7657ce271428ac5288a62797353253/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '-DHAVE_JPEG=1', '-DHAVE_DIRECT3D=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_3b7657ce271428ac5288a62797353253/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:9: error: 'GL_RGB32F' undeclared (first use in this function)
 { (void)GL_RGB32F; return 0; }
         ^~~~~~~~~
../test.c:3:9: note: each undeclared identifier is reported only once for each function it appears in

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686276417424: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '-DHAVE_JPEG=1', '-DHAVE_DIRECT3D=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_3b7657ce271428ac5288a62797353253/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
==>
#include <GL/gl.h>
int main(int argc, char **argv)
{ (void)GL_LUMINANCE16; return 0; }
<==
[1/2] Compiling build/.conf_check_77603b94997c6b11342b4a38d6732b7b/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '-DHAVE_JPEG=1', '-DHAVE_DIRECT3D=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_77603b94997c6b11342b4a38d6732b7b/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_77603b94997c6b11342b4a38d6732b7b/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_77603b94997c6b11342b4a38d6732b7b/testbuild/testprog.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic']
no
-----------------------------------------------------------------
Checking for Android OpenGL ES support
android not found
-----------------------------------------------------------------
Checking for iOS OpenGL ES support
==>
#include <OpenGLES/ES3/glext.h>
int main(int argc, char **argv)
{ (void)GL_RGB32F; return 0; }
<==
[1/2] Compiling build/.conf_check_c304a78c9954f08facd004e0d26ccf00/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '-DHAVE_JPEG=1', '-DHAVE_DIRECT3D=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_c304a78c9954f08facd004e0d26ccf00/testbuild/test.c.1.o']
err: ../test.c:1:32: fatal error: OpenGLES/ES3/glext.h: No such file or directory
 #include <OpenGLES/ES3/glext.h>
                                ^
compilation terminated.

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686273756624: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '-DHAVE_JPEG=1', '-DHAVE_DIRECT3D=1', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_c304a78c9954f08facd004e0d26ccf00/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
-----------------------------------------------------------------
Checking for Any OpenGL (ES) support
not found any of cocoa, standard-gl, android-gl, ios-gl
--------------------------------------------------------------------
Checking for OpenGL without platform-specific code (e.g. for libmpv)
not found any of libmpv-shared, libmpv-static
--------------------------------------------------------------------
Checking for MALI via Linux fbdev
libdl, standard-gl not found
--------------------------------------------------------------------
Checking for OpenGL video outputs
yes
--------------------------------------------------------------------
Checking for EGL helper functions
not found any of rpi, gl-wayland, mali-fbdev, egl-x11, egl-drm
--------------------------------------------------------------------
Checking for FFmpeg/Libav present
['/usr/bin/i686-w64-mingw32-pkg-config', 'libavcodec', '--libs', '--cflags', '--static', 'libavcodec']
out: -I/home/qyot27/ffmpeg_build/32bit/include -L/home/qyot27/ffmpeg_build/32bit/lib -L/usr/i686-w64-mingw32/lib -lavcodec -lavicap32 -lstrmiids -lshlwapi -lcdio_paranoia -lcdio_cdda -lcdio -lsecur32 -lSDL2main -lSDL2 -mwindows -Wl,--no-undefined -ldinput8 -ldxguid -ldxerr8 -lwinmm -limm32 -loleaut32 -lversion -luuid -static-libgcc -mconsole -lopengl32 -lOpenAL32 -lole32 -lzimg -lxvidcore -lxavs -lx265 -lx265_main10 -lx265_main12 -luser32 -lkernel32 -lmingw32 -lmoldname -lmingwex -lmsvcrt -lx264 -lwebpmux -lwebp -lwavpack -lvpx -lvorbisenc -lvorbis -lvo-amrwbenc -lvidstab -ltwolame -ltheoraenc -ltheoradec -logg -lspeex -lsnappy -lshine -lschroedinger-1.0 -lpthread -lorc-0.4 -lopus -lopenjp2 -DOPJ_STATIC -lopencore-amrwb -lopencore-amrnb -lnut -lmp3lame -lmodplug -lilbc -lgsm -lgme -lstdc++ -lcaca -lbluray -lxml2 -lgdi32 -lass -liconv -lfontconfig -lexpat -lfribidi -lfreetype -lpng16 -lgnutls -lws2_32 -lcrypt32 -lhogweed -lnettle -lgmp -llzma -lbz2 -lz -pthread -lpsapi -ladvapi32 -lshell32 -lswresample -lsoxr  -lavutil -lm  

yes
--------------------------------------------------------------------
Checking for libav* is FFmpeg
==>
#include <libavcodec/version.h>
int main(int argc, char **argv)
{ int x[LIBAVCODEC_VERSION_MICRO >= 100 ? 1 : -1]; return 0; }
<==
[1/2] Compiling build/.conf_check_feaa24a5e6f5895465d18ade842a5e08/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-mwindows', '-mconsole', '-pthread', '-I/home/qyot27/ffmpeg_build/32bit/include', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '-DHAVE_JPEG=1', '-DHAVE_DIRECT3D=1', '-DHAVE_GL=1', '-DHAVE_LIBAVCODEC=1', '-DHAVE_LIBAVCODEC=1', '-DOPJ_STATIC', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_feaa24a5e6f5895465d18ade842a5e08/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:7: warning: unused variable 'x' [-Wunused-variable]
 { int x[LIBAVCODEC_VERSION_MICRO >= 100 ? 1 : -1]; return 0; }
       ^

[2/2] Linking build/.conf_check_feaa24a5e6f5895465d18ade842a5e08/testbuild/testprog.exe

['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', '-Wl,--no-undefined', '-pthread', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_feaa24a5e6f5895465d18ade842a5e08/testbuild/testprog.exe', '-Wl,-Bstatic', '-L/home/qyot27/ffmpeg_build/32bit/lib', '-L/usr/i686-w64-mingw32/lib', '-lavcodec', '-lavicap32', '-lstrmiids', '-lshlwapi', '-lcdio_paranoia', '-lcdio_cdda', '-lcdio', '-lsecur32', '-lSDL2main', '-lSDL2', '-ldinput8', '-ldxguid', '-ldxerr8', '-lwinmm', '-limm32', '-loleaut32', '-lversion', '-luuid', '-lopengl32', '-lOpenAL32', '-lole32', '-lzimg', '-lxvidcore', '-lxavs', '-lx265', '-lx265_main10', '-lx265_main12', '-luser32', '-lkernel32', '-lmingw32', '-lmoldname', '-lmingwex', '-lmsvcrt', '-lx264', '-lwebpmux', '-lwebp', '-lwavpack', '-lvpx', '-lvorbisenc', '-lvorbis', '-lvo-amrwbenc', '-lvidstab', '-ltwolame', '-ltheoraenc', '-ltheoradec', '-logg', '-lspeex', '-lsnappy', '-lshine', '-lschroedinger-1.0', '-lpthread', '-lorc-0.4', '-lopus', '-lopenjp2', '-lopencore-amrwb', '-lopencore-amrnb', '-lnut', '-lmp3lame', '-lmodplug', '-lilbc', '-lgsm', '-lgme', '-lstdc++', '-lcaca', '-lbluray', '-lxml2', '-lgdi32', '-lass', '-liconv', '-lfontconfig', '-lexpat', '-lfribidi', '-lfreetype', '-lpng16', '-lgnutls', '-lws2_32', '-lcrypt32', '-lhogweed', '-lnettle', '-lgmp', '-llzma', '-lbz2', '-lz', '-lpsapi', '-ladvapi32', '-lshell32', '-lswresample', '-lsoxr', '-lavutil', '-lm', '-Wl,-Bdynamic']
err: /usr/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld: cannot find -lx264
collect2: error: ld returned 1 exit status

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686273799440: cprogram test.c.1.o -> testprog.exe}
['/usr/bin/i686-w64-mingw32-gcc', '-Wl,--enable-auto-import', '-Wl,--no-undefined', '-pthread', 'test.c.1.o', '-o', '/home/qyot27/mpv/build/.conf_check_feaa24a5e6f5895465d18ade842a5e08/testbuild/testprog.exe', '-Wl,-Bstatic', '-L/home/qyot27/ffmpeg_build/32bit/lib', '-L/usr/i686-w64-mingw32/lib', '-lavcodec', '-lavicap32', '-lstrmiids', '-lshlwapi', '-lcdio_paranoia', '-lcdio_cdda', '-lcdio', '-lsecur32', '-lSDL2main', '-lSDL2', '-ldinput8', '-ldxguid', '-ldxerr8', '-lwinmm', '-limm32', '-loleaut32', '-lversion', '-luuid', '-lopengl32', '-lOpenAL32', '-lole32', '-lzimg', '-lxvidcore', '-lxavs', '-lx265', '-lx265_main10', '-lx265_main12', '-luser32', '-lkernel32', '-lmingw32', '-lmoldname', '-lmingwex', '-lmsvcrt', '-lx264', '-lwebpmux', '-lwebp', '-lwavpack', '-lvpx', '-lvorbisenc', '-lvorbis', '-lvo-amrwbenc', '-lvidstab', '-ltwolame', '-ltheoraenc', '-ltheoradec', '-logg', '-lspeex', '-lsnappy', '-lshine', '-lschroedinger-1.0', '-lpthread', '-lorc-0.4', '-lopus', '-lopenjp2', '-lopencore-amrwb', '-lopencore-amrnb', '-lnut', '-lmp3lame', '-lmodplug', '-lilbc', '-lgsm', '-lgme', '-lstdc++', '-lcaca', '-lbluray', '-lxml2', '-lgdi32', '-lass', '-liconv', '-lfontconfig', '-lexpat', '-lfribidi', '-lfreetype', '-lpng16', '-lgnutls', '-lws2_32', '-lcrypt32', '-lhogweed', '-lnettle', '-lgmp', '-llzma', '-lbz2', '-lz', '-lpsapi', '-ladvapi32', '-lshell32', '-lswresample', '-lsoxr', '-lavutil', '-lm', '-Wl,-Bdynamic']

from /home/qyot27/mpv: The configuration failed
no
--------------------------------------------------------------------
Checking for libav* is Libav
==>
#include <libavcodec/version.h>
int main(int argc, char **argv)
{ int x[LIBAVCODEC_VERSION_MICRO >= 100 ? -1 : 1]; return 0; }
<==
[1/2] Compiling build/.conf_check_11aa94b805669d9058422a3c41160a82/test.c

['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-mwindows', '-mconsole', '-pthread', '-I/home/qyot27/ffmpeg_build/32bit/include', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '-DHAVE_JPEG=1', '-DHAVE_DIRECT3D=1', '-DHAVE_GL=1', '-DHAVE_LIBAVCODEC=1', '-DHAVE_LIBAVCODEC=1', '-DOPJ_STATIC', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_11aa94b805669d9058422a3c41160a82/testbuild/test.c.1.o']
err: ../test.c: In function 'main':
../test.c:3:7: error: size of array 'x' is negative
 { int x[LIBAVCODEC_VERSION_MICRO >= 100 ? -1 : 1]; return 0; }
       ^
../test.c:3:7: warning: unused variable 'x' [-Wunused-variable]

from /home/qyot27/mpv: Test does not build: Traceback (most recent call last):
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build
    bld.compile()
  File "/home/qyot27/mpv/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 139686276746512: c test.c -> test.c.1.o}
['/usr/bin/i686-w64-mingw32-gcc', '-mfpmath=sse', '-march=pentium3', '-msse', '-mtune=pentium3', '-DCACA_STATIC', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-DINITGUID', '-U__STRICT_ANSI__', '-municode', '-D__USE_MINGW_ANSI_STDIO=1', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-isystem', '/home/qyot27/mpv/osdep/win32/include', '-I', '/home/qyot27/mpv/osdep/win32/include', '-DIN_WINPTHREAD', '-mwindows', '-mconsole', '-pthread', '-I/home/qyot27/ffmpeg_build/32bit/include', '-DDEFAULT_DVD_DEVICE="D:"', '-DDEFAULT_CDROM_DEVICE="D:"', '-DHAVE_CPLAYER=1', '-DHAVE_STATIC_BUILD=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1', '-DHAVE_DLOPEN=1', '-DHAVE_ASM=1', '-DHAVE_NOEXECSTACK=1', '-DHAVE_LIBM=1', '-DHAVE_MINGW=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_WIN32=1', '-DHAVE_WIN32_INTERNAL_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_C11_TLS=1', '-DHAVE_GCC_TLS=1', '-DHAVE_ICONV=1', '-DHAVE_DOS_PATHS=1', '-DHAVE_SUBPROCESS=1', '-DHAVE_GLOB_WIN32_REPLACEMENT=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_ENCODING=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_CDDA=1', '-DHAVE_UCHARDET=1', '-DHAVE_LCMS2=1', '-DHAVE_SDL2=1', '-DHAVE_OPENAL=1', '-DHAVE_WASAPI=1', '-DHAVE_GL_WIN32=1', '-DHAVE_GL_DXINTEROP=1', '-DHAVE_CACA=1', '-DHAVE_JPEG=1', '-DHAVE_DIRECT3D=1', '-DHAVE_GL=1', '-DHAVE_LIBAVCODEC=1', '-DHAVE_LIBAVCODEC=1', '-DOPJ_STATIC', '../test.c', '-c', '-o', '/home/qyot27/mpv/build/.conf_check_11aa94b805669d9058422a3c41160a82/testbuild/test.c.1.o']

from /home/qyot27/mpv: The configuration failed
no
--------------------------------------------------------------------
Checking for Libav/FFmpeg library versions
not found any of is_ffmpeg, is_libav
qyot27 commented 7 years ago

And yes, if I rebuild FFmpeg-git against a static build of x264, mpv-git has no issues with it and detects FFmpeg properly and builds/links without error.

ghost commented 7 years ago

The FFmpeg .pc files are probably either broken or you didn't update them when building. If not that, then it might be broken .pc generarion in FFmpeg.