question

Antonio Fontinha amfontinha@eid.pt
Thu Jun 13 10:54:00 GMT 2002


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?



More information about the Gcc-help mailing list