Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 03-11-2008, 06:51 PM   #1 (permalink)
Wise Old Crow
 
blueshift's Avatar
 
Join Date: Apr 2005
Location: Inside the Pixel
Posts: 1,227
Default GCC error- help


1. When I compile using GCC, its giving me error 'cannot find stdio.h...other header files.' Its just a simple hello program that I checked. It used to compile the last time I ran.

I checked the directory: /usr/src/linuxheader.../include/asm. There are no stdio.h, stdlib.h header files. What went wrong?

Help please.
__________________
http://twitter.com/blueshift155
blueshift is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 03-11-2008, 07:00 PM   #2 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: GCC error- help

Install the header files.

For example, on Ubuntu, an easy way to get all development libraries is to install the build-essential package (Its even on the CD).
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 03-11-2008, 07:15 PM   #3 (permalink)
Wise Old Crow
 
blueshift's Avatar
 
Join Date: Apr 2005
Location: Inside the Pixel
Posts: 1,227
Default Re: GCC error- help

Ok.

I checked in Synaptic. It is showing uninstalled...so this will work.
Thanks!
__________________
http://twitter.com/blueshift155
blueshift is offline  
Old 03-11-2008, 07:40 PM   #4 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default Re: GCC error- help

yep 100% guaranteed
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is offline  
Old 03-11-2008, 07:45 PM   #5 (permalink)
Back!
 
red_devil's Avatar
 
Join Date: Jun 2007
Location: Bangalore
Posts: 513
Default Re: GCC error- help

@blueshift, me had similar problems.. more on this thread :-

ubuntu - gcc package problem
red_devil is offline  
Old 04-11-2008, 12:05 AM   #6 (permalink)
Wise Old Crow
 
blueshift's Avatar
 
Join Date: Apr 2005
Location: Inside the Pixel
Posts: 1,227
Default Re: GCC error- help

Thanks. Though I haven't used build-essential, but my problem is solved.
__________________
http://twitter.com/blueshift155
blueshift is offline  
Old 04-11-2008, 03:10 AM   #7 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: GCC error- help

build-essential is a meta-package, it installed a lot of stuff for you, you are inadvertently using it.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fatal error C1189: #error : WINDOWS.H already included. diyora Programming 3 07-05-2008 02:31 PM
Splinter Cell:Double Agent Visual C++ runtime error and ***MUST CHECK*** error zerohourkill Gamerz 17 04-08-2007 02:47 PM
Windows XP Booting and Installation Error (LILO Error) arijitraja Software Q&A 3 26-02-2006 03:32 PM
Error error error....gives me hell of a terror abhilash QnA (read only) 4 06-11-2004 12:41 AM

 
Latest Threads
- by Charan
- by Sujeet
- by reddick
- by clinton
- by Who

Advertisement




All times are GMT +5.5. The time now is 12:07 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2