LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-25-2005, 09:55 AM   #1
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 241

Rep: Reputation: 31
What package is stdio.h in?


What do I install so that I can use the include directive #include <stdio.h>? I keep on getting the error mesage
Code:
hello.c:1:19: stdio.h: No such file or directory
 
Old 08-25-2005, 09:57 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
What distribution are you refering too here? Is there anything in /usr/include?
 
Old 08-25-2005, 10:39 AM   #3
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 241

Original Poster
Rep: Reputation: 31
Debian.

The /usr/include folder only has a few things in it. Only one of them is a .h file.

Last edited by halfpower; 08-25-2005 at 10:47 AM.
 
Old 08-25-2005, 10:49 AM   #4
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
Usually development headers and import libraries are not installed by
default. You want libc6-dev.



peace V
 
Old 08-25-2005, 10:57 AM   #5
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 241

Original Poster
Rep: Reputation: 31
Thanks. That did the trick.
 
  


Reply



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 06:39 AM
#include <stdio.h>? blackzone Programming 2 09-30-2004 06:00 AM
pthread and stdio the_dayi Programming 2 07-23-2003 01:04 AM
what package is stdio.h in? mr_vanhorn Slackware 5 07-12-2002 10:42 AM
input from stdio raven Programming 2 05-12-2002 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration