delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/04/09:44:50

Message-Id: <3.0.5.32.19980304094635.007af100@pop.iquest.net>
Date: Wed, 04 Mar 1998 09:46:35 -0500
To: djgpp AT delorie DOT com
From: Ricki Lee King <rlking AT iquest DOT net>
Subject: Re: compile error
In-Reply-To: <Pine.SUN.3.91.980304103844.6541M-100000@is>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980303220712 DOT 007a9540 AT pop DOT iquest DOT net>
Mime-Version: 1.0

At 10:39 AM 3/4/98 +0200, you wrote:
>
>On Tue, 3 Mar 1998, Ricki Lee King wrote:
>
>>  Compiling: test.cpp
>>  no errors
>>  Creating: test.exe
>>  Error: c:/djgpp/lib\crt0.o(.data+0x92):crt0.s: undefined reference to
`main'
>>  Error: c:/djgpp/lib/libc.a(crt1.o)(.text+0x312):crt1.c: undefined
reference
>
>I cannot reproduce this problem (using the source you posted).  Please
>post the commands you used to compile and link the program.  Also, add
>-v to these commands and post everything GCC prints while
>compiling/linking.
>

i found the problem. i added rhide to my start menu in win95.
that seems to cause weird errors. i start and msdos window, then
cd to djgpp, then type "rhide", it works fine.


- Raw text -


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