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

Re: gcc header problem



On Thu, Jul 18, 2002 at 03:39:38PM +0000, Sahin Haciguliyev wrote:
> 
> Thakns Petro ,
> but myC.c is a simple file :
>  #include <stdio.h>
>   int main(){
>   printf("Hello world");
>   return 1;
>  }

Why "return 1"? You should return 0 (successful completion), 1 generally
signifies that some random error has occurred.

> and stdio.h I have just installed it....
 
Try reinstalling. As myC.c is just a simple "hello world", then there is
probably a problem with the libraries or the compiler.
 
> On Thu, 18 Jul 2002, Pietro Cagnoni wrote:
> 
> > Sahin Haciguliyev wrote:
> > > Hi,
> > > when I'm comping C file 
> > > there header error..
> > > Can smbd help me?
> > > 
> > >
> > 
> > the problem could be in myC.c. it's quite strange that the error 
> > happens on line 1, though. post myC.c for more info.
> > 
> > otherwise, /usr/include/stdio.h could be corrupted. check it with an 
> > editor.
> > 
> > hope this helps.
> > 
> > pietro.
> > 
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > 
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Seneca
seneca-cunningham@rogers.com


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: