Hello, Upon compiling the flac tree today, after many successful compilations over the last few weeks, a new error is appearing before compilation bails out.
This is a cross-compilation using gcc-5.3.0 running on GNU/Linux, with the objects being built for a mingw-w64-x86_64 host. Among other things, the compiler is looking for windows_unicode_filenames.h but it isn't there. Also, I'm not a programmer, and am not sure where the #define for HANDLE should be found. Anyway, I hope this error report may be of some help to you. libtool: compile: 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 bitmath.lo -MD -MP -MF .deps/bitmath.Tpo -c bitmath.c -DDLL_EXPORT -DPIC -o .libs/bitmath.o In file included from ../../include/share/compat.h:150:0, from ./include/private/bitmath.h:39, from bitmath.c:37: ../../include/share/win_utf8_io.h:54:43: warning: 'struct __stat64' declared inside parameter list int _stat64_utf8(const char *path, struct __stat64 *buffer); ^ ../../include/share/win_utf8_io.h:54:43: warning: its scope is only this definition or declaration, which is probably not what you want ../../include/share/win_utf8_io.h:59:1: error: unknown type name 'HANDLE' HANDLE WINAPI CreateFile_utf8(const char *lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreati ^ ../../include/share/win_utf8_io.h:59:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CreateFile_utf8' HANDLE WINAPI CreateFile_utf8(const char *lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreati ^ In file included from ./include/private/bitmath.h:39:0, from bitmath.c:37: ../../include/share/compat.h:155:45: fatal error: share/windows_unicode_filenames.h: No such file or directory compilation terminated. Makefile:696: recipe for target 'bitmath.lo' failed make[4]: *** [bitmath.lo] Error 1 make[4]: Leaving directory '/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac/src/libFLAC' Makefile:758: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac/src/libFLAC' Makefile:428: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac/src' Makefile:483: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/admin/development/MultimediaTools-mingw-w64/sandbox/x86_64/flac' Makefile:415: recipe for target 'all' failed make: *** [all] Error 2 Build failure. Please see error messages above.
_______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev