RE: [ROOT] ACliC and ROOT4.0

From: Philippe Canal (pcanal@fnal.gov)
Date: Thu Jun 10 2004 - 17:55:58 MEST


Hi,

One problem is that for some reason the linkdef file contains
    /home/data/snil/1/root/tutorials/./guitest.C
instead of
   /home/data/snil/linux/root/tutorials/./guitest.C

Do you have anything like '/home/data/snil/1' on your disk?

Cheers,
Philippe.

   -----Original Message-----
  From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Olivier Stezowski
  Sent: Thursday, June 10, 2004 7:59 AM
  To: Valeriy Onuchin
  Cc: roottalk@pcroot.cern.ch
  Subject: Re: [ROOT] ACliC and ROOT4.0




  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/inclu
de  -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/. ;
++ -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/l
inux/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,guit
est_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:/hom
e/data/snil/linux/rw01/bin:/home/data/snil/linux/qt/bin:/home/data/snil/linu
x/root/bin
echo $LD_LIBRARY_PATH
.:/home/data/snil/linux/lib:/home/data/snil/linux/qt/lib:/home/data/snil/lin
ux/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