2020年6月7日 星期日

fatal error: sys/types.h: No such file or directory #include


$ make menuconfig






$ find /usr/include -name types.h 
 
$ echo "#include <sys/types.h>" | gcc -E -x c - | grep /types.h

$ echo "#include <sys/types.h>" | gcc -E -x c - | grep /types.h
Fix by using the following code:
sudo apt-get install build-essential flex libelf-dev libc6-dev-amd64 binutils-dev libdwarf-dev
$ find /usr/include -name types.h 

0 個意見:

張貼留言

訂閱 張貼留言 [Atom]

<< 首頁