Re:Where is header Files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



yes, I see it's is a very, very strange thing! 

How did I do that?! Well, I just got this distribution from 03 CD's 
that came with the PCMaster magazine (a brazilian magazine) about 03 months 
ago. 
I just boot from CD 01 and followed installation steps. After some clicks; 
choosing keyboard, 
mouse, video etc, I got linux running in front of me.That's all I did, 
nothing more!!! 

After that, when I tried gcc to compile the simple "hello, world!" program, 
I got a 
series of errors messages saying, basically, I have no stdio.h, features.h 
etc. with 
definitions such printf..... 

As I said before, I can't found such headers files using mc in stdandard 
place as /usr/include and nowhere. mc just found a half dozen of header 
files (*.h) in other nonstandard places, but none of them was stdio.h, 
features.h and other essential headers files. 

I also tried 

apt-get install glibc 

using suchs CD's and system says I already have last glibc version 
installed! 

So gcc was installed among the system without (apparently) stdio.h, 
features.h etc be installed 
in /usr/include, /usr/lib or other standard places. 

I DID NOT DO ANYTHING ELSE BESIDE JUST INSTALL THE SYSTEM. 

This is really amazing, since Linux always come with a last version of gcc 
fully functional. 
I hope anyone can help me after this explanation! 

One more thing: 
besides http://rpmfind.net , where else can I get rpm's of gcc to 
Conectiva?! 

Thanks to everyone, 

> -----Mensagem original----- 
> De: Claudio Bley [ mailto:bley@xxxxxxxxxxxxxxxxxxx ] 
> Enviada em: segunda-feira, 17 de novembro de 2003 12:01 
> Para: calvesmit@xxxxxxxxx 
> Cc: gcc-help@xxxxxxxxxxx; calves@xxxxxxxxxxxxx 
> Assunto: Re: Where is header Files 
> 
> On Sun, Nov 16, 2003 at 08:42:58PM -0200, calvesmit@xxxxxxxxx wrote: 
> > I just installed Conectiva 9.0, a brazilian distribution of linux, and 
can't 
> > compile the simple "Hello, World!" program using gcc. 
> > The reason: It seems the system came without standard header files (very 
> > strange, I know :(, but it's right so!). 
> > I tried to find such files using mc and got no success (I did look for 
in 
> > hole directory tree). 
> > So my question: Where can I get and how can I install the standard 
header 
> > files?! 
> 
> If I remember correctly Conectiva is a RPM based system and you should 
just 
> install the appropriate glibc-devel RPM from one of your install 
> CDs. Of course, you can also have a look at http://rpmfind.net and 
> search for such a RPM for your distribution/system. 
> 
> But, the really strange thing is that it seems you've installed GCC 
> without having the C headers installed. How did you do that? This 
> should be virtually impossible when using a package management system. 
> 
> -- 
> Claudio Bley ASCII ribbon campaign (") 
> Debian GNU/Linux user - against HTML email X 
> http://www.cs.uni-magdeburg.de/~bley/ vCards / \ 
> 
>---------- 

_________________________________________________________
Voce quer um iGMail protegido contra vírus e spams? 
Clique aqui: http://www.igmailseguro.ig.com.br
Ofertas imperdíveis! Link: http://www.americanas.com.br/ig/


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux