Missing asm/types.h file

This file has been moved. In your Kernel it will be at include/uapi/asm-generic/types.h

Solution

  • Update the reference in types.h but I'm not sure if it is possible.

or

  • Compile this program against it's supported Kernel version, if you have that info.

Set your ARCH environment variable in terminal to x86: export ARCH=x86

or

add the line export ARCH=x86 to the Makefile