LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No stdio.h file found (https://www.linuxquestions.org/questions/linux-newbie-8/no-stdio-h-file-found-256931/)

seesharp 11-19-2004 01:35 PM

No stdio.h file found
 
hi everyone,
i have a problem compiling my C or CPP codes on any compiler(gcc,cpp,...)
when i write a simple hello world program like below

#include <stdio.h>
int main()
{
printf("Hello World");
}

it generates an error saying that no stdio.h file found
I'm using Fedora Core 2 and just a newbie in linux
Thanks For Your Help

masand 11-19-2004 01:58 PM

hi there

just run
[root@gaurav plugger-5.1.3]# rpm -qa|grep glibc
glibc-headers-2.3.3-27
glibc-2.3.3-27
glibc-kernheaders-2.4-8.44
glibc-common-2.3.3-27
glibc-devel-2.3.3-27

this and see if u have glibc header installed

an also run
updatedb
then
run "locate stdio.h" to look out for location of stdio.h

regards


All times are GMT -5. The time now is 01:40 PM.