gcc로 컴파일 하면 "stdio.h: 그런 파일이나 디렉토리가 없음"하는 메시지가 출력됩

violet_yue의 이미지

violetyue@violet:~/bong$ gcc 1.c
1.c:1:18: error: stdio.h: 그런 파일이나 디렉토리가 없음
1.c: In function ‘main’:
1.c:5: warning: incompatible implicit declaration of built-in function ‘printf’

검색을 해봐도 이런 경우는 못 찾겠습니다. 상황을 보면 간단한 문제같은데.....도무지 갈피를 못 잡겠네요...뭐가 문제일까요??

#include<stdio.h>

int main()
{
        printf("bong\n");

        return(0);
}
단순한 프로그램 입니다.
litdream의 이미지

혹시 ls /usr/include/stdio.h 하면 있다고 하나요?

삽질의 대마왕...