fatal error: sys/cdefs.h解决方案

fatal error: sys/cdefs.h: No such file or directory|

Try these:
sudo apt-get purge libc6-dev
sudo apt-get install libc6-dev

In case of -m32:
sudo apt-get install libc6-dev-i386


我遇到上述同样的问题后,参照执行命令后,发现在/usr/include/目录下创建的sys和bits等目录里面全是软链接,链接到usr/include/x86_64-linux-gnu/

下对应的文件


引用自http://blog.163.com/snow_wana_sky/blog/static/247559083201531625534106/

你可能感兴趣的:(Linux)