Re: hello,what is the gcc problem? etch gcc 4.1 no stdio.h?
Hi,
On Thu, 2006-10-12 at 05:58 -0400, lantian ai wrote:
> grandi:~# cat hello.c
> #include <stdio.h>
> int main()
> {
> printf("hello world\n");
> }
> grandi:~# gcc -o hello hello.c
> hello.c:1:19: error: stdio.h: No such file or directory
> hello.c: In function 'main':
> hello.c:4: warning: incompatible implicit declaration of built-in
> function 'printf'
> grandi:~# ls /usr/include/
> initreq.h
The problem is that you don't have libc6-dev installed.
Regards,
Adam
Reply to: