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 😦

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s