DIGIT-ARC read-only archive · snapshot: July 23, 2026

GCC error- help

7 posts · originally from https://geek.digit.in/community/threads/gcc-error-help.101235/

blueshift
blueshift Original post #1
Nov 3, 2008 at 6:51 PM
1. When I compile using GCC, its giving me error 'cannot find stdio.h...other header files.' Its just a simple hello program that I checked. It used to compile the last time I ran.

I checked the directory: /usr/src/linuxheader.../include/asm. There are no stdio.h, stdlib.h header files. What went wrong?

Help please.
QwertyManiac
Nov 3, 2008 at 7:00 PM
Install the header files.

For example, on Ubuntu, an easy way to get all development libraries is to install the build-essential package (Its even on the CD).
blueshift
Nov 3, 2008 at 7:15 PM
Ok.

I checked in Synaptic. It is showing uninstalled...so this will work.
Thanks!
Faun
Faun #4
Nov 3, 2008 at 7:40 PM
yep 100% guaranteed
red_devil
Nov 3, 2008 at 7:45 PM
@blueshift, me had similar problems.. more on this thread :-

*www.thinkdigit.com/forum/showthread.php?t=98065
blueshift
Nov 4, 2008 at 12:05 AM
Thanks. Though I haven't used build-essential, but my problem is solved.
QwertyManiac
Nov 4, 2008 at 3:10 AM
build-essential is a meta-package, it installed a lot of stuff for you, you are inadvertently using it.