On Sun, 2007-09-02 at 18:25 +0100, Roshan wrote:
Check if you have the include files (such as stdio.h in the /usr/include directory.
Also, it is likely you don't have "build-essential" package installed on Ubuntu. (Which version of Ubuntu?)
sudo apt-get install build-essential should install the package. (Or you could, use Adept) if you are comfortable with it).
I applaud Roshan :) You people should be ashamed of themselves. A poor n00b makes one mistake and everyone goes yapping and yapping and yapping while the newbie is left clueless. I wonder if he read Roshan's reply.
Anyway,
Amiya Sahoo, the reason you're getting these errors is because gcc is unable to find the include files ( headers ). The resolution to such a problem is to download the appropriate development package. I'm a n00b in Ubuntu but as someone suggested you'll need to download build-essential package using apt-get.
apt-get is a commandline utility to install software. Please search for more info on apt-get on whatever search engine of your choice :)