LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-19-2004, 02:35 PM   #1
seesharp
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
masand
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
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
 
  


Reply


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


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

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