> I noticed that get_data() is defined in the header file (timer.h) and I
> believe it is therefore being included in multiple compilation units (one
> for each NewtonKrylov subclass), triggering the above multiple definition
> error.

But it's inline in my copy of the library, which should prevent the error. Is 
it not in your case?

But the error message appears to be subtler than that because it references 
the same symbol name twice (once as "in function XXX" and then the name of the 
duplicated symbol, which has the same name). Can you do the following:
  for i in *.o ; do nm $i | grep Timer | grep data ; done
and send the output.

Also, what's the compiler you use?

W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to