gcc can not find stdio.h 'no such file'
Asked by
Cliffm
Hello my name is Cliff
The GCC has always worked before upgrading to Ubuntu 12.10.
now it tells me stdio.h no such file.
The test file is std hello.c file
#include < stdio.h >
void main()
{
printf("\nHello World\n");
}
!gcc hello.c
hello.c:1:21: fatal error: stdio.h : No such file or directory
compilation terminated.
shell returned 1
installed build-essential
cliffm@cjm:~$ sudo apt-get install build-essential
[sudo] password for cliffm:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
build-essential set to manually installed.
Still will not compile?
Thanks for any help
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- marcobra (Marco Braida)
- Solved:
- Last query:
- Last reply:
This question was reopened
- by Cliffm
To post a message you must log in.