RE: use binomial.C with Aclic

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Mon, 11 Apr 2005 21:57:32 -0500


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 - 04:58:25 MEST

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