Mail Archives: djgpp/1997/04/17/07:09:19
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 -