stdio.h: No such file or directory

Today we had a peculiar problem with our redhat linux v 9.0 , in which we are suppose to compile and run a C code. we, java guys, with a blind guess, we installed GCC and all the packs found under developer tools. at that time we are able to get the code compiled. but we got a peculiar error. “stdio.h: No such file or directory“. being a basic package, it is not given in the developer utils. it was suppose to be there in /usr/include folder. but, to complete your installation, you need to install glibc-devel and kernel-headers. also libstdc++-devel can also be considered.

this post is for my note. i may forget it tomorrow 😦