Code: Select all
CC astring.lo
In file included from /usr/share/mingw-w64/include/time.h:293:0,
from shared.h:24,
from fcintl.h:26,
from astring.c:68:
/usr/include/x86_64-linux-gnu/sys/timeb.h:21:10: fatal error: features.h: No such file or directory
#include <features.h>
^~~~~~~~~~~~
compilation terminated.
Makefile:740: recipe for target 'astring.lo' failed
When I tried replicating the issue by making my own tiny script including time.h, the correct headers are being included (at least according to the preprocessor output). I've previously experienced a similar error in the luasql files with string.h (which I've circumvented by disabling fcdb); that one also went away when using a dedicated script and running it through x86_64-w64-mingw32-gcc.
For reference, this is my configure setup:
Code: Select all
./configure --host=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32 --disable-nls --enable-client=gtk3.22 --enable-fcmp=no --enable-fcdb=no
Anyone got any ideas on how to fix this issue?