www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/09/22:17:14

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cannot link at all
Date: Tue, 09 Sep 1997 18:56:21 -0400
Organization: Cornell University http://www.cornell.edu
Lines: 21
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <3415D414.EE9F1743@cornell.edu>
References: <34128F2A DOT 355A362E AT hol DOT gr>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0032.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Manolis Kefalas wrote:

> In RHIDE, I have problem building any exe file.
>
> copmile ends just fine
>
> while linking I get
>
> Creating: hello.exe
> Error: /djgpp/lib\crt0.o(.data+0x92):crt0.s: undefined reference to
> `main'
> Error: c:/djgpp/lib/libc.a(ctr1.o)(.text+0x312):crt1.c: undefined
> reference to `main'
> There were some errors
>
> and I am about to force my computer work with a hammer!

  just curious. is there a main function in your code?

  -- Sinan

- Raw text -


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