www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/10/12:11:48

Message-ID: <004f01bd649b$4cb54ae0$3c4f939b@mcpherss.army.mil>
Reply-To: "Scott McPherson" <mcpherson AT bigfoot DOT com>
From: "Scott McPherson" <mcpherson AT bigfoot DOT com>
To: <djgpp AT delorie DOT com>
Subject: RHIDE linking the same object file twice
Date: Fri, 10 Apr 1998 11:11:16 -0500

Greetings All,

I found the following Email extracts in the mail archives at the
Delorie web site.  I have been having similar problems, for which
I can find no cause.

I verified that the "linking" command line echoed by RHIDE is
attempting to link the SAME object file TWICE.

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
>> when I link it I get the error messages:
>> mainprog.c(a number)    Error: multiple definition of
<function>
>> somefunc.c(same number) Error: first defined here

>> This happens with all functions (even main) in 'mainprog.c'.
>> What should I do to make it work?


> Try using the command line. If that works watch
> the status window in RHIDE wen you link and see
> if RHIDE is including an object file twice.
> It's happened to me. Why? still trying to find out.
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -

TIA for any/all who can help,

Scott McPherson




- Raw text -


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