Basic commands of llvm : fatal error

I just started using llvm and trying to use some basic commands of llvm, when i tried to execute clang -cc1 ~/hello.c -ast-print, i'm getting the error :

‘fatal error: ‘stdio.h’ file not found’

int main()
    return 0;

1 error generated.

so please help me out. Thanks!

'clang -cc1' is the frontend, 'clang' is the driver. The driver
invokes the frontend with appropriate options. See:

clang -### -c hello.c

So either copy those options to your 'clang -cc1' line, or use 'clang
-Xclang -ast-dump hello.c' to force the driver pass '-ast-dump'