Quote:
Originally Posted by Roker2
So, I built KOReader toolchain, remake makefile, but I have the same error.
Code:
/home/dmitry/x-tools/arm-kindlepw2-linux-gnueabi/arm-kindlepw2-linux-gnueabi/include/c++/7.4.1/arm-kindlepw2-linux-gnueabi/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory
#include <features.h>
https://github.com/Roker2/blocks/blo...8/Makefile#L15
|
It seems that you are not including (no pun intended) the required include files.
If not otherwise specified, then the compiler (gcc) will default to /usr/include - which is where your HOST system files exist not necessarily where your TARGET system files exist.
Note: "not necessarily" means that in some cases, the file contents are identical on HOST and TARGET systems, some are not, so just use the ones that are supplied for your TARGET system.
Your favorite web search utility can lead you to zillions of cross-compiling "how to" articles. It is not something usually handled by this forum.