delorie.com/archives/browse.cgi | search |
From: | DavMac AT iname DOT com (Davin McCall) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Lib problems |
Date: | Sun, 25 Jul 1999 00:36:37 GMT |
Organization: | Monash Uni |
Lines: | 16 |
Distribution: | world |
Message-ID: | <379a5bf5.767543@newsserver.cc.monash.edu.au> |
References: | <1%rm3.46910$vw1 DOT 1775754 AT newscene DOT newscene DOT com> |
NNTP-Posting-Host: | damcc5.halls.monash.edu.au |
X-Trace: | towncrier.cc.monash.edu.au 932862946 18059 130.194.198.138 (25 Jul 1999 00:35:46 GMT) |
X-Complaints-To: | abuse AT monash DOT edu DOT au |
NNTP-Posting-Date: | 25 Jul 1999 00:35:46 GMT |
X-Newsreader: | Forte Free Agent 1.1/32.230 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Sounds like you don't have a "main" function in your 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 |