Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-19-2004, 02:35 PM   #1
LQ Newbie
Registered: Nov 2004
Location: Iran
Distribution: Fedora Core
Posts: 16

Rep: Reputation: 0
Angry 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
Old 11-19-2004, 02:58 PM   #2
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

just run
[root@gaurav plugger-5.1.3]# rpm -qa|grep glibc

this and see if u have glibc header installed

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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
stdio.c cigarstub Programming 12 12-19-2014 07:39 AM
file not found by glob? - file exists? rgdatit Linux - Newbie 2 07-29-2005 03:16 AM
test.c:1:19: Stdio.h: No such file or directory :( wogga Linux - Software 1 06-11-2004 03:57 PM
snmpd installed, see file, but get error file not found PCHelper Slackware 0 11-06-2003 01:44 PM
pthread and stdio the_dayi Programming 2 07-23-2003 02:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration