<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;color:rgb(51,0,0)">Thank you for the feedback.</div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(51,0,0)"><br></div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(51,0,0)">This is cross-compiling for mingw-w64-x86_64 using gcc-5.3.0 and mingw-w64-4.0.4 on GNU/Linux.</div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(51,0,0)"><br></div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(51,0,0)">Upon attempting to compile now, a large number of errors occur in flac/decode.c which I have placed at the end of this email. They are eased by adding this to decode.c:</div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(51,0,0)"><br></div><div class="gmail_default" style=""><div class="gmail_default" style="color:rgb(51,0,0);font-family:georgia,serif">#if _WIN32<br></div><div class="gmail_default" style="color:rgb(51,0,0);font-family:georgia,serif">#include &lt;windows.h&gt;</div><div class="gmail_default" style="color:rgb(51,0,0);font-family:georgia,serif">#include &lt;shlobj.h&gt;</div><div class="gmail_default" style="color:rgb(51,0,0);font-family:georgia,serif">#endif</div><div style="color:rgb(51,0,0);font-family:georgia,serif"><br></div><div style="color:rgb(51,0,0);font-family:georgia,serif">...among the headers.</div><div style="color:rgb(51,0,0);font-family:georgia,serif"><br></div><div style="color:rgb(51,0,0);font-family:georgia,serif">Then, this error results when attempting to link flac.exe:</div><div style="color:rgb(51,0,0);font-family:georgia,serif"><br></div><div style=""><div style=""><font color="#330000" face="georgia, serif">decode.o:decode.c:(.text+0x4fe1): undefined reference to `CreateFile_utf8&#39;</font></div><div style=""><font color="#330000" face="georgia, serif">decode.o:decode.c:(.text+0x50fb): undefined reference to `CreateFile_utf8&#39;</font></div><div style=""><font color="#330000" face="georgia, serif">../../src/share/grabbag/.libs/libgrabbag.a(file.o):file.c:(.text+0x156): undefined reference to `CreateFile_utf8&#39;</font></div><div style=""><font color="#330000" face="georgia, serif">../../src/share/grabbag/.libs/libgrabbag.a(file.o):file.c:(.text+0x188): undefined reference to `CreateFile_utf8&#39;</font></div><div style=""><font color="#330000" face="georgia, serif">collect2: error: ld returned 1 exit status</font></div><div style=""><font color="#330000" face="georgia, serif">Makefile:487: recipe for target &#39;flac.exe&#39; failed</font></div></div><div style="color:rgb(51,0,0);font-family:georgia,serif"><br></div><div style="color:rgb(51,0,0);font-family:georgia,serif">I believe the developers have been attending to code relevant to this error in the recent past.</div><div style="color:rgb(51,0,0);font-family:georgia,serif"><br></div><div style="color:rgb(51,0,0);font-family:georgia,serif">Without adding the headers above, this compiler bail-out happens:</div><div style="color:rgb(51,0,0);font-family:georgia,serif"><br></div></div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(51,0,0)"><div class="gmail_default">make[3]: Entering directory &#39;/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac/src/flac&#39;</div><div class="gmail_default">depbase=`echo analyze.o | sed &#39;s|[^/]*$|.deps/&amp;|;s|\.o$||&#39;`;\</div><div class="gmail_default">x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I./include -I../../include -DNDEBUG -D__MSVCRT_VERSION__=0x0601  -I/home/admin/development/MultimediaTools-mingw-w64/sandbox/mingw-w64-x86_64/x86_64-w64-mingw32/include -O3 -funroll-loops  -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Winline  -Wdeclaration-after-statement -D_FORTIFY_SOURCE=2 -msse2 -MT analyze.o -MD -MP -MF $depbase.Tpo -c -o analyze.o analyze.c &amp;&amp;\</div><div class="gmail_default">mv -f $depbase.Tpo $depbase.Po</div><div class="gmail_default">depbase=`echo decode.o | sed &#39;s|[^/]*$|.deps/&amp;|;s|\.o$||&#39;`;\</div><div class="gmail_default">x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I./include -I../../include -DNDEBUG -D__MSVCRT_VERSION__=0x0601  -I/home/admin/development/MultimediaTools-mingw-w64/sandbox/mingw-w64-x86_64/x86_64-w64-mingw32/include -O3 -funroll-loops  -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Winline  -Wdeclaration-after-statement -D_FORTIFY_SOURCE=2 -msse2 -MT decode.o -MD -MP -MF $depbase.Tpo -c -o decode.o decode.c &amp;&amp;\</div><div class="gmail_default">mv -f $depbase.Tpo $depbase.Po</div><div class="gmail_default">decode.c: In function &#39;DecoderSession_destroy&#39;:</div><div class="gmail_default">decode.c:270:5: error: unknown type name &#39;HANDLE&#39;</div><div class="gmail_default">     HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">     ^</div><div class="gmail_default">decode.c:270:17: warning: implicit declaration of function &#39;CreateFile_utf8&#39; [-Wimplicit-function-declaration]</div><div class="gmail_default">     HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                 ^</div><div class="gmail_default">decode.c:270:5: warning: nested extern declaration of &#39;CreateFile_utf8&#39; [-Wnested-externs]</div><div class="gmail_default">     HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">     ^</div><div class="gmail_default">decode.c:270:49: error: &#39;GENERIC_READ&#39; undeclared (first use in this function)</div><div class="gmail_default">     HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                                                 ^</div><div class="gmail_default">decode.c:270:49: note: each undeclared identifier is reported only once for each function it appears in</div><div class="gmail_default">decode.c:270:62: error: &#39;GENERIC_WRITE&#39; undeclared (first use in this function)</div><div class="gmail_default">     HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                                                              ^</div><div class="gmail_default">decode.c:270:77: error: &#39;FILE_SHARE_READ&#39; undeclared (first use in this function)</div><div class="gmail_default">     HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                                                                             ^</div><div class="gmail_default">decode.c:270:93: error: &#39;FILE_SHARE_WRITE&#39; undeclared (first use in this function)</div><div class="gmail_default">     HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                                                                                             ^</div><div class="gmail_default">decode.c:270:117: error: &#39;OPEN_EXISTING&#39; undeclared (first use in this function)</div><div class="gmail_default">     HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                                                                                                                     ^</div><div class="gmail_default">decode.c:270:132: error: &#39;FILE_ATTRIBUTE_NORMAL&#39; undeclared (first use in this function)</div><div class="gmail_default"><div class="gmail_default">     HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                                                                                                                                    ^</div><div class="gmail_default">decode.c:271:14: error: &#39;INVALID_HANDLE_VALUE&#39; undeclared (first use in this function)</div><div class="gmail_default">     if(fh != INVALID_HANDLE_VALUE) {</div><div class="gmail_default">              ^</div><div class="gmail_default">decode.c:272:9: warning: implicit declaration of function &#39;GetFileType&#39; [-Wimplicit-function-declaration]</div><div class="gmail_default">      if(GetFileType(fh) == FILE_TYPE_DISK) {</div><div class="gmail_default">         ^</div><div class="gmail_default">decode.c:272:6: warning: nested extern declaration of &#39;GetFileType&#39; [-Wnested-externs]</div><div class="gmail_default">      if(GetFileType(fh) == FILE_TYPE_DISK) {</div><div class="gmail_default">      ^</div><div class="gmail_default">decode.c:272:28: error: &#39;FILE_TYPE_DISK&#39; undeclared (first use in this function)</div><div class="gmail_default">      if(GetFileType(fh) == FILE_TYPE_DISK) {</div><div class="gmail_default">                            ^</div><div class="gmail_default">decode.c:273:7: error: unknown type name &#39;LARGE_INTEGER&#39;</div><div class="gmail_default">       LARGE_INTEGER size;</div><div class="gmail_default">       ^</div><div class="gmail_default">decode.c:274:11: error: request for member &#39;QuadPart&#39; in something not a structure or union</div><div class="gmail_default">       size.QuadPart = written_size;</div><div class="gmail_default">           ^</div><div class="gmail_default">decode.c:275:10: warning: implicit declaration of function &#39;SetFilePointerEx&#39; [-Wimplicit-function-declaration]</div><div class="gmail_default">       if(SetFilePointerEx(fh, size, NULL, FILE_CURRENT)) /* correct the file size */</div><div class="gmail_default">          ^</div><div class="gmail_default">decode.c:275:7: warning: nested extern declaration of &#39;SetFilePointerEx&#39; [-Wnested-externs]</div><div class="gmail_default">       if(SetFilePointerEx(fh, size, NULL, FILE_CURRENT)) /* correct the file size */</div><div class="gmail_default">       ^</div><div class="gmail_default">decode.c:275:43: error: &#39;FILE_CURRENT&#39; undeclared (first use in this function)</div><div class="gmail_default">       if(SetFilePointerEx(fh, size, NULL, FILE_CURRENT)) /* correct the file size */</div><div class="gmail_default">                                           ^</div><div class="gmail_default">decode.c:276:8: warning: implicit declaration of function &#39;SetEndOfFile&#39; [-Wimplicit-function-declaration]</div><div class="gmail_default">        SetEndOfFile(fh);</div><div class="gmail_default">        ^</div><div class="gmail_default">decode.c:276:8: warning: nested extern declaration of &#39;SetEndOfFile&#39; [-Wnested-externs]</div><div class="gmail_default">decode.c:278:6: warning: implicit declaration of function &#39;CloseHandle&#39; [-Wimplicit-function-declaration]</div><div class="gmail_default">      CloseHandle(fh);</div><div class="gmail_default">      ^</div><div class="gmail_default">decode.c:278:6: warning: nested extern declaration of &#39;CloseHandle&#39; [-Wnested-externs]</div><div class="gmail_default">decode.c: In function &#39;DecoderSession_process&#39;:</div><div class="gmail_default">decode.c:386:3: error: unknown type name &#39;HANDLE&#39;</div><div class="gmail_default">   HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">   ^</div><div class="gmail_default">decode.c:386:47: error: &#39;GENERIC_READ&#39; undeclared (first use in this function)</div><div class="gmail_default">   HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                                               ^</div><div class="gmail_default">decode.c:386:60: error: &#39;GENERIC_WRITE&#39; undeclared (first use in this function)</div><div class="gmail_default">   HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default"><br></div><div class="gmail_default"><div class="gmail_default">                                                            ^</div><div class="gmail_default">decode.c:386:75: error: &#39;FILE_SHARE_READ&#39; undeclared (first use in this function)</div><div class="gmail_default">   HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                                                                           ^</div><div class="gmail_default">decode.c:386:91: error: &#39;FILE_SHARE_WRITE&#39; undeclared (first use in this function)</div><div class="gmail_default">   HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                                                                                           ^</div><div class="gmail_default">decode.c:386:115: error: &#39;OPEN_EXISTING&#39; undeclared (first use in this function)</div><div class="gmail_default">   HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                                                                                                                   ^</div><div class="gmail_default">decode.c:386:130: error: &#39;FILE_ATTRIBUTE_NORMAL&#39; undeclared (first use in this function)</div><div class="gmail_default">   HANDLE fh = CreateFile_utf8(d-&gt;outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);</div><div class="gmail_default">                                                                                                                                  ^</div><div class="gmail_default">decode.c:387:12: error: &#39;INVALID_HANDLE_VALUE&#39; undeclared (first use in this function)</div><div class="gmail_default">   if(fh != INVALID_HANDLE_VALUE) {</div><div class="gmail_default">            ^</div><div class="gmail_default">decode.c:388:27: error: &#39;FILE_TYPE_DISK&#39; undeclared (first use in this function)</div><div class="gmail_default">    if (GetFileType(fh) == FILE_TYPE_DISK) {</div><div class="gmail_default">                           ^</div><div class="gmail_default">decode.c:389:5: error: unknown type name &#39;LARGE_INTEGER&#39;</div><div class="gmail_default">     LARGE_INTEGER size;</div><div class="gmail_default">     ^</div><div class="gmail_default">decode.c:390:9: error: request for member &#39;QuadPart&#39; in something not a structure or union</div><div class="gmail_default">     size.QuadPart = d-&gt;total_samples * d-&gt;channels * ((d-&gt;bps+7)/8);</div><div class="gmail_default">         ^</div><div class="gmail_default">decode.c:392:10: error: request for member &#39;QuadPart&#39; in something not a structure or union</div><div class="gmail_default">      size.QuadPart += 512;</div><div class="gmail_default">          ^</div><div class="gmail_default">decode.c:397:13: error: request for member &#39;QuadPart&#39; in something not a structure or union</div><div class="gmail_default">         size.QuadPart += d-&gt;foreign_metadata-&gt;blocks[i].size;</div><div class="gmail_default">             ^</div><div class="gmail_default">decode.c:402:41: error: &#39;FILE_CURRENT&#39; undeclared (first use in this function)</div><div class="gmail_default">     if(SetFilePointerEx(fh, size, NULL, FILE_CURRENT)) /* tell filesystem the expected filesize to eliminate fragmentation */</div><div class="gmail_default">                                         ^</div><div class="gmail_default">Makefile:506: recipe for target &#39;decode.o&#39; failed</div><div class="gmail_default">make[3]: *** [decode.o] Error 1</div><div class="gmail_default">make[3]: Leaving directory &#39;/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac/src/flac&#39;</div><div class="gmail_default">Makefile:428: recipe for target &#39;all-recursive&#39; failed</div><div class="gmail_default">make[2]: *** [all-recursive] Error 1</div><div class="gmail_default">make[2]: Leaving directory &#39;/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac/src&#39;</div><div class="gmail_default">Makefile:483: recipe for target &#39;all-recursive&#39; failed</div><div class="gmail_default">make[1]: *** [all-recursive] Error 1</div><div class="gmail_default">make[1]: Leaving directory &#39;/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac&#39;</div><div class="gmail_default">Makefile:415: recipe for target &#39;all&#39; failed</div><div class="gmail_default">make: *** [all] Error 2</div><div class="gmail_default">Build failure. Please see error messages above.</div></div></div></div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(51,0,0)"><br></div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(51,0,0)"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 9, 2016 at 7:12 PM, Erik de Castro Lopo <span dir="ltr">&lt;<a href="mailto:mle+la@mega-nerd.com" target="_blank">mle+la@mega-nerd.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
</span>I think this was a temporary failure and it should be working again<br>
now.<br>
<span class="HOEnZb"><font color="#888888"><br>
Erik<br></font></span></blockquote><div> </div></div>
</div></div>