• CONTEST ALERT - Experience the power of DDR5 memory with Kingston Click for details

GCC error- help

Status
Not open for further replies.

blueshift

Wise Old Crow
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

Commander in Chief
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).
 

QwertyManiac

Commander in Chief
build-essential is a meta-package, it installed a lot of stuff for you, you are inadvertently using it.
 
Status
Not open for further replies.
Top Bottom