delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/17/07:09:19

Date: Thu, 17 Apr 1997 13:45:16 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Claudiu Balciza <cbalciza AT mail DOT cccis DOT ro>
cc: djgpp AT delorie DOT com
Subject: Re: error messages list?
In-Reply-To: <M.041797.124543.58@Default>
Message-ID: <Pine.SUN.3.91.970417134237.19232C-100000@is>
MIME-Version: 1.0

On Thu, 17 Apr 1997, Claudiu Balciza wrote:

> compiling one of my BC++ programs under DJGPP I get
> 
> crt0.s(.data+0x92): undefined reference to `main'
> crt1.c(.text+0x303): undefined reference to `main'
> 
> what does that means?

It means what it says: the compiler couldn't find the `main' function in 
the files that you submitted for compilation.  This is probably due to 
incorrect command line that you used.  Please download the file 
v2/readme.1st from the same place you get DJGPP, and read the "Getting 
started" section there.  It explains how to compile and link programs 
with DJGPP.

> where can I get from the error messages list?

There is no such list.  Most of the messages are self-explaining.

- Raw text -


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