I just found out that the and headers are located in the /usr/include folder in Ubuntu server, but I don\
The file sys/types.h is located at the /usr/include/sys/types.h
if u get this kind of Fatal Error:
.../linux/linux_types.h:146:38: fatal error: /usr/include/sys/types.h: No
such file or directory
Fix by using the following code:
sudo apt-get install build-essential flex libelf-dev libc6-dev-amd64 binutils-dev libdwarf-dev