delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/24/20:10:25

From: "Greg" <gbratton AT bellsouth DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Lib problems
Date: 24 Jul 1999 18:30:08 -0500
Organization: Newscene Public Access Usenet News Service (http://www.newscene.com/)
Lines: 11
Message-ID: <1%rm3.46910$vw1.1775754@newscene.newscene.com>
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

Hi
    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'

anyone have any ideas?
thanks in advance


- Raw text -


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