Results 1 to 2 of 2
Hi folks i tried compiling a basic program in gcc it generated the following errors
Code:
preeth@debian:~$ gcc Cprog/test.c
Cprog/test.c:1:19: error: stdio.h: No such file or directory
Cprog/test.c: In function ...
- 12-10-2007 #1
Compile error
Hi folks i tried compiling a basic program in gcc it generated the following errors
my test.c content isCode:preeth@debian:~$ gcc Cprog/test.c Cprog/test.c:1:19: error: stdio.h: No such file or directory Cprog/test.c: In function ‘main’: Cprog/test.c:5: warning: incompatible implicit declaration of built-in function ‘printf’
Pls help to get rid of this error.......Code:#include <stdio.h> int main() { printf("This is a test program"); return 0; }
- 12-10-2007 #2
Well ppl i got the solution
and now my c programs are getting compiled perfectly.Code:#apt-get install build-essential


Reply With Quote