23 Mayıs 2009 Cumartesi

gcc gives stdio.h not found error on Ubuntu

Problem: On Ubuntu Linux, when I try to compile a simple C code, it gives stdio.h not found error.

Solution: Install build-essential.
You can install it using either
  • "Synaptic Package Manager" in Sytem > Administration menu, or
  • sudo apt-get install build-essential command in the terminal window.