stdio.h: No such file or directory. file is missing during gcc complile.
I have looked at the other threads and found nothing
which pertains to my issue. I am using an older version of Debian 4.0 I cannot upgrade until I have a 2nd server running. here is my problem. I lost the 4.0 installation disks. During an apt-get install i did, I foolishly changed sources.list to other sources on the net which changed dependancies and removed needed packages, such as perlmagick, Crypt-SSLeay, aptitude, and possibly the glibc - ( my current glibc was changed to glic6) Since I have found my original 4.0 disk. restored the sources.list. ran an update. and restored many of the packages that were removed. ( a big lesson to me I will never do that again) here is a simple program: #include <stdio.h> when i run a gcc or i use cc compile I get this message: "stdio.h": No such file or directory found. Yes i know i missing the file stdio.h. I have looked in /usr/include /usr/lib nothing. apparently during my mistake the system installed the glibc6 and removed the "stdio.h" file and other dependancies. I would like to get back to where as was in terms of the glibc version i had. Aptitude currently shows the following packages that are available to me Code:
DEB1:/etc# aptitude search glibc the question is which one should i install, to get my "stdio.h" back again? would i have to uninstall glibc6 first? uninstalling glibc6 displays a big warning Is there a way I can download just the "stdio.h" files? Please someone advise all options. thx |
You are better off grabbing the package. It is under the glibc package; on my system, it is under glibc-headers.
Cheers, Josh |
yes i gathered that it is glibc - but which version out of the many should i install
Code:
glibc-2.3.6-2 - |
glibc-2.3.6-2
|
Debian 4 Etch, stdio.h : The package name is libc6-dev .
debian/pool/main/g/glibc/ https://www.securehost.com/mirror/de.../main/g/glibc/ > libc6-dev_2.3.6.ds1-13etch9+b1_i386.deb https://www.securehost.com/mirror/de...h9+b1_i386.deb |
All times are GMT -5. The time now is 03:47 AM. |