www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/07/12:21:33

Message-Id: <m0ytaRy-000S4UC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Adam Burakowski <coolbook AT netrover DOT com>, djgpp AT delorie DOT com
Date: Tue, 7 Jul 1998 13:25:56 +0000
MIME-Version: 1.0
Subject: Re: Problem, help?
In-reply-to: <35A22C13.D87318DA@netrover.com>

Adam Burakowski <coolbook AT netrover DOT com> wrote:

> Alright, I'm very new at DJGPP and so far all I've managed to
> do is that Hello World first program thing, that managed to compile
> and run, but now I tried to set Mode13h, using a tutorial from
> The Game Programming Megasite, I followed their instructions
> and when I try and run it(it compiles with no errors)from Rhide
> it it gives me these 2 errors:
> Error:c:/djgpp/lib\crt0.o(.data+0x92):crt0.s: undefined reference to
> 'main'
> Error:c:/djgpp/lib\libc.a(crt1.o)(.text+0x312):crt1.c: undefined
> reference to 'main'

Looks like your program doesn't contain the "main" function, all C 
programs need it. Is that correct?


SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019