public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Brett Hunt" <huntbs@lycos.com>
To: gcc-help@gcc.gnu.org, "Antonio Fontinha" <amfontinha@eid.pt>
Subject: Re: question
Date: Thu, 13 Jun 2002 16:17:00 -0000	[thread overview]
Message-ID: <BAKCFPGEICEDGDAA@mailcity.com> (raw)

Add a '-v' without quotes to your compile command to see more information.
Like: gcc -v -o hello hello.c

Is the linker trying to link the same file twice? Have you inadvertently reused a name that exists in the libraries that are getting linked in?

Try the -v and see if that gives you more information that helps.
---
brett
-----------------------------------
"To the world you may be just
   somebody.
 But to somebody you may be the
   world."
-----------------------------------


On Thu, 13 Jun 2002 18:53:00  
 Antonio Fontinha wrote:
>Hi, I'm using gcc 3.0.4.
>
>And I'm getting the following error:
>
>TOIOSInterface.o: In function
>`UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()':
>/export/home/eid/miguel/TO Transfer Agent/TOIOSInterface.cpp:63: multiple
>definition of `UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()'
>TOIOSInterface.o:/export/home/eid/miguel/TO Transfer
>Agent/TOIOSInterface.cpp:63: first defined here
>TOIOSInterface.o: In function
>`UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()':
>/export/home/eid/miguel/TO Transfer Agent/TOIOSInterface.cpp:63: multiple
>definition of `UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()'
>TOIOSInterface.o:/export/home/eid/miguel/TO Transfer
>Agent/TOIOSInterface.cpp:63: first defined here
>collect2: ld returned 1 exit status
>make: *** [TOTransferAgent] Error 1
>
>
>What this error means?
>
>Isn't this error saying that I've a 1st definition and a 2nd definition in
>the same place? (TOIOSInterface.cpp:63)
>
>I can assure that there is only one
>`UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()' definition. But this
>error occurs.
>
>What's happening? gcc confused? 
>
>
>Thanks for your help, best regards:
> Miguel Fontinha
>
>
>
>P.S.: Is their any gcc switch to activate to give more error information?
>
>


_______________________________________________________
WIN a first class trip to Hawaii.  Live like the King of Rock and Roll
on the big Island. Enter Now!
http://r.lycos.com/r/sagel_mail/http://www.elvis.lycos.com/sweepstakes

             reply	other threads:[~2002-06-13 23:17 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-13 16:17 Brett Hunt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-29  9:03 Question Mo Alamili
2022-12-02  9:06 ` Question Mo Alamili
     [not found] <20200831201750.74266362@arch.localdomain>
     [not found] ` <20200903232726.ba28157e5ee86c0dbd76f723@wp.pl>
2020-09-04 22:49   ` Question, using gcc, forum tele
2020-09-04 23:44     ` Question tele
2014-10-07 13:57 Question Graziano Servizi
2014-10-12 12:54 ` Question David Hagood
2014-10-13  9:55   ` Question Jonathan Wakely
2014-07-21  8:51 question Graziano Servizi
2014-07-21  9:10 ` question Jonathan Wakely
2014-02-03 17:37 question Graziano Servizi
2014-02-03 17:53 ` question Ángel González
2014-02-04  8:11 ` question Jonathan Wakely
2005-10-29 21:02 Question Matias Trocki
2005-10-30  5:00 ` Question Ian Lance Taylor
2004-12-02 15:11 Question Roberto Ausas
2004-12-02 15:25 ` Question Leopold Palomo-Avellaneda
2004-12-02 15:36 ` Question Eljay Love-Jensen
2004-08-19 16:21 question balan
2004-08-19 16:27 ` question Eljay Love-Jensen
2002-06-13 10:54 question Antonio Fontinha
1999-12-15 11:06 question petar
1999-12-31 22:24 ` question petar
1999-10-18 10:03 Question Rui Pedro Fernandes
1999-10-31 13:57 ` Question Rui Pedro Fernandes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAKCFPGEICEDGDAA@mailcity.com \
    --to=huntbs@lycos.com \
    --cc=amfontinha@eid.pt \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).