This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strange error of "multiple definition"


gaetan.conti@epfl.ch wrote:
CltChkTools.o: In function `fillCand':
CltChkTools.c:29: multiple definition of `fillCand'
client2.o:CltChkTools.c:29: first defined here

There isn't enough info here to determine the problem. Please see the intsructions for reporting bugs in the gcc manual.


However, it appears that you have one function defined in two different files, or perhaps even one file compiled and linked twice, which will not work. So this appears to be a problem with your sources rather than a gcc problem.

Jim



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]