linux-sunxi / sunxi-tools

A collection of command line tools for ARM devices with Allwinner SoCs.
http://linux-sunxi.org/
GNU General Public License v2.0
579 stars 421 forks source link

meminfo.c:25:10: fatal error: sys/io.h: No such file or directory 25 | #include <sys/io.h> #137

Closed heldiho53 closed 3 years ago

heldiho53 commented 4 years ago

Cannot build target tools. Header files seem to be missing. What to do here? I'm compiling with linaro4.9 as recommended by the sunxi wiki.

jake5253 commented 4 years ago

try cross_compile= https://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/

apritzel commented 4 years ago

Probably the same as #144. Should be fixed with https://github.com/linux-sunxi/sunxi-tools/commit/783cbd59fcf086a9aaf603271823fb4ca71f0c55 (already merged). @heldiho53 please retry with the latest HEAD and close, if it works now. Thanks!