|
From: | unlvsur unlvsur |
Subject: | x86_64-w64-mingw32-gcc cross compilation fails |
Date: | Sun, 19 Sep 2021 08:09:39 +0000 |
mv -f .deps/stat-w32.Tpo .deps/stat-w32.Po ../../../make/lib/access.c:23:10: fatal error: io.h: No such file or directory 23 | #include <io.h> | ^~~~~~ compilation terminated. make[3]: *** [Makefile:1157: access.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ../../../make/lib/stat-time.c:21: ../../../make/lib/stat-time.h: In function 'get_stat_atime_ns': ../../../make/lib/stat-time.h:52:43: error: invalid use of undefined type 'const struct _stati64' 52 | # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) | ^~ ../../../make/lib/stat-time.h:69:10: note: in expansion of macro 'STAT_TIMESPEC' 69 | return STAT_TIMESPEC (st, st_atim).tv_nsec; | ^~~~~~~~~~~~~ ../../../make/lib/stat-time.h: In function 'get_stat_ctime_ns': ../../../make/lib/stat-time.h:52:43: error: invalid use of undefined type 'const struct _stati64' 52 | # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) | ^~ ../../../make/lib/stat-time.h:82:10: note: in expansion of macro 'STAT_TIMESPEC' 82 | return STAT_TIMESPEC (st, st_ctim).tv_nsec; | ^~~~~~~~~~~~~ ../../../make/lib/stat-time.h: In function 'get_stat_mtime_ns': ../../../make/lib/stat-time.h:52:43: error: invalid use of undefined type 'const struct _stati64' 52 | # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) | ^~ ../../../make/lib/stat-time.h:95:10: note: in expansion of macro 'STAT_TIMESPEC' 95 | return STAT_TIMESPEC (st, st_mtim).tv_nsec; | ^~~~~~~~~~~~~ ../../../make/lib/stat-time.h: In function 'get_stat_atime': ../../../make/lib/stat-time.h:52:43: error: invalid use of undefined type 'const struct _stati64' 52 | # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) | ^~ ../../../make/lib/stat-time.h:121:10: note: in expansion of macro 'STAT_TIMESPEC' 121 | return STAT_TIMESPEC (st, st_atim); | ^~~~~~~~~~~~~ This is completely wrong tbh. Sent from Mail for Windows |
[Prev in Thread] | Current Thread | [Next in Thread] |