gcc
worked perfectly fine until I updated to Ubuntu 16.04 and now when I run:
gcc file.c
an error shows up:
file.c:1:18: fatal error: stdio.h: No such file or directory
compilation terminated.
I checked if stdio.h
was there and it still was in /usr/include/stdio.h
. Please help!
sudo apt install --reinstall build-essential
fixed the error for me, thanks! – Vikram Hosakote May 20 '19 at 17:56