LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 10:55 AM   #1
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 205

Rep: Reputation: 30
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, 10: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, 11:39 AM   #3
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 205

Original Poster
Rep: Reputation: 30
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 11:47 AM.
 
Old 08-25-2005, 11: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, 11:57 AM   #5
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 205

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


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

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

All times are GMT -5. The time now is 01:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration