linux stdio.h: No such file or directory的解决方法

Friday, May 27, 2022 | 1 minute read | Updated at Friday, May 27, 2022

@

linux stdio.h: No such file or directory的解决方法

Linux编译某个程序报错,如下

./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

© 2018 - 2026 vpslala

🌱 Powered by Hugo with theme Dream.