delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/09/01:12:19

Sender: nate AT cartsys DOT com
Message-ID: <37858484.1F01179F@cartsys.com>
Date: Thu, 08 Jul 1999 22:11:32 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: error
References: <19990709032357 DOT EAFU112692 DOT mta2-rme AT 203-96-106-97 DOT dialup DOT xtra DOT co DOT nz>
Reply-To: djgpp AT delorie DOT com

Aliatair DOT S AT xtra DOT co DOT nz wrote:
> 
> hello, I heve installed djgpp and run gxx and get the error
> d:/djgpp/lib/crt0.o(data+0xc2:):crt0.s: undefined reference to 'main'
> d:/djgpp/lib/libc.a(crt1.o)(.text+0x446):crt1.c:undefined reference to
> 'main'
> I am using gcc281b,gpp281b,objc281b,lgp2811p,make377b versions of djgpp,and
> have looked through help files etc but no reference to this, if someone
> knows about and could tell me would be appreciated.

Has your program got a `main' function?
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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