16.07.2018 10:15 PM David Frank <david_frank95@yahoo.com> napisaƂ(a):
>
> Thanks Valdis.
>
> Yes, I got the kernel and header files installed.
>
> But there seems to be a lot of mman.h. I found one in /usr/include/asm-generic that defined MAP_SYNC, and I included it also, now I got passed compile and linking.

I feel like your toolchain should be able to pick up the right file when you do #include <sys/mman.h>

Regards,

Alex