[Ubuntu-BR] problemas no gcc

Leonardo Oliveira automatocelular em gmail.com
Terça Fevereiro 26 03:41:47 UTC 2008


Tente fazer o seguinte:

i) Coloque o seu cd de instalação do Ubuntu no drive de cd;
ii) Vá até o terminal e digite os seguintes comandos:
  sudo apt-cdrom add
  sudo apt-get install build-essential

Quando o sistema lhe fizer perguntas, responda que sim (Yes)


On 2/24/08, Onilton Maciel <oniltonmaciel em gmail.com> wrote:
> Helton, você pode dizer qual o comando que você está digitando no terminal e
> se puder, mostrar seu código hello world?
>
> On Sun, Feb 24, 2008 at 2:31 PM, Helton maia <helton.maia2 em gmail.com> wrote:
>
> > Ola lista,
> > Acabei de instalar o ubuntu 7.10, anjuta, gcc...
> > e resolvi fazer um teste de compilaçao num simples "hello word" e estou
> > obtendo o seguinte erro!
> >
> > ex1.c:1:19: erro: stdio.h: Arquivo ou diretório inexistente
> > ex1.c: In function 'main':
> > ex1.c:5: warning: incompatible implicit declaration of built-in function
> > 'printf'
> >
> > Alguma sugestao?
> >
> > att,Helton.
> > --
> > Interessado em aprender mais sobre o Ubuntu em português?
> > http://wiki.ubuntu-br.org/ComeceAqui  -
> > ubuntu-br mailing list
> > ubuntu-br em lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> >
> --
> Interessado em aprender mais sobre o Ubuntu em português?
> http://wiki.ubuntu-br.org/ComeceAqui  -
> ubuntu-br mailing list
> ubuntu-br em lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>




More information about the ubuntu-br mailing list