先日インストールした、Ubuntu Linux 8.04 LTS で gcc を使って C 言語のプログラムをコンパイルしようとしたら、「stdio.h がありません」、と出た。 いろいろ調べてみたら、デフォルトのインストールのままでは、libc が入っている build-essential のパッケージが入っていないそうなので、追加でインストールしておいた。 ubuntu@ubuntu:~$ gcc test.c test.c:1:19: error: stdio.h: No such file or directory test.c: In function 'main': test.c:5: 警告: incompatible implicit declaration of built-in function 'printf' エラーはこんな感じ。「stdio.h がありません」、「