--- Amiya Sahoo wrote: > Hi there > I am pretty new to GCC..I am using GCC 4.1.2 > installed on Ubuntu > 4.0..Iwrote a simple "Hello World" program.. > I am getting the following message > first.c:1:20: error: stdio.h: No such file or > directory > first.c: In function 'main': > first.c:4: warning: incompatible implicit > declaration of built-in function > 'printf'
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). -- http://www.gnu.org.in ubunturos @ freenode Why delete messages? Unlimited storage is just a click away. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html -- http://mm.glug-bom.org/mailman/listinfo/linuxers

