Hi Valeriy, Here is the output when I run root with a high debug level. I seems that rootcint produces a tempory file named fileLfKPgwlinkdef.h and inside this file a link to guitest.C is required but for some reason something has been corrupted in the path (The number 1 replace linux, see the blue text) and a warning appears. Then i think the dictionary is not produced correctly that why guitest() is not recognized. Is there a way to know where and how the temporary linkdef file is produced? I checked my environment and evething looks fine (see the end of the message).. root [0] gDebug = 5 (const int)5 root [1] .L guitest.C++ Info in <TPluginManager::FindHandler>: did not find plugin for class TSystem and uri /home/data/snil/linux/root/tutorials/.Info in <TUnixSystem::ACLiC>: creating shared library /home/data/snil/linux/root/tutorials/./guitest_C.so Info in <ACLiC>: creating the dictionary files Info in <ACLiC>: rootcint -f /home/data/snil/linux/root/tutorials/./filejw4P0O.cxx -c -p -I$ROOTSYS/include -I/home/data/snil/linux/root/include /home/data/snil/linux/root/tutorials/./guitest.C /home/data/snil/linux/root/tutorials/./fileLfKPgwlinkdef.h Warning: link requested for unknown srcfile /home/data/snil/1/root/tutorials/./guitest.C FILE:fileLfKPgwlinkdef.h LINE:8 Info in <ACLiC>: compiling the dictionary and script files Info in <ACLiC>: cd /home/data/snil/linux/root/tutorials/. ; g++ -c -O -pipe -Wall -W -Woverloaded-virtual -fPIC -Iinclude -D_REENTRANT -I$ROOTSYS/include -I/home/data/snil/linux/root/include -I/home/data/snil/linux/root/tutorials/. -I/home/data/snil/linux/root/tutorials /home/data/snil/linux/root/tutorials/./filejw4P0O.cxx ; g++ /home/data/snil/linux/root/tutorials/./filejw4P0O.o -shared -Wl,-soname,guitest_C.so -O -o /home/data/snil/linux/root/tutorials/./guitest_C.so In file included from /home/data/snil/linux/root/tutorials/filejw4P0O.h:29, from /home/data/snil/linux/root/tutorials/./filejw4P0O.cxx:13: /home/data/snil/linux/root/tutorials/./guitest.C: In method `void TestSliders::DoText (const char *)': /home/data/snil/linux/root/tutorials/./guitest.C:1624: warning: unused parameter `const char *text' Info in <ACLiC>: loading the shared library root [2] guitest() Error: Function guitest() is not defined in current scope FILE:(tmpfile) LINE:1 Possible candidates are... filename line:size busy function type and name *** Interpreter error recovered *** cheers, Olivier here is my environment from the shell .. all path look ok Last precision: the root files are on a unix disk mounted via nfs .. I don't know if that matters .. gEnv->Print() Unix.*.Root.DynamicPath: .:/home/data/snil/linux/root/lib [User] Unix.*.Root.MacroPath: .:/home/data/snil2/macros [User] echo $ROOTSYS /home/data/snil/linux/root echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:.:/home/data/snil/linux/bin:/home/data/snil/linux/rw01/bin:/home/data/snil/linux/qt/bin:/home/data/snil/linux/root/bin echo $LD_LIBRARY_PATH .:/home/data/snil/linux/lib:/home/data/snil/linux/qt/lib:/home/data/snil/linux/root/lib ========================================================== Olivier Stézowski Institut de Physique Nucléaire de Lyon Universite Claude Bernard - Lyon I 43, boulevard du 11 Novembre 1918 F-69622 Villeurbanne Cedex FRANCE Téléphone : 04-72-43-10-58 Fax : 04-72-43-14-52 e-mail : stezow@ipnl.in2p3.fr web : http://lyoinfo.in2p3.fr/matnuc/accueil.html ==========================================================
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET