
linux stdio.h: No such file or directory的解决方法
linux stdio.h: No such file or directory的解决方法
Linux编译某个程序报错,如下
1
2
3
4
5
6
7
8
./src/arith.c:32:10: fatal error: stdio.h: No such file or directory
32 | #include <stdio.h>
| ^~~~~~~~~
compilation terminated.
make: *** [Makefile:185: pgms/arithoh] Error 1
**********************************************
Run: "make all" failed; aborting
解决方法,使用Debian/ubuntu系统。
apt-get install libc6-dev