Hi Olivier,
Thank you for reporting this problem.
It causes by the fact that ACLiC needs to ask rootcint to preprocess the
header file with the compiler's preprocessor. This means that the linkdef
file which contains the name of your file:
/home/data/snil/linux/root/tutorials/./guitest.C
is preprocessed. And since you are compiling using gcc on linux, the word
'linux' is a macro which is
replaced by its value (in your case the value is '1'.
I do not have a good solution yet.
However the work around is not use the word 'linux' is your directory name.
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 11:15 AM
To: Philippe Canal; roottalk@pcroot.cern.ch
Subject: Re: [ROOT] ACliC and ROOT4.0
Hi Philippe
I don't have any directory like /home/data/snil/1 on my machine .. the
closest ones
are /home/data/snil/linux/rw01 or /home/data/snil/linux/netscape7.1 .. the
first one being in my path ..
I guest there might be some problems during the building of the linkdef
temporary file ..
but I cannot figure out where this file is created in the sources ..
What is very strange is if I move the guitest.C in a directory that is not
under the ROOT directory,
the macro works properly .. of course I can read/write/execute on any
directories ..
cheers,
Olivier
==========================================================
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