Hi
I am play imx8qm iwave board.
when I use the clang toolchain, I tried to build with code as the below line in makefile:
aarch64-poky-linux-clang -O2 makeBmp.c process01.c -o makeBmp --sysroot=/opt/fsl-imx-xwayland/L4.14.98-2.0.0_GA/sysroots/aarch64-poky-linux -lm -Wall -ffunction-sections -Wl,-gc-sections
but error:
./common01.h:9:10: fatal error: 'sys/io.h' file not found
#include <sys/io.h>
^~~~~~~~~~
1 error generated.
In file included from process01.c:8:
what components I missed in the toolchains? I searched online but no solutions.
when I build my clang toolchains I only add:
TOOLCHAIN ?= "clang". in my local file
any suggestion?