<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 <windows.h></div><div class="gmail_default" style="color:rgb(51,0,0);font-family:georgia,serif">#include <shlobj.h></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'</font></div><div style=""><font color="#330000" face="georgia, serif">decode.o:decode.c:(.text+0x50fb): undefined reference to `CreateFile_utf8'</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'</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'</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 'flac.exe' 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 '/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac/src/flac'</div><div class="gmail_default">depbase=`echo analyze.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\</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 &&\</div><div class="gmail_default">mv -f $depbase.Tpo $depbase.Po</div><div class="gmail_default">depbase=`echo decode.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\</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 &&\</div><div class="gmail_default">mv -f $depbase.Tpo $depbase.Po</div><div class="gmail_default">decode.c: In function 'DecoderSession_destroy':</div><div class="gmail_default">decode.c:270:5: error: unknown type name 'HANDLE'</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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 'CreateFile_utf8' [-Wimplicit-function-declaration]</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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 'CreateFile_utf8' [-Wnested-externs]</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'GENERIC_READ' undeclared (first use in this function)</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'GENERIC_WRITE' undeclared (first use in this function)</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'FILE_SHARE_READ' undeclared (first use in this function)</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'FILE_SHARE_WRITE' undeclared (first use in this function)</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'OPEN_EXISTING' undeclared (first use in this function)</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'FILE_ATTRIBUTE_NORMAL' undeclared (first use in this function)</div><div class="gmail_default"><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'INVALID_HANDLE_VALUE' 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 'GetFileType' [-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 'GetFileType' [-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: 'FILE_TYPE_DISK' 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 'LARGE_INTEGER'</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 'QuadPart' 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 'SetFilePointerEx' [-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 'SetFilePointerEx' [-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: 'FILE_CURRENT' 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 'SetEndOfFile' [-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 'SetEndOfFile' [-Wnested-externs]</div><div class="gmail_default">decode.c:278:6: warning: implicit declaration of function 'CloseHandle' [-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 'CloseHandle' [-Wnested-externs]</div><div class="gmail_default">decode.c: In function 'DecoderSession_process':</div><div class="gmail_default">decode.c:386:3: error: unknown type name 'HANDLE'</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'GENERIC_READ' undeclared (first use in this function)</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'GENERIC_WRITE' undeclared (first use in this function)</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'FILE_SHARE_READ' undeclared (first use in this function)</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'FILE_SHARE_WRITE' undeclared (first use in this function)</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'OPEN_EXISTING' undeclared (first use in this function)</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'FILE_ATTRIBUTE_NORMAL' undeclared (first use in this function)</div><div class="gmail_default"> HANDLE fh = CreateFile_utf8(d->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: 'INVALID_HANDLE_VALUE' 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: 'FILE_TYPE_DISK' 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 'LARGE_INTEGER'</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 'QuadPart' in something not a structure or union</div><div class="gmail_default"> size.QuadPart = d->total_samples * d->channels * ((d->bps+7)/8);</div><div class="gmail_default"> ^</div><div class="gmail_default">decode.c:392:10: error: request for member 'QuadPart' 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 'QuadPart' in something not a structure or union</div><div class="gmail_default"> size.QuadPart += d->foreign_metadata->blocks[i].size;</div><div class="gmail_default"> ^</div><div class="gmail_default">decode.c:402:41: error: 'FILE_CURRENT' 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 'decode.o' failed</div><div class="gmail_default">make[3]: *** [decode.o] Error 1</div><div class="gmail_default">make[3]: Leaving directory '/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac/src/flac'</div><div class="gmail_default">Makefile:428: recipe for target 'all-recursive' failed</div><div class="gmail_default">make[2]: *** [all-recursive] Error 1</div><div class="gmail_default">make[2]: Leaving directory '/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac/src'</div><div class="gmail_default">Makefile:483: recipe for target 'all-recursive' failed</div><div class="gmail_default">make[1]: *** [all-recursive] Error 1</div><div class="gmail_default">make[1]: Leaving directory '/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac'</div><div class="gmail_default">Makefile:415: recipe for target 'all' 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"><<a href="mailto:mle+la@mega-nerd.com" target="_blank">mle+la@mega-nerd.com</a>></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>