www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/14/12:35:58

Date: Tue, 14 Nov 2000 19:32:47 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Mike <hoofenit AT ris DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Linking Problem
In-Reply-To: <t10li6pqk7kk4c@corp.supernews.com>
Message-ID: <Pine.SUN.3.91.1001114193207.13683A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 13 Nov 2000, Mike wrote:

> I am installing and using for the first time RHIDE v 1.4 on Windows ME and I
> am having some problems getting my code to run. It compiles OK but I can't
> link it. Is this a ME problem? What must I do to get any program running?
> 
> Code saved as myfirst.cpp
> 
> 
> #include <iostream>
> 
> int main()
> {
>   cout <<"Hello\n";
>   return 0;
> }
> 
> error messages are:
>   myfirst.o: in fucntion main;
>  myfirst.cpp(.text+0X10): multiple definition of main;
> "                                        " first defined here

This doesn't sound like an ME problem, at least not one of those we heard 
here until now.

- Raw text -


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