LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2005, 07:27 AM   #1
Darwish
Member
 
Registered: Jun 2005
Location: Egypt (North Africa)
Distribution: Debian Sarge
Posts: 35

Rep: Reputation: 15
Unhappy C: stdio.h mistakenly removed, how to restore ?


I have mistakenly removed the stdio.h header file, Iam using gcc 4.0.. How to restore this file plzz
I think i could solve the problem by reinstalling the C standard library, but i really dunno its name from Debian packages/Ubuntu packages websites

Thanks in advance
--
Distro: Ubuntu 5.10
 
Old 10-16-2005, 08:12 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
In (standard) Debian you can do:

apt-get remove libc6-dev
apt-get install libc6-dev

to fix it.
 
Old 10-16-2005, 09:10 AM   #3
Darwish
Member
 
Registered: Jun 2005
Location: Egypt (North Africa)
Distribution: Debian Sarge
Posts: 35

Original Poster
Rep: Reputation: 15
It worked at last, all my header files are back.. thx

By the way, Debian and ubuntu packages are the same, just the ubuntu packages page has more polish than the Debian packages page...
 
Old 10-17-2005, 12:56 AM   #4
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Why use the root account to develope / compile? :s
 
  


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
TROUBLE: MISTAKENLY CHANGED PERMISSION OF OS . how to recover mallinath Linux - Newbie 4 06-29-2005 03:21 PM
Mandrake 9.0 mistakenly reports that packages are installed rose_bud4201 Linux - Software 1 02-14-2004 01:28 AM
iostream, or stdio? jpc82 Programming 7 11-05-2003 08:10 PM
input from stdio raven Programming 2 05-12-2002 10:52 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:24 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
Open Source Consulting | Domain Registration