>does it make sense to use the same libNEATRawData_LinkDef.h file >for generating each ***Dict.C? >Maybe the pb comes with this! No it does not. By doing so, you generate several time the same dictionary (hence the duplicate symbols). However, it is perfectly okay to have one dictionary for many classes. So the case where you omit the 2nd dictionary is good way to go. Cheers, Philippe. -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of François Mauger Sent: Friday, February 14, 2003 10:02 AM To: Rene Brun Cc: ROOT talk Subject: Re: [ROOT] [root 3.03/09 and alphacxx6] multiply defined while building .so Ok rene, There is two points: first: if I do what you suggested, no change. second: if I don't include TNEAT***_Dict.o in the share libs (as in your G3D sample), the building of libXXX.so is ok! note also the way I built ***Dict.C: Generating dictionary TNEATNemo3Detector_Dict.C... rootcint -f ./dict/TNEATNemo3Detector_Dict.C -c \ -I./include -I./dict \ TNEATNemo3Detector.h \ libNEATRawData_LinkDef.h <-------------------- | Generating dictionary TNEATObject_Dict.C... | rootcint -f ./dict/TNEATObject_Dict.C -c \ | the same file -I./include -I./dict \ | with the whole TNEATObject.h \ | list of #pragma libNEATRawData_LinkDef.h <-------------------- ... does it make sense to use the same libNEATRawData_LinkDef.h file for generating each ***Dict.C? Maybe the pb comes with this! frc -- François Mauger Laboratoire de Physique Corpusculaire de Caen et Université de Caen ENSICAEN/ISMRA - 6, Boulevard du Marechal Juin, 14050 CAEN Cedex, FRANCE e-mail: mauger@caelav.in2p3.fr tel.: (0/+33) 2 31 45 25 12 fax: (0/+33) 2 31 45 25 49 internet: http://www.physique.unicaen.fr/~fmauger/
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET