delorie.com/archives/browse.cgi | search |
From: | "Greg" <gbratton AT bellsouth DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Lib problems |
Date: | 24 Jul 1999 21:20:17 -0500 |
Organization: | Newscene Public Access Usenet News Service (http://www.newscene.com/) |
Lines: | 26 |
Message-ID: | <Uuum3.47483$vw1.1792568@newscene.newscene.com> |
References: | <1%rm3.46910$vw1 DOT 1775754 AT newscene DOT newscene DOT com> <379a5bf5 DOT 767543 AT newsserver DOT cc DOT monash DOT edu DOT au> |
X-Newsreader: | Microsoft Outlook Express 4.72.3155.0 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3155.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Davin McCall wrote in message <379a5bf5 DOT 767543 AT newsserver DOT cc DOT monash DOT edu DOT au>... >Sounds like you don't have a "main" function in your code. the problem is in the lib files, not my code > >Davin. > > >On 24 Jul 1999 18:30:08 -0500, "Greg" <gbratton AT bellsouth DOT net> wrote: > >> I just started with c++. I tried to compile my hello world program and i >>get these errors: >> >>c:/djgpp/lib/crt0.o(.dara+0xc2):crt0.s: undefined reference to 'main' >>c:/djgpp/lib/libc.a(crt1.o(.text+0x446:crt1.c: undefined reference to 'main' > >__________________________________________________________ > *** davmac - sharkin'!! davmac AT iname DOT com *** >my programming page: http://yoyo.cc.monash.edu.au/~davmac/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |