Re: use binomial.C with Aclic

From: Danek Kotlinski <danek.kotlinski_at_psi.ch>
Date: Tue, 12 Apr 2005 10:30:03 +0200


Thanks Philippe,
Sorry, it was my mistake.
At cern on the lxplus the default ROOT
version is very old (3.10) and I am using a newer one (4.02). After fixing the $path the RIGHT way:
set path = ($ROOTSYS/bin $path)
instead of the WRONG:
set path = ($path $ROOTSYS/bin)
the problem is gone and I can use binomial.C with ACLIC. Sorry again! I know, it is in the documentation.

best regards,
Danek

Philippe Canal wrote:
> Hi Danek,
>
> This is unusual (except if you had space in the directory or file name).
> To debug this problem we should take a closer look at what ACLiC uses
> to call rootcint in your case. For example you could use
> gDebug = 5;
> .x binomial.C+
> and see what the rootcint command line is.
>
> Cheers,
> Philippe.
>
> PS. If the command is clipped, you could also try gDebug = 7
> but it will leave behind the temporary files.
>
> -----Original Message-----
> From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
> On Behalf Of Danek Kotlinski
> Sent: Monday, April 11, 2005 7:35 AM
> To: roottalk_at_pcroot.cern.ch
> Subject: [ROOT] use binomial.C with Aclic
>
> Hello,
> I seem to have problems using ACLIC. I can run interpreted scripts
> (e.g. binomial.C) and also link stanalone programs with ROOT
> libraries (e.g. programs from $ROOTSYS/test).
> But when I try to compile scripts within ROOT I always get errors.
> For example with binomial.C :
> --------------------------------------------------------------------------
> root [6] .x binomial.C+
> Info in <TUnixSystem::ACLiC>: creating shared library
> /afs/psi.ch/user/d/danek/public/ROOT/root402/tutorials/./binomial_C.so
> Usage: rootcint [-v][-v0-4] [-f] [out.cxx] [-c] file1.h[+][-][!]
> file2.h[+][-][!]...[LinkDef.h]
> Only one verbose flag is authorized (one of -v, -v0, -v1, -v2, -v3, -v4)
> and must be bofore the -f flags
> For more extensive help type: rootcint -h
> Error in <ACLiC>: Dictionary generation failed!
> Info in <ACLiC>: Invoking compiler to check macro's validity
> Info in <ACLiC>: The compiler has not found any problem with your macro.
> Probably your macro uses something rootcint can't parse.
> Check http://root.cern.ch/root/Cint.phtml?limitations for
> Cint's limitations.
> Error: Function binomial() is not defined in current scope FILE: LINE:0
> Possible candidates are...
> filename line:size busy function type and name
> *** Interpreter error recovered ***
> ----------------------------------------------------------------------------
> -----
>
> I am probably missing something simple in my ROOT setup.
> Maybe somebody has a hint?
>
> I am using ROOT 4.02/00 on Linux SLC3.
>
> Thanks,
> Danek
>

Received on Tue Apr 12 2005 - 10:30:15 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET