Mail Archives: djgpp/1998/07/07/12:21:33
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 -