strange error of "multiple definition"

Jim Wilson wilson@tuliptree.org
Mon Jun 9 18:05:00 GMT 2003


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




More information about the Gcc mailing list