From: "RyanR" Newsgroups: comp.os.msdos.djgpp Subject: Newbie question Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Sun, 4 Jun 2000 01:42:07 -0400 NNTP-Posting-Host: 216.3.3.195 X-Trace: newsfeed.slurp.net 960096883 216.3.3.195 (Sun, 04 Jun 2000 00:34:43 CDT) NNTP-Posting-Date: Sun, 04 Jun 2000 00:34:43 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Im just recently got djgpp, and I compiled a program just fine, but when i tried to make it I got some errors in the Rhide message window: Error: c:/djgpp/lib/crt0.o(.data+0xc2):crt0.s: undefined reference to 'main' Error: c:/djgpp/lib/libc.a(crt1.o)(.text+0x44e):crt1.c: undefined referense to 'main' Error: collect2: ld returned 1 exit status There were some errors Now of the files mentioned i can only find crt0.o and libc.a in the lib dir, am i missing somthing? The code is fine i believe, its copyed out of a book and should work. Also I have been able to make other programs, simpler ones (eg hello world) but not this one.